mirror of https://github.com/fail2ban/fail2ban
parent
c442569b63
commit
701abfd250
|
@ -28,6 +28,7 @@ TODO: implementing of options resp. other tasks from PR #1346
|
||||||
* Pyinotify-backend: stability fix for sporadically errors in multi-threaded
|
* Pyinotify-backend: stability fix for sporadically errors in multi-threaded
|
||||||
environment (without lock)
|
environment (without lock)
|
||||||
* Fixed sporadically error in testCymruInfoNxdomain, because of unsorted values
|
* Fixed sporadically error in testCymruInfoNxdomain, because of unsorted values
|
||||||
|
* Misleading errors logged from ignorecommand in success case on retcode 1 (gh-1194)
|
||||||
|
|
||||||
### New Features
|
### New Features
|
||||||
* IPv6 support:
|
* IPv6 support:
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#!/usr/bin/env fail2ban-python
|
#!/usr/bin/env fail2ban-python
|
||||||
import sys
|
import sys
|
||||||
if len(sys.argv) != 2 or sys.argv[1] == "":
|
if len(sys.argv) != 2 or sys.argv[1] == "":
|
||||||
sys.stderr.write('usage: ignorecommand IP')
|
sys.stderr.write('usage: ignorecommand IP')
|
||||||
exit(10)
|
exit(10)
|
||||||
if sys.argv[1] == "10.0.0.1":
|
if sys.argv[1] == "10.0.0.1":
|
||||||
exit(0)
|
exit(0)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
Loading…
Reference in New Issue