diff --git a/README.md b/README.md index 8d60464..ed80325 100644 --- a/README.md +++ b/README.md @@ -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 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 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 diff --git a/ban2fail.c b/ban2fail.c index 84bc979..2e47e7b 100644 --- a/ban2fail.c +++ b/ban2fail.c @@ -86,7 +86,7 @@ struct Global G= { .version= { .major= 0, .minor= 9, - .patch= 4 + .patch= 5 } }; @@ -212,6 +212,7 @@ main(int argc, char **argv) " -a\t\tList results by Address\n" " -c\t\tlist results by Country\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" , argv[0] );