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

Create new 'error' category #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

felmoltor
Copy link

@felmoltor felmoltor commented Aug 29, 2024

The 'error' classification returned by zen.spamhaus.org and cbl.abuseat.org should not be considered the IP as being 'listed' in the 'unknown' category. This leads to many false positives.

I created the 'error' category for the DSN responses '127.255.255.252', '127.255.255.254', and '127.255.255.255' as described here: https://www.spamhaus.org/faqs/domain-blocklist/#291:~:text=The%20following%20special%20codes%20indicate%20an%20error%20condition

I modified the logic of process_results to prevent these entries form being added as "denylisted" entries.

Also removed the provider 'cbl.abuseat.org' as it behaves as zen.spamhaus.org and it's redundant. This also prevents us from having to define a custom provider cloning the logic of ZenProvider class.

@felmoltor felmoltor changed the title Create new 'error' classification Create new 'error' category Aug 29, 2024
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