- 01 Oct, 2018 1 commit
-
-
Steven Allen authored
-
- 30 Sep, 2018 1 commit
-
-
Steven Allen authored
* fe80::1 is not a loopback address * ::ffff:127.* probably is (IPv4-mapped IPv6)
-
- 08 Mar, 2018 2 commits
-
-
Steven Allen authored
Helps readers understand what they're looking at.
-
Steven Allen authored
Decapsulate currently allocates a lot and this appears to have been causing some issues (hard to tell, pprof is misbehaving). Note: I removed the TODO as this function now *only* checks if we're dealing with a loopback address. Not sure what `OverIPLoopback` was supposed to mean. Note 2: Decapsulate actually checked if the IP6 loopback addresses appeared *anywhere* in the multiadder. However, as we weren't doing this for IP4, I decided to simplify this and only check prefixes.
-
- 26 Mar, 2017 1 commit
-
-
Jack Kleeman authored
Currently IsIPLoopback returns true for any multiaddr starting ip4/127, but only returns true on ip6 addresses that exactly equal ip6/::1. So /ip6/::1/tcp/4001 for example does not return true. Instead we should check whether ip6/::1 is contained in the multiaddr, and to do that I simply decapsulated and checked to see if the result is different. It seems this was not caught by tests as none are present specifically for this function.
-
- 17 Mar, 2017 1 commit
-
-
Hector Sanjuan authored
License: MIT Signed-off-by: Hector Sanjuan <code@hector.link>
-
- 19 Sep, 2016 1 commit
-
-
jbenet authored
-
- 27 Apr, 2016 1 commit
-
-
Jeromy authored
-
- 20 Jan, 2015 1 commit
-
-
Juan Batiz-Benet authored
-
- 12 Jan, 2015 2 commits
-
-
Juan Batiz-Benet authored
-
Juan Batiz-Benet authored
-
- 11 Jan, 2015 1 commit
-
-
Jeromy authored
-
- 20 Nov, 2014 1 commit
-
-
Juan Batiz-Benet authored
-
- 05 Nov, 2014 1 commit
-
-
Juan Batiz-Benet authored
-