Commit Graph

2090 Commits

Author SHA1 Message Date
Jared Johnson
cf0d87610c Make GeoIP headers optional 2014-11-13 11:13:15 -06:00
Jared Johnson
d22396c298 Add headers with GeoIP data 2014-11-13 11:13:15 -06:00
Jared Johnson
da3ed5ebbf Fix missing $self 2014-11-13 11:13:15 -06:00
Jared Johnson
462e974d1e leave register() if neither geoip module loads 2014-11-13 11:13:15 -06:00
Matt Simerson
7ba86cb5a2 Merge pull request #148 from jaredj/sub-semicolons
Remove extraneous semicolons
2014-11-11 15:27:27 -08:00
Jared Johnson
0bc5bfccfb Put back a non-extraneous semicolon 2014-11-11 17:08:06 -06:00
Jared Johnson
3ffee33d33 Remove extraneous semicolons
They confuse my editor
2014-11-11 16:59:40 -06:00
Jared Johnson
4feccf8f95 Merge pull request #146 from msimerson/geoip
Geoip: include a script to update GeoIP DBs
2014-11-11 15:15:09 -06:00
Matt Simerson
84db310736 geoip: don't run ASN tests if ASN db didn't load 2014-11-11 02:02:21 -05:00
Matt Simerson
03e7ef722c geoip: skip lookups for localhost 2014-11-11 01:49:46 -05:00
Matt Simerson
3acc6dd3d9 updated MANIFEST with new bin/ file 2014-11-10 16:29:59 -08:00
Matt Simerson
4acf8602bd update docs with geoip_asn note addition 2014-11-10 13:32:28 -08:00
Matt Simerson
cff651507f add maxmax DB fetch script to bin/ 2014-11-10 12:51:08 -08:00
Matt Simerson
dbccb0a63b Merge pull request #145 from jaredj/greylist-exclude-files
Support postgrey-style greylist exclude files
2014-11-06 16:46:03 -08:00
Jared Johnson
bd47d60304 Add test files 2014-11-06 17:08:21 -06:00
Jared Johnson
2655e7b452 Add tests for exclude files 2014-11-06 17:02:27 -06:00
Jared Johnson
7fb80f35ab Fix some broken variable names 2014-11-06 16:23:29 -06:00
Jared Johnson
81b55eb1ac Support postgrey-style greylist exclusion files
Not yet tested
2014-11-06 16:21:10 -06:00
Jared Johnson
a957776190 Merge pull request #142 from msimerson/travis
halve the time spent on CI testing
2014-11-06 14:08:45 -06:00
Jared Johnson
ae0a8dd4dd Merge pull request #143 from msimerson/base
Base: consistent DNS handling
2014-11-06 13:40:20 -06:00
Matt Simerson
924dbfe5de async_resolver: suppress test warning when
Net::DNS::Async not installed.
2014-11-06 11:15:18 -08:00
Matt Simerson
38d5523b35 Base: consistent DNS handling 2014-11-06 11:15:18 -08:00
Jared Johnson
cd79bff78e Merge pull request #139 from msimerson/geoip
geoip: add GeoIP2 and ASN support
2014-11-06 11:53:04 -06:00
Matt Simerson
586832bf11 halve the time spent on CI testing 2014-11-05 14:42:53 -08:00
Matt Simerson
149063d37f base: removed redundant code from is_ipv6 2014-11-05 14:31:44 -08:00
Matt Simerson
954fa45f2d added call to ->set_asn 2014-11-05 14:30:23 -08:00
Matt Simerson
54abd60239 strip off AS prefix 2014-11-05 14:30:23 -08:00
Matt Simerson
f2eda74074 ASN lookups now work 2014-11-05 14:30:22 -08:00
Matt Simerson
4eba2a39bc remove unused var 2014-11-05 14:30:22 -08:00
Matt Simerson
c61dbb5734 added GeoIP2 support, partial ASN support 2014-11-05 14:30:22 -08:00
Matt Simerson
9862cdc042 geoip: simplify the get/set data bits 2014-11-05 14:30:22 -08:00
Matt Simerson
1abfd152f2 Merge pull request #137 from msimerson/test-limit
allow testing a single plugin
2014-11-04 14:43:18 -08:00
Matt Simerson
e911dba564 Merge pull request #138 from msimerson/typo
correct spelling of deprecated
2014-11-04 12:51:56 -08:00
Matt Simerson
4a4a5d047e correct spelling of deprecated 2014-11-04 12:50:39 -08:00
Matt Simerson
92648b7198 allow testing a single plugin 2014-11-04 12:49:15 -08:00
Matt Simerson
733c724d77 Merge pull request #136 from jaredj/master
Add RFC link
2014-11-03 14:16:08 -08:00
Jared Johnson
289c5b2ca6 Add RFC link 2014-11-03 16:14:51 -06:00
Matt Simerson
0d149f0381 Merge pull request #135 from jaredj/consolidate_exclusions
Consolidate greylist exclusions into exclude()
2014-10-28 12:50:51 -07:00
Jared Johnson
b5d6c2e4c8 Add tests 2014-10-28 14:38:15 -05:00
Jared Johnson
e9400cc085 Add missing $self and explicit return 2014-10-28 14:37:56 -05:00
Jared Johnson
179d6427fc Consolidate greylist exclusions into exclude()
This makes for an easily overridden method for excluding hosts from greylisting with custom rules
2014-10-27 17:24:06 -05:00
Matt Simerson
76c2e5b030 Merge pull request #130 from msimerson/master
address: added tests for Address::canonify
2014-10-11 21:00:38 -07:00
Jared Johnson
0db996d8df Merge pull request #133 from msimerson/greylisting
patch from Carlos Canau
2014-10-03 01:02:38 -05:00
Matt Simerson
4c314eb642 patch from Carlos Canau <Carlos@Canau.COM> 2014-10-02 15:25:57 -07:00
Matt Simerson
7576e64f70 Address: renamed $domain/$domain_re (clearer)
and added a couple more tests
2014-09-22 10:33:15 -07:00
Matt Simerson
2aaedbb445 address: added tests for canonify 2014-09-21 16:52:30 -07:00
Matt Simerson
3273abb25e Merge pull request #128 from flimzy/spelification
Correct some spellification.
2014-09-19 17:08:18 -07:00
Jonathan Hall
374dbfdd35 Correct some spellification. 2014-09-19 19:06:48 -05:00
Matt Simerson
5c72cd23e2 Merge pull request #127 from jaredj/test_config_dir
Clearer config_dir() tests
2014-09-18 16:13:12 -07:00
Jared Johnson
7969c632aa Clearer config_dir() tests 2014-09-18 16:52:32 -05:00