1. 08 Mar, 2018 1 commit
    • Steven Allen's avatar
      Make the IP loopback check faster · 9d1c543b
      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.
      9d1c543b
  2. 26 Jan, 2018 1 commit
  3. 25 Jan, 2018 1 commit
  4. 20 Jan, 2018 1 commit
  5. 04 Dec, 2017 1 commit
  6. 13 Aug, 2017 2 commits
  7. 11 Jul, 2017 2 commits
  8. 28 Mar, 2017 2 commits
  9. 26 Mar, 2017 1 commit
    • Jack Kleeman's avatar
      Check for local ip6 addresses with more flexbility · ee4ab587
      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.
      ee4ab587
  10. 24 Mar, 2017 2 commits
  11. 21 Mar, 2017 1 commit
  12. 17 Mar, 2017 1 commit
  13. 02 Feb, 2017 2 commits
  14. 06 Jan, 2017 1 commit
  15. 26 Dec, 2016 1 commit
  16. 14 Oct, 2016 1 commit
  17. 11 Oct, 2016 2 commits
  18. 05 Oct, 2016 1 commit
  19. 04 Oct, 2016 1 commit
  20. 03 Oct, 2016 1 commit
  21. 30 Sep, 2016 1 commit
  22. 19 Sep, 2016 4 commits
  23. 16 Sep, 2016 2 commits
  24. 17 Aug, 2016 2 commits
  25. 10 Jun, 2016 1 commit
  26. 16 May, 2016 3 commits
  27. 15 May, 2016 1 commit