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
|
||||
environment (without lock)
|
||||
* Fixed sporadically error in testCymruInfoNxdomain, because of unsorted values
|
||||
* Misleading errors logged from ignorecommand in success case on retcode 1 (gh-1194)
|
||||
|
||||
### New Features
|
||||
* IPv6 support:
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env fail2ban-python
|
||||
import sys
|
||||
if len(sys.argv) != 2 or sys.argv[1] == "":
|
||||
sys.stderr.write('usage: ignorecommand IP')
|
||||
exit(10)
|
||||
sys.stderr.write('usage: ignorecommand IP')
|
||||
exit(10)
|
||||
if sys.argv[1] == "10.0.0.1":
|
||||
exit(0)
|
||||
exit(1)
|
||||
|
|
Loading…
Reference in New Issue