Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hos #290

pull jrmithdobbs wants to merge 1 commits into bitcoin:master from jrmithdobbs:ip-filter-rfc1918-rfc3927 changing 2 files +21 −6
  1. jrmithdobbs commented at 7:50 PM on June 2, 2011: contributor

    Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts.

    Pretty self explanatory I think. Fixes filtering of 172.16/12 and 169.254/16 which were missing and expands IsRoutable() to be more easily updated later as well as actually be used in ConnectSocket() instead of re-implementing logic that exists in the CAddress class.

  2. Fix rfc1918 and rfc3927 compliance for ignoring non-internet-routable hosts. 482cb65690
  3. jgarzik referenced this in commit 39105dac1b on Jun 5, 2011
  4. jgarzik merged this on Jun 5, 2011
  5. jgarzik closed this on Jun 5, 2011

  6. classesjack referenced this in commit 192852a31b on Jan 2, 2018
  7. cryptapus referenced this in commit 9d6cec1d44 on May 3, 2021
  8. rajarshimaitra referenced this in commit 17b3c62786 on Aug 5, 2021
  9. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-19 00:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me