427 Commits

Author SHA1 Message Date
Cole Brown
e5b3325eab Bump multiaddr dependencies 2018-12-04 17:51:34 -05:00
Cole Brown
8c3eb5dc1c gx publish 1.4.0 2018-12-04 17:46:38 -05:00
Cole Brown
7eb8e2dd26 gx publish 1.7.0 2018-12-04 17:45:58 -05:00
bigs
1879060a4f
Merge pull request #50 from multiformats/feat/unix-sockets
Add support for unix sockets
2018-12-04 10:31:14 -05:00
Cole Brown
a86fb2b318 Update docstring of DialArgs 2018-12-04 10:21:33 -05:00
Hector Sanjuan
0959afa0a5
Merge pull request #51 from multiformats/gx/1.6.7
gx publish 1.6.7
2018-12-03 18:28:24 +01:00
Hector Sanjuan
d925020f4e gx publish 1.6.7
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-12-03 18:26:38 +01:00
idk
0f1c1ba00d
remove garlic32 protocol 2018-11-30 22:48:29 -05:00
idk
684664541d
switch back to P_ONION and remove P_ONION2 alias 2018-11-30 20:09:02 -05:00
idk
a91caf054e
add both base64 and base32 addresses as separate protocols, remove port from addresses to be expressed as /tcp, etc. 2018-11-30 19:55:52 -05:00
Cole Brown
f03b69ca9b Add support for unix sockets 2018-11-30 19:40:21 -05:00
Steven Allen
ef212b5194
Merge pull request #49 from multiformats/feat/support-dns-in-DialArgs
Feat: support hostnames in DialArgs() function
2018-11-29 20:08:02 -08:00
Steven Allen
0523e08ac1
Merge pull request #88 from bigs/bug/varintsize
Fix bug in VarintSize
2018-11-29 16:16:22 -08:00
Steven Allen
11c75668d3 test: test all varints less than 2**16 againt VarintSize 2018-11-29 16:08:46 -08:00
Cole Brown
d462e342b7 Fix yet another bug in VarintSize, add test 2018-11-29 18:58:36 -05:00
Cole Brown
1a8ba0918f Fix bug in VarintSize
:100644 100644 79ebe2f b0ced77 M	varint.go
2018-11-29 18:13:54 -05:00
Hector Sanjuan
3504e962a0 Mention that we do not support unix* return values in DialArgs.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-28 16:17:16 +01:00
idk
789405bd40
remove log 2018-11-27 18:17:51 -05:00
idk
2a21023817
Merge branch 'master' of https://github.com/multiformats/go-multiaddr 2018-11-27 13:04:45 -05:00
idk
fb27f336e7
better test message for failure to convert x to y 2018-11-27 12:58:26 -05:00
idk
01a9048ee5
re-enable the tests 2018-11-27 12:53:46 -05:00
idk
4619045f0d
finish switching to base64 addresses for garlic-routed requests. This is so we can have both the base64 and base32 keys. 2018-11-26 05:03:37 -05:00
idk
54ddf83b00
Switch to using base64 i2p addresses to facilitate transport 2018-11-26 05:03:37 -05:00
idk
58c18c3ad6
Switch to using base64 i2p addresses to facilitate transport 2018-11-25 15:27:27 -05:00
Hector Sanjuan
0bd5f16380 Feat: support hostnames in DialArgs() function
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-11-22 19:53:48 +01:00
idk
cf7ed7c1ad
created onionv3 and garlic multiaddrs 2018-11-15 04:11:07 -05:00
Steven Allen
f0af403363 Merge branch 'gx/update-fzw9j3' 2018-11-02 16:06:54 -07:00
Steven Allen
ec8630b6b7 Merge branch 'gx/update-fzw9j3' 2018-11-02 16:06:47 -07:00
Steven Allen
f83281a88b gx publish 1.6.6 2018-11-02 15:54:36 -07:00
Steven Allen
8dc8c4a64c gx publish 1.3.6 2018-11-02 15:54:33 -07:00
Steven Allen
5b127b903d gx publish 1.6.5 2018-10-24 09:18:40 -07:00
Steven Allen
e67650e7e3
Merge pull request #48 from multiformats/fix/is-ip-starts-with
make the Is* commands only check if addrs start with
2018-10-24 09:18:23 -07:00
Steven Allen
a7b912ae71 make the Is* commands only check if addrs start with
It turns out we *were* relying on this. Furthermore, this is generally more
useful (especially given ip6zones).
2018-10-24 09:09:25 -07:00
Steven Allen
4ae0494b14 gx publish 1.6.4 2018-10-24 08:57:56 -07:00
vyzo
86e5d145c9
Merge pull request #42 from mwnx/ip6z
Add "ip6%" multiaddr support (IPv6 with zone ID)
2018-10-21 17:56:03 +03:00
mwnx
a1defdc5aa Fully implement ip6zone support
- Add `FromIPAndZone` function (complementing the `FromIP` function).
- Handle zones when parsing `net.Addr`s.
- In `DialArgs`, return an error if an `ip6zone` is prefixed to an `ip4`
  or to another `ip6zone`.

Note: I was not able to add a listen test (in TestListenAddrs) for
`/zone/.../ip6/...` since there is no link-local address which is
guaranteed to exist on all systems.
2018-10-21 14:46:38 +02:00
Steven Allen
3ce601caf3
Merge pull request #46 from multiformats/feat/private-net
private networks and utility functions
2018-10-18 14:15:32 +01:00
Steven Allen
115f321e21 test to make sure we only consider addresses that *start* with IP addresses
(would have failed with ValueForProtocol)
2018-10-18 14:00:36 +01:00
Steven Allen
0425819f0e use the new multiaddr utilities in IsPublicAddr/IsPrivateAddr
This now means that addresses must *start* with the an IP address, we won't just
pull one out of the middle.
2018-10-18 13:59:24 +01:00
vyzo
7b43167897 fix typo 2018-10-18 13:43:48 +01:00
vyzo
c2b139aab4 test all known unroutable address ranges in IsPublicAddr 2018-10-18 13:43:48 +01:00
vyzo
2945cfc2e6 add IsPrivateAddr 2018-10-18 13:43:48 +01:00
vyzo
49e7bdea20 add test 2018-10-18 13:43:48 +01:00
vyzo
984c8ac58b private networks and IsPublicAddr 2018-10-18 13:43:48 +01:00
Steven Allen
2503d99944
Merge pull request #47 from multiformats/feat/use-mulitaddr-parsers
use multiaddr parsers
2018-10-18 12:56:35 +01:00
Steven Allen
d2517ac772 gx: update go-multiaddr 2018-10-18 11:21:41 +01:00
Steven Allen
393301199b gx publish 1.3.5 2018-10-18 11:19:28 +01:00
Steven Allen
9be5ad695f test DialArgs changes 2018-10-18 11:18:58 +01:00
Steven Allen
50cc0e47d1 robust DialArgs 2018-10-18 11:14:05 +01:00
Steven Allen
d237243b4a
Merge pull request #84 from multiformats/fix/shortcut-split-component
shortcut split on components
2018-10-18 10:43:51 +01:00