mirror of
https://github.com/jrbrtsn/ban2fail
synced 2024-06-16 03:48:03 +00:00
edited README.md
This commit is contained in:
parent
516acff5e5
commit
bfae68f2a6
@ -42,6 +42,11 @@ keywords must be in upper case. Any values in the key=value pairs have
|
|||||||
whitespace stripped from the beginning and end of the line. Since there is no
|
whitespace stripped from the beginning and end of the line. Since there is no
|
||||||
escaping of characters going on, regular expressions are WYSIWYG.
|
escaping of characters going on, regular expressions are WYSIWYG.
|
||||||
|
|
||||||
|
Finding typos and so forth in the config file is easy; use the -v command flag
|
||||||
|
to print all unrecognized content (besides comments).
|
||||||
|
|
||||||
|
`ban2fail -v`
|
||||||
|
|
||||||
The only way to alter the default blocking behavior is with a MAX\_OFFENSES
|
The only way to alter the default blocking behavior is with a MAX\_OFFENSES
|
||||||
clause. This clause allows you specify how many offenses are tolerated before an
|
clause. This clause allows you specify how many offenses are tolerated before an
|
||||||
IP is blocked. Offenses will naturally disappear as old logfiles are deleted by
|
IP is blocked. Offenses will naturally disappear as old logfiles are deleted by
|
||||||
|
@ -86,7 +86,7 @@ struct Global G= {
|
|||||||
.version= {
|
.version= {
|
||||||
.major= 0,
|
.major= 0,
|
||||||
.minor= 9,
|
.minor= 9,
|
||||||
.patch= 4
|
.patch= 5
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -212,6 +212,7 @@ main(int argc, char **argv)
|
|||||||
" -a\t\tList results by Address\n"
|
" -a\t\tList results by Address\n"
|
||||||
" -c\t\tlist results by Country\n"
|
" -c\t\tlist results by Country\n"
|
||||||
" -t confFile\tTest confFile, do not apply iptables rules\n"
|
" -t confFile\tTest confFile, do not apply iptables rules\n"
|
||||||
|
" -v\t\tVerbose information about unrecognized configuration info\n"
|
||||||
" --version\tprint the version number and exit.\n"
|
" --version\tprint the version number and exit.\n"
|
||||||
, argv[0]
|
, argv[0]
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user