68 Commits

Author SHA1 Message Date
Ian Preston
e32e9cd0f0 Implemented byte decoder for onion addresses. Corrected onion bit size. 2016-08-09 19:21:28 +01:00
Juan Benet
f3dff105e4 Merge pull request #25 from whyrusleeping/cleanup-new-bytes
cleanup panics and make NewFromBytes faster
2016-05-09 21:22:45 -04:00
Jeromy
5734f44c3d go vet 2016-05-04 14:03:16 -07:00
Jeromy
ad12fa30fe respond to CR feedback 2016-05-04 13:26:50 -07:00
Jeromy
91752fd546 a bit more cleanup, use a bytes.Buffer instead of appending bytes 2016-05-04 12:11:09 -07:00
Jeromy
9e13209db1 fix underflow error found by fuzzing 2016-05-04 10:51:57 -07:00
Jeromy
256afede6e use newer go versions 2016-05-02 09:17:03 -07:00
Jeromy
9c4a0baf6d cleanup panics and make NewFromBytes faster 2016-04-29 14:16:41 -07:00
Juan Benet
41d1117052 Merge pull request #16 from whyrusleeping/feat/modular
Feat/modular
2016-01-19 21:28:14 -05:00
Jeromy
ae64eb994b rewrite value for protocols and add more tests 2016-01-18 00:35:47 -08:00
Jeromy
a581da3f8f add method to lookup values in a multiaddr 2016-01-17 05:14:38 -08:00
Jeromy
b185168cd2 modularize multiaddr protocols 2016-01-17 01:28:18 -08:00
Juan Benet
dd8f16c47c Merge pull request #13 from david415/support-tor-onion
Add Tor .onion address support and unit test cases
2015-09-25 20:09:07 -04:00
David Stainton
24ecf94c70 Add more multiaddr tests for onions 2015-09-26 01:40:26 +02:00
David Stainton
3bc1e2e8c3 Onions are 80 bits 2015-09-26 01:36:31 +02:00
David Stainton
fca4278010 Ensure port is above minimum port number for onions 2015-09-26 01:35:58 +02:00
David Stainton
d30c844a21 Merge branch 'support-tor-onion' of github.com:david415/go-multiaddr into support-tor-onion
Conflicts:
	codec.go
	multiaddr_test.go
2015-08-31 03:24:03 +02:00
David Stainton
0e7ae0d2ee Renamed tor to onion and added embedded port field 2015-08-31 03:19:47 +02:00
Leif Ryge
75a10eef9b more strict validation of .onion addresses 2015-08-29 20:22:48 +00:00
David Stainton
ed310561bd Add Tor .onion address support and unit test cases 2015-08-29 19:48:07 +02:00
Juan Batiz-Benet
c13f11bbfe varint-prefixed mvariable sized addrs 2015-01-20 14:16:49 -08:00
Juan Batiz-Benet
94d7488d07 -1.2 2015-01-20 12:19:57 -08:00
Juan Batiz-Benet
03f8fd4a9e race tests 2015-01-20 11:57:14 -08:00
Juan Batiz-Benet
f529ec7884 added http, https, and ipfs protocols 2015-01-17 21:12:54 -08:00
Juan Batiz-Benet
0d7b54ba43 err correction 2015-01-09 05:57:03 -08:00
Juan Batiz-Benet
32d9d68b64 ProtocolsWithString 2015-01-09 05:51:16 -08:00
Juan Batiz-Benet
17f4666d01 Protocols now value 2015-01-09 05:37:39 -08:00
Juan Batiz-Benet
ed277d56f8 better errs, and test parsing 2015-01-09 05:30:33 -08:00
Juan Batiz-Benet
99cf3edc71 separated into subrepo 2014-11-19 13:53:08 -08:00
Juan Batiz-Benet
1e1562564d added utp support to net/ 2014-11-19 13:24:03 -08:00
Juan Batiz-Benet
59f6cfc921 implement varints + add utp, udt 2014-11-19 13:02:06 -08:00
Juan Batiz-Benet
62a88e015e faster encapsulation + join 2014-11-05 02:30:53 -08:00
Juan Batiz-Benet
9d04132166 Split + Join 2014-11-05 02:20:27 -08:00
Juan Batiz-Benet
5b8fc748ca IP unspecified addrs 2014-11-05 02:06:28 -08:00
Juan Batiz-Benet
f05346f34e hide-loopback in tool 2014-11-05 01:47:13 -08:00
Juan Batiz-Benet
20cc417a53 added ipv6 link-local loopback 2014-11-05 01:47:02 -08:00
Juan Batiz-Benet
4489dfa8c5 net: added InterfaceMultiaddrs 2014-11-05 00:38:21 -08:00
Juan Batiz-Benet
bb34b84e84 Cast and Loopback 2014-11-05 00:04:30 -08:00
Juan Batiz-Benet
5f35e6d949 multiaddr conversion tool 2014-11-04 23:51:11 -08:00
Juan Batiz-Benet
4a5dcd3a4d Split: added split method 2014-11-04 23:20:17 -08:00
Juan Batiz-Benet
d43f6afdd9 removed url from readme 2014-10-11 03:30:15 -07:00
Juan Batiz-Benet
68a20675cb Merge pull request #10 from jbenet/net
net subpackage
2014-10-11 03:01:36 -07:00
Juan Batiz-Benet
a104069971 added travis.yml 2014-10-11 02:30:03 -07:00
Juan Batiz-Benet
d169b2f21d tests: Dial + Listen 2014-10-11 02:28:34 -07:00
Juan Batiz-Benet
83543fff5d basic net package (no tests yet)
Implements:
- Conn
- Dial, Dialer
- Listen, Listener
2014-10-11 01:23:55 -07:00
Juan Batiz-Benet
7d1a12d59b documentation 2014-10-11 01:23:37 -07:00
Juan Batiz-Benet
01c7b7934d moved net stuff into subpkg 2014-10-11 00:50:55 -07:00
Juan Batiz-Benet
2a572df05c ignore trailing slashes 2014-10-10 20:40:51 -07:00
Juan Batiz-Benet
351b5d0f14 ToNetAddr + tests. 2014-10-10 20:31:19 -07:00
Juan Batiz-Benet
1ec9436b1d docs 2014-10-06 04:05:20 -07:00