-
-
Notifications
You must be signed in to change notification settings - Fork 662
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
mods to dns_list_base plugin #2422
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is_dumb lacks specificity. DNSBLs make plenty of choices that others consider dumb. Please choose a better name for your variable, like lookback_is_rejected
or some such.
All this patch submission drama is way harder than I thought. |
Why isn't codecov covering this file? |
Two reasons:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Intermittent test failure:
|
This shouldn't have happened. Will get to it once I have time. Obviously, you'll need a working DNS resolver that isn't banned by spamhaus & hostkarma. |
Update: I've been seeing some random test failures (mostly related to npm) in branches other than this one. The errors I've seen in this PR though are specific to DNSBLs:
|
…d flag * plugin.lookback_is_rejected flag allows "dumb" dnsbls to function (those that answer on silence testpoint) * a fix to testpoint check routine: don't assume only 1 record was returned, check them all.
5e3a372
to
adc547c
Compare
Have updated the code and squashed the commits. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks better, and tests are passing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Some dnsbl (hostkarma.junkemailfilter.com) return so-called blocked status on queries to 127.0.0.1. This change allows such zones to continue functioning.
In your dnsbl plugin:
This will need a proper per-zone solution some day.
Checklist: