Log of /spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
Parent Directory
|
Revision Log
Revision
882020 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Nov 19 00:51:09 2009 UTC
(8 days, 15 hours ago)
by
mmartinec
File length: 29673 byte(s)
Diff to
previous 831320
(
colored)
Bug 6238: introducing the 'time_limit' configuration option,
with associated code changes in various places
Revision
831320 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 30 15:09:04 2009 UTC
(4 weeks ago)
by
mmartinec
File length: 29644 byte(s)
Diff to
previous 818443
(
colored)
Bug 6142: add a config parameter skip_uribl_checks to the
URIDNSBL plugin, cross-document it with skip_rbl_checks.
Revision
818443 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 24 10:57:17 2009 UTC
(2 months ago)
by
jm
File length: 28973 byte(s)
Diff to
previous 728782
(
colored)
bug 6205: add test to ensure that all config settings are correctly handled when switching between users; add more config setting type metadata to enable those tests to work; and fix URIDetail to store config on the {conf} object, not on the plugin.
Revision
728782 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Dec 22 21:23:50 2008 UTC
(11 months ago)
by
jm
File length: 28908 byte(s)
Diff to
previous 721524
(
colored)
bug 6020: allow urifullnsrhsbl: variant of urinsrhsbl which looks up the full hostname from the NS record in the DNSBL, not just the domain
Revision
720211 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Nov 24 15:35:56 2008 UTC
(12 months ago)
by
jm
File length: 25439 byte(s)
Diff to
previous 646805
(
colored)
bug 6020: add 'urinsrhsbl' and 'urinsrhssub' rule types to URIDNSBL plugin, allowing listing of NS record strings in URIBL blocklists
Revision
646805 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 10 13:59:09 2008 UTC
(19 months, 2 weeks ago)
by
jm
File length: 21992 byte(s)
Diff to
previous 596095
(
colored)
bug 5820: add 'uridnssub' keyword for URIDNSBL plugin; fix URIBL_SBL to use this keyword, and thereby produce a marginal gain in efficiency for lookups on zen.spamhaus.org
Revision
596095 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Nov 18 16:11:20 2007 UTC
(2 years ago)
by
jm
File length: 20394 byte(s)
Diff to
previous 585292
(
colored)
bug 5711: allow 'mass-check --reuse' without '--net' to reuse net-rule hits, and output mass-check results for scoreset 1; while lines that are not reusable use set 0. Also, fix a few tests to use 'tflags net' if they use network lookups (including calls to lookup_ptr().) Fix nightly mass-checks on the zone to use --reuse to gain this.
Revision
585292 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 17 00:04:48 2007 UTC
(2 years, 1 month ago)
by
mmartinec
File length: 20272 byte(s)
Diff to
previous 583551
(
colored)
AsyncLoop: replaces sharp clipping on a lower timeout value with a
smooth quadratic transition curve from an initial to a minimal timeout
value; updated documentation accordingly. Adjust actual timeout value
to timer resolution (ceiling) if Time::HiRes module is not available.
Conf+AsyncLoop: to a configuration variable rbl_timeout add two optional
parameters: a minimal timeout value, and a zone name if a timeout
specification should only apply to the specified zone or its subdomains;
update documentation accordingly.
Revision
583551 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Oct 10 17:33:04 2007 UTC
(2 years, 1 month ago)
by
mmartinec
File length: 20238 byte(s)
Diff to
previous 582903
(
colored)
AsyncLoop: rename (new) parameter "timeout" to "timeout_initial", add "timeout_min", document both
Revision
582903 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Oct 8 17:33:16 2007 UTC
(2 years, 1 month ago)
by
mmartinec
File length: 20230 byte(s)
Diff to
previous 580055
(
colored)
let URIDNSBL and ASN tolerate undefined DNS response; optimize a potentially common case in AsyncLoop
Revision
571893 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Sep 1 23:16:38 2007 UTC
(2 years, 2 months ago)
by
mmartinec
File length: 20015 byte(s)
Diff to
previous 567684
(
colored)
Removed hundred of assignments of an empty list or hash to a
just created empty array or hash. Explanation: operator 'my' brings
to life scalars with an undefined value, lists with no elements,
and hashes with no keys. The following assignments are thus redundant:
my $x=undef; my @x=(); my %x=(); Interestingly noone does the first,
but there were about 100 cases of second and third. Even as a stylistic
measure I don't think it counts, as it was not used systematically,
and only in minority of cases.
Revision
527859 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 12 09:42:35 2007 UTC
(2 years, 7 months ago)
by
jm
File length: 19856 byte(s)
Diff to
previous 527786
(
colored)
add a deprecation message for 'uridnsbl_timeout'; since it was a public config setting in released code, there's a good chance users are using it, and removing it entirely would result in lint errors for them
Revision
527786 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 12 06:25:50 2007 UTC
(2 years, 7 months ago)
by
dos
File length: 19554 byte(s)
Diff to
previous 527740
(
colored)
bug 5384: uridnsbl interaction with skip_rbl_checks in 3.2.0, differing behavior from 3.1.8
- remove the uridnsbl_timeout option, it wasn't being used ever since the
M::SA::AsyncLoop code was implemented
- move the "query_launch_time" from M::SA::Dns into M::SA::AsyncLoop and have
it set whenever $async->start_lookup is called so that code dealing with DNS
timeouts isn't scattered all over the place (and via undocumented methods)
- add a method to M::SA::AsyncLoop to get the start time of the last DNS query
so that M::SA::Dns can (continue to) take care of timing out DNS queries
Revision
527740 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 12 01:28:35 2007 UTC
(2 years, 7 months ago)
by
dos
File length: 19793 byte(s)
Diff to
previous 518664
(
colored)
bug 5410: config options that cause DNS lookups should be privileged
(and timeouts should require admin privs)
The following config options (all offered by plugins) can now only be used in
user_pref files (or equivalent) if allow_user_rules is enabled:
MIMEHeader.pm: setting => 'mimeheader',
ReplaceTags.pm: setting => 'replace_tag',
ReplaceTags.pm: setting => 'replace_pre',
ReplaceTags.pm: setting => 'replace_inter',
ReplaceTags.pm: setting => 'replace_post',
ReplaceTags.pm: setting => 'replace_rules',
ReplaceTags.pm: setting => 'replace_start',
ReplaceTags.pm: setting => 'replace_end',
URIDetail.pm: setting => 'uri_detail',
URIDNSBL.pm: setting => 'uridnsbl',
URIDNSBL.pm: setting => 'urirhsbl',
URIDNSBL.pm: setting => 'urirhssub',
The following config options (all offered by plugins) can now only be used in
site config files:
ASN.pm: setting => 'asn_lookup',
DCC.pm: setting => 'dcc_timeout',
DKIM.pm: setting => 'dkim_timeout',
DomainKeys.pm: setting => 'domainkeys_timeout',
Pyzor.pm: setting => 'pyzor_timeout',
Razor2.pm: setting => 'razor_timeout',
Razor2.pm: setting => 'razor_config',
SPF.pm: setting => 'spf_timeout',
URIDNSBL.pm: setting => 'uridnsbl_timeout',
URIDNSBL.pm: setting => 'uridnsbl_max_domains',
The following config option can now only be used in site config files:
Conf.pm: setting => 'rbl_timeout',
Revision
518664 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Mar 15 15:34:08 2007 UTC
(2 years, 8 months ago)
by
dos
File length: 19589 byte(s)
Diff to
previous 439873
(
colored)
prevent plugins from permanently disabling their dns tests, dns may become available again with re-testing of dns availability
Revision
439873 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Sep 3 23:36:38 2006 UTC
(3 years, 2 months ago)
by
felicity
File length: 19405 byte(s)
Diff to
previous 433917
(
colored)
try to simplify URIDNSBL a bit -- just use PMS to store data instead of some hash w/ multiple excess reference pointers, etc.
Revision
394348 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 15 18:40:50 2006 UTC
(3 years, 7 months ago)
by
jm
File length: 20153 byte(s)
Diff to
previous 392950
(
colored)
bug 4860: consolidate DNS-lookup async-rule infrastructure, increasing code-sharing between URIDNSBL.pm and Dns.pm and allowing 19% speedup
Revision
392480 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Apr 8 04:58:12 2006 UTC
(3 years, 7 months ago)
by
sidney
File length: 23293 byte(s)
Diff to
previous 391177
(
colored)
bug 4859: plug memory leak. Even though it was released when child ended it limited the practical max number of children
Revision
391177 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 3 23:33:53 2006 UTC
(3 years, 7 months ago)
by
jm
File length: 23253 byte(s)
Diff to
previous 215895
(
colored)
bug 3109: simple short-circuiting of 'definite ham' or 'definite spam' messages based on individual short-circuit rules using the 'shortcircuit' setting, by Dallas Engelken <dallase /at/ nmgi.com>
Revision
171210 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat May 21 14:05:06 2005 UTC
(4 years, 6 months ago)
by
sidney
File length: 22532 byte(s)
Diff to
previous 170124
(
colored)
bug 4260 randomize udp port used for dns background queries and hash on packet id and query info to prevent collisions with bogus replies
Revision
170124 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat May 14 05:58:18 2005 UTC
(4 years, 6 months ago)
by
felicity
File length: 22521 byte(s)
Diff to
previous 169570
(
colored)
put domain information in the hash returned by get_uri_detail_list(). this means the URIBL plugin can be simplified to look at the already parsed domains.
Revision
169564 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed May 11 02:42:49 2005 UTC
(4 years, 6 months ago)
by
felicity
File length: 22665 byte(s)
Diff to
previous 169520
(
colored)
even more URI parsing work. add a new get_uri_detail_list() which includes the parsed uris in the uri_detail hash. base get_uri_list off of that, etc.
Revision
169520 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 10 20:46:26 2005 UTC
(4 years, 6 months ago)
by
felicity
File length: 22739 byte(s)
Diff to
previous 169506
(
colored)
no point in calling extract_message_metadata from the URIBL plugin since the calling function is called from extract_... also, setup for HTML URI canonification when metadata->html hasn't been set yet.
Revision
169506 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue May 10 18:36:02 2005 UTC
(4 years, 6 months ago)
by
felicity
File length: 22854 byte(s)
Diff to
previous 169334
(
colored)
move the URI canonification around some more. get_uri_list() now just puts together canonfied parsed and html uri lists, html canonification happens in extract_metadata, extract_metadata only runs once now and is called multiple times whenever canonfied html uris are needed. modified around t/uri_html.t to not need a temp file, just run through get_uri_list() internally and not call a full SA, and avoid the whole debug output reading bit.
Revision
164890 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Apr 26 21:36:34 2005 UTC
(4 years, 7 months ago)
by
felicity
File length: 23019 byte(s)
Diff to
previous 162095
(
colored)
bug 4201: uri_to_domain() should not skip mailto URIs. the intended fix was to skip mailto in URIBL checks, but just do that in the URIDNSBL plugin instead.
Revision
161778 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Mon Apr 18 17:40:09 2005 UTC
(4 years, 7 months ago)
by
jm
File length: 23063 byte(s)
Diff to
previous 161157
(
colored)
bug 4260: DNS code rewritten to use a custom single-socket event-based model instead of using the one provided by Net::DNS. This will reduce the number of file descriptors consumed by SA (bugs 2352, 3387, 3924), and additionally avoids bug 3997, where Net::DNS mixes up DNS response packets, resulting in false positives.
Revision
161157 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 13 04:49:06 2005 UTC
(4 years, 7 months ago)
by
jm
File length: 24272 byte(s)
Diff to
previous 161148
(
colored)
bug 3997: second half of fix ;) check the ID values of response packets to make sure they match the appropriate query, before we use the data in a response.
Revision
161148 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 13 03:02:59 2005 UTC
(4 years, 7 months ago)
by
jm
File length: 23559 byte(s)
Diff to
previous 160513
(
colored)
bug 3997: possible solution to the DNS answers getting mixed up bug, by using our own ID counter for DNS packets to avoid it getting reused between search() and bgsend().
Revision
160273 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Apr 6 09:53:21 2005 UTC
(4 years, 7 months ago)
by
quinlan
File length: 23175 byte(s)
Diff to
previous 158898
(
colored)
bug 4242: don't lookup private or invalid IPs, if NS record is an A record
then just look it up directly in DNSBLs
bug 4013: add IP address host checking to urirhsbl and urirhssub
Revision
157209 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Mar 12 02:41:26 2005 UTC
(4 years, 8 months ago)
by
felicity
File length: 22124 byte(s)
Diff to
previous 155151
(
colored)
change the HTML parsed URI code again to be a bit more concise, restore 3.0 API, etc. change URIBL ranking and an eval test to use the new layout.
Revision
155151 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Feb 24 03:25:58 2005 UTC
(4 years, 9 months ago)
by
felicity
File length: 22222 byte(s)
Diff to
previous 149177
(
colored)
bug 3976: rework how uris are parsed out of the message. the urirbl plugin now orders the domains to query, based on where in the message the uri was found. separate out anchor uris which have text between open and close and those that don't. removed uri html metadata since there is now a different/better way to get it.
Revision
125719 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Jan 20 05:56:47 2005 UTC
(4 years, 10 months ago)
by
quinlan
File length: 19570 byte(s)
Diff to
previous 57557
(
colored)
bug 3997: workarounds for DNS question/answer crossover issue that try to
limit number of crossovers that will incorrectly trigger another rule by
looking more carefully at answers in cases where it seems most likely
Revision
57557 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 13 03:42:10 2004 UTC
(5 years ago)
by
felicity
File length: 19127 byte(s)
Diff to
previous 56728
(
colored)
remove the various dbg() functions in almost all of the modules and just use a typeglob to point at the main dbg() that they all call. this removes the extra overhead of having excess functions and function calls for dbg() which is called a bajillion times. also, make the plugins use the documented M::SA::Plugin::dbg(), which is also a typeglob so the plugins point the same place for now...
Revision
56728 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sat Nov 6 04:45:45 2004 UTC
(5 years ago)
by
felicity
File length: 19136 byte(s)
Diff to
previous 56017
(
colored)
bug 3869: instead of using parse_config, put the configuration directly in the Conf array. to do so, changed around some internal functions to be a little more modular, etc.
Revision
54021 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Oct 7 22:21:13 2004 UTC
(5 years, 1 month ago)
by
felicity
File length: 18992 byte(s)
Diff to
previous 53900
(
colored)
bug 3734: oops, changing the URIBL rules from header to body, but forgot to update the docs.
Revision
47438 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Sep 29 01:30:45 2004 UTC
(5 years, 1 month ago)
by
felicity
File length: 18964 byte(s)
Diff to
previous 47380
(
colored)
bug 3734: URIBL rules should be body evals not header evals -- we get the URIs out of the body not the header. it impacts the autolearning head/body points thing, and is otherwise just annoyingly misplaced.
Revision
47380 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Tue Sep 28 03:38:44 2004 UTC
(5 years, 2 months ago)
by
felicity
File length: 19009 byte(s)
Diff to
previous 43564
(
colored)
bug 3805: added uridnsbl_skip_domain to allow specification of domains which should not be checked via the URIDNSBL plugin
Revision
43564 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Thu Sep 9 03:40:18 2004 UTC
(5 years, 2 months ago)
by
jm
File length: 18333 byte(s)
Diff to
previous 22225
(
colored)
bug 3759: plugins loaded from the site config path were not getting their parse_config() methods called; fix by invalidating certain method caches when a new plugin is registered. also, INHIBIT_CALLBACKS as a return type wasn't working, because it forces plugins to only support numeric return types. not good. removed; implementors should use the alternative $self->inhibit_further_callbacks() API. also removed a redundant sort() call
Revision
22197 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Sun Jun 27 12:59:51 2004 UTC
(5 years, 5 months ago)
by
striker
File length: 18363 byte(s)
Diff to
previous 21406
(
colored)
* incubator/spamassassin/
* spamassassin/
Move spamassassin from the incubator to top level.
Revision
9571 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Wed Mar 17 17:32:54 2004 UTC
(5 years, 8 months ago)
by
parker
Original Path:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
File length: 13492 byte(s)
Diff to
previous 9520
(
colored)
Bug 2912 - Allow test order to be controlled by "priority" setting
Added ability to assign priority to tests (ignored for RBL tests).
Meta tests must have a priority of at least 500. Moved all (except
starting of RBL queries) test methods into priority loop. Optimized
test methods to make up for speed lost by running methods multiple
times for each message. Set AWL test to priority 1000 to make sure
that it runs after all other tests have been run.
Revision
7002 -
(
view)
(
annotate)
-
[select for diffs]
Modified
Fri Mar 5 02:07:24 2004 UTC
(5 years, 8 months ago)
by
jm
Original Path:
incubator/spamassassin/trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm
File length: 13614 byte(s)
Diff to
previous 7001
(
colored)
a few changes from last night I hadn't checked in yet:
- Fixed fd leak in URIBL code, which was pretty serious after a big mass-check
run. my bad!
- URIBL code now correctly disables itself if mass-check --rules is used and it
is not selected; previously it did not.
- added more paranoia to envelope-from retrieval, to deal with the case where
an intermediate relay added an X-Envelope-From header (for example) then
relayed into a mailing list, which in turn used a new env-from. old code
would have picked up X-Envelope-From, even though that was no longer
appropriate. New code checks for Received headers before that hdr, and
ignores it if they exist.
- SPF now working well; only FPs I now get are from ISPs who've set up over-
permissive SPF records (*cough BlueYonder.co.uk cough*) and from a couple
of domains with buggy SPF records.
- added another (infrequent) Received line format (I think it's TIS -- now NAI
-- fwtk).
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.