sebres
f47fdf8918
code coverage: extend conditional test with direct replacement inside replaceTag (besides recursive sub tags)
9 years ago
sebres
e8203dabba
python 2.6 compatible test cases
9 years ago
sebres
9da7bb1068
meantime commit: code review, simplification, pythonization, etc. (test cases passed)
9 years ago
Alexander Koeppe
50e5a7e538
More beautifier tests
9 years ago
sebres
d65e37e93d
CIDR splitting functionality moved from filter to IPAddr;
...
meantime commit: code review, simplification, pythonization, etc. + test cases extended
9 years ago
Alexander Koeppe
1b21f21c22
CIDR represenation if IPAddr object is a network prefix
9 years ago
sebres
941a2b6c82
clean up unnecessarily resp. directly unused action properties, because they are ambiguous now;
...
implemented caching functionality for same substitutions inside replaceTag: very actual and extreme performance growth (up to 1000 times) for ban/unban because too slow substituteRecursiveTags by several tags and many includes, but totally unnecessary as long as parameters are not changing;
9 years ago
sebres
504e5ba6f2
actions support IPv6 now:
...
- introduced "conditional" sections, see for example `[Init?family=inet6]`;
- iptables-common and other iptables config(s) made IPv6 capable;
- several small code optimizations;
* all test cases passed (py3.x compatible);
9 years ago
sebres
75028585c0
test cases extended for verifying ipv4/ipv6, normalized pf-action with test case
9 years ago
Alexander Koeppe
ed2f3ef77d
improve PF action and make IPv6 aware
9 years ago
sebres
1a6450643d
partially cherry pick from branch 'multi-set', prepare for conditional config parameters logic:
...
- new readers logic (group some by multiple parameters 'set' -> 'multi-set';
- prevent to add 'known/' parameters twice (by merge section etc);
- test cases fixed;
# Conflicts:
# fail2ban/client/actionreader.py
9 years ago
sebres
43c0f3cdc4
test cases extended
9 years ago
sebres
2497b05abc
test cases preliminary extended;
9 years ago
sebres
25d6cf8dd2
fix suhosin_log in common paths - log files should be separated using "\n":
...
prevents to throw an error "File option must be 'head' or 'tail'", if jail suhosin will be enabled.
9 years ago
sebres
9b06c325e1
2nd wave: code review, simplification, pythonization, etc. (test cases passed)
9 years ago
Yaroslav Halchenko
c1a54974e9
RF/ENH: 1st wave of IPAddr pythonization - properties, logical statements, etc
...
# Conflicts:
# fail2ban/server/ipdns.py
9 years ago
Yaroslav Halchenko
5040c95bdb
DOC: stub for 0.10.0 release changelog
9 years ago
Alexander Koeppe
dbd7e347b1
new testcase to test beautifier code
9 years ago
Alexander Koeppe
4274ae89c6
Quite little adjustments on tests and return value
...
# Conflicts:
# fail2ban/server/ipdns.py
9 years ago
sebres
8cb4a3f59e
move DNTUtils, IPAddr related code to dedicated source file ipdns.py (also resolves some cyclic import references)
9 years ago
sebres
6985531e91
meantime commit: code review, simplification, pythonization, etc. (test cases passed)
9 years ago
Alexander Koeppe
9ede535a61
remove obsolete IP related code from DNSUtils class
...
# Conflicts:
# fail2ban/server/filter.py
9 years ago
Alexander Koeppe
ce196744d1
Update ChangeLog / THANKS entries
9 years ago
Alexander Koeppe
db9f3f738f
add ip6-loopback to default ignoreip statement
9 years ago
Alexander Koeppe
d125f882d4
explicitely treat join arguments as string in beautifier
9 years ago
sebres
afe1f73af2
meantime commit: code review, simplification, pythonization, etc. (test cases passed)
...
unnecessarily code aggravation with explicit converting reverted - implicit converting inside internal functions if not IPAddr object;
9 years ago
Alexander Koeppe
85b895178b
change IP address string to object handling part 1
...
# Conflicts:
# fail2ban/server/filter.py
9 years ago
sebres
07c9f38e45
meantime commit: code review, simplification, pythonization, etc. (test cases passed)
9 years ago
Alexander Koeppe
a757037671
Make DNS resolution IP address family idependent
9 years ago
sebres
3893a6b780
meantime commit: code review, simplification, pythonization, etc.
9 years ago
Alexander Koeppe
a093828602
Make ignoreip checking address family idependent
9 years ago
sebres
1308744348
meantime commit: code review, simplification, pythonization, etc.
9 years ago
Alexander Koeppe
01e1383c9b
New class IPAddr for handling IPv4 and IPv6 addresses
9 years ago
sebres
05f38285f1
Merge remote-tracking branch 'remotes/gh-upstream/master' into f2b-perfom-prepare-716
9 years ago
Yaroslav Halchenko
9664406719
Merge pull request #1404 from Aeyoun/patch-1
...
Assert https not http
9 years ago
Daniel Aleksandersen
75eb240846
Assert https not http
...
Resolves test regression from issue #1395 .
9 years ago
Yaroslav Halchenko
2948026a60
Merge pull request #1395 from Aeyoun/patch-2
...
Use HTTPS in Debuggex URLs
9 years ago
Yaroslav Halchenko
d7b0a2f249
Merge pull request #1397 from jungle-boogie/patch-1
...
update doc url
9 years ago
Yaroslav Halchenko
d2f1de5da8
Merge pull request #1400 from yarikoptic/bf-cymru
...
BF+ENH: fixed up testing querying cymru information + assert_dict_equal
9 years ago
Yaroslav Halchenko
340a5a23f4
BF+ENH: fixed up testing querying cymru information + assert_dict_equal helper
9 years ago
jungle-boogie
d889918f19
update doc url
...
direct to confluence page. no code changes.
9 years ago
Daniel Aleksandersen
add67227f4
Use HTTPS in Debuggex URLs
9 years ago
Yaroslav Halchenko
aa303acfd6
Merge pull request #1381 from theDogOfPavlov/patch-3
...
Tightened up exim regexes to catch rDNS entries
9 years ago
sebres
e595fefc9b
change log and thanks entries
9 years ago
Alexandre Perrin
7712310d2d
Be more backward compatible on matching postfix/smtps/smtpd
...
Support trailing smtps also and not only smtpd.
suggested by @sebres
9 years ago
Alexandre Perrin
1a299409e5
Fix postfix/smtps/smtpd matching.
9 years ago
theDogOfPavlov
fcca1413b0
rDNS tests
...
added additional tests to cover logs with rDNS
9 years ago
theDogOfPavlov
1eb51b1bc2
Tightened up regexes to catch rDNS entries
9 years ago
Yaroslav Halchenko
1153c0a5c6
Merge pull request #1359 from yarikoptic/bf-blocktype
...
BF: Include iptables-common (not removed iptables-blocktype) within firewallcmd- actions
9 years ago
sebres
9d7e860edb
possibility to increase verbosity up to heavy debug (partial ported from 716-cs)
9 years ago