Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve whitelist regex: Reserved IP addresses #35

Open
cgi1 opened this issue Jul 17, 2017 · 0 comments
Open

Improve whitelist regex: Reserved IP addresses #35

cgi1 opened this issue Jul 17, 2017 · 0 comments

Comments

@cgi1
Copy link

cgi1 commented Jul 17, 2017

Reference

        self.reserved_address_ranges = [
            ['0.0.0.0', 8, 'Broadcast messages to the current (this)'],
            ['10.0.0.0', 8, 'Local communication in private network'],
            ['100.64.0.0', 10, 'carrier-grade NAT'],
            ['127.0.0.0', 8, 'Local Loopback'],
            ['169.254.0.0', 16, 'link-local addresses'],
            ['172.16.0.0', 12, 'Local communication in private network'],
            ['192.0.0.0', 24, 'IANA IPv4 Special Purpose Address Registry'],
            ['192.0.2.0', 24, ''],
            ['192.88.99.0', 24, ''],
            ['192.168.0.0', 16, 'Local communication in private network'],
            ['198.18.0.0', 15, ''],
            ['198.51.100.0', 24, ''],
            ['203.0.113.0', 24, ''],
            ['224.0.0.0', 4, 'Reserved for multicast'],
            ['240.0.0.0', 4, '']
        ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant