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 sed IPv4 regex for loading plain lists #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ProBackup-nl
Copy link
Contributor

@ProBackup-nl ProBackup-nl commented Dec 26, 2021

0.0.0.0/8 is reserved according to IANA since 1981. 0.x.x.x IPv4 addresses shouldn't be routable and not end up in an RBL.

Though https://sigs.interserver.net/iprbl.txt contains 0.0.0.0 resulting in "ipset v6.29: Error in line 1: Null-valued element, cannot be stored in a hash type of set".

This fix excludes 0.x.x.x addresses to end up in ipset lists.

0.0.0.0/8 is reserved according to IANA since 1981. 0.x.x.x IPv4 addresses shouldn't be routable and not end up in an RBL. Though https://sigs.interserver.net/iprbl.txt contains 0.0.0.0 resulting in "ipset v6.29: Error in line 1: Null-valued element, cannot be stored in a hash type of set". This fix excludes 0.x.x.x addresses to end up in ipset lists.
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

Successfully merging this pull request may close these issues.

1 participant