b14355ce2c
remove bash syntax that doesn't work on OpenWRT
Paweł Krawczyk
2016-02-11 15:42:17 +00:00
f408072a81
source the config file instead of reading line by line
Paweł Krawczyk
2016-01-18 18:17:58 +00:00
a93e2b606d
make Curl follow redirects (-L) Submitted by John
Paweł Krawczyk
2015-10-25 22:33:49 +00:00
9d483af7bb
load URLs from a config file
Pawel Krawczyk
2015-07-12 10:33:54 +01:00
f3443ae787
it's not Python... fix if syntax
Pawel Krawczyk
2015-07-11 08:24:38 +01:00
048ecb0e3b
add support for iblocklist.com
Pawel Krawczyk
2015-07-09 15:43:22 +01:00
f31e9e35eb
example from iptables
Pawel Krawczyk
2015-07-09 15:16:27 +01:00
75facf667a
add comment on formatting
Pawel Krawczyk
2015-07-09 14:54:42 +01:00
480715f44c
fix IP regexp to support CIDR subnets and split src,dst into two separate rules sent by Pierre Gaufillet
Pawel Krawczyk
2015-06-02 10:15:44 +01:00
75cee0fdfe
only log if "log" option given
Pawel Krawczyk
2015-05-18 15:50:15 +01:00
307f13539d
truncate set name to avoid iptables v1.4.7: Maximum prefix length 29 for --log-prefix manually handle compressed file only if no --compressed option was used
Pawel Krawczyk
2015-01-12 13:45:28 +00:00
c526a31504
do not display error messages from which
Pawel Krawczyk
2015-01-12 10:57:11 +00:00
ec88385487
fix compressed file name
Pawel Krawczyk
2015-01-09 13:04:33 +00:00
1d865b2111
make rules stateless to catch existing connections
Pawel Krawczyk
2015-01-07 10:13:25 +00:00
84567f1845
make rules stateless so that new blacklist entry works for existing connections as well
Pawel Krawczyk
2015-01-06 10:19:16 +00:00
3aa2bc36b8
use random name for temp set
Pawel Krawczyk
2014-12-31 17:39:05 +00:00
9a4ceabb01
only create set if it does not exist
Pawel Krawczyk
2014-12-31 17:34:16 +00:00
e974b64c5a
mute warning messages when set already exists
Pawel Krawczyk
2014-12-30 16:08:32 +00:00
2b119b9b22
initialize a manual-blacklist set
Pawel Krawczyk
2014-12-23 12:20:16 +00:00
751c0dc403
attempt to create the original set to ensure it exists before swap operation otherwise it will crash on the very first run on new systems
Pawel Krawczyk
2014-12-01 12:35:04 +00:00
1680830f91
do not destroy temp set on init
Pawel Krawczyk
2014-11-26 10:34:51 +00:00
642905d0ff
delete right file name
Pawel Krawczyk
2014-11-26 10:27:09 +00:00
20af55299c
wc bug and file name bug
Pawel Krawczyk
2014-11-26 10:25:03 +00:00
4e6da933fa
append, not overwrite
Pawel Krawczyk
2014-11-26 10:21:19 +00:00
9678b0d259
use ipset restore feature for faster loads
Pawel Krawczyk
2014-11-26 10:19:50 +00:00