RCS file: RCS/waccess,v Working file: waccess head: 2.0 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 18; selected revisions: 18 description: Search http access log looking for matching hits. ---------------------------- revision 2.0 date: 2002/09/03 21:00:00; author: tundra; state: Exp; lines: +1 -2 Forced new major revision number. ---------------------------- revision 1.71 date: 2002/09/03 20:55:48; author: tundra; state: Exp; lines: +2 -2 Corrected typo in help information. ---------------------------- revision 1.70 date: 2002/09/03 20:24:17; author: tundra; state: Exp; lines: +2 -2 Minor cosmetic change to a comment so as not to confuse the reader. ---------------------------- revision 1.69 date: 2002/09/03 20:20:37; author: tundra; state: Exp; lines: +35 -14 Fixed bug which occurred on matching records when no reverse was being done. Added -h help function. ---------------------------- revision 1.68 date: 2002/09/03 19:34:03; author: tundra; state: Exp; lines: +31 -20 Moved results of -l command into the output summary. Added -c option to ignore case during searches. ---------------------------- revision 1.67 date: 2002/09/03 17:50:42; author: tundra; state: Exp; lines: +48 -6 Cleaned up formatting of summary output to make it more readable. Added '-a' option to sort output by search key. Added '-q' option to suppress summary output (quiet mode). Added '-v' option to display program version number. ---------------------------- revision 1.66 date: 2002/09/03 03:07:46; author: tundra; state: Exp; lines: +2 -2 Only 127.0 is in the IGNORED table by default now. All others can go into the ~/.waccessignored file now supported. ---------------------------- revision 1.65 date: 2002/09/02 19:25:19; author: tundra; state: Exp; lines: +35 -8 Added ability to define ignored addresses in startup file: ~/.waccessignored. Added '-l' option to display list of addresses being ignored. ---------------------------- revision 1.64 date: 2002/09/02 19:04:17; author: tundra; state: Exp; lines: +12 -12 Cleaned up unique IP tracking so that distinct counts are maintained for each search key. ---------------------------- revision 1.63 date: 2002/09/02 18:33:28; author: tundra; state: Exp; lines: +45 -20 Implemented full caching of DNS reverse lookups. Changed final summary message to include # of unqiue IPs and # of accesses. Cleaned up code so it is easier to modify for non-Apache logs. ---------------------------- revision 1.62 date: 2002/09/02 06:24:08; author: tundra; state: Exp; lines: +13 -5 Added dynamic cacheing of addresses with no reverse so that such lookups only need be done one per program run, not once per access record. This makes the program run quicker in the presence of access records from IP addresses that cannot be reverse and which have long reverse lookup times. ---------------------------- revision 1.61 date: 2002/08/31 06:11:56; author: tundra; state: Exp; lines: +3 -3 Corrected usage prompt to include -i option. ---------------------------- revision 1.6 date: 2002/08/30 23:24:24; author: tundra; state: Exp; lines: +12 -9 Added the -i option to suppress IP address IGNORED processing. ---------------------------- revision 1.5 date: 2002/08/30 22:32:01; author: tundra; state: Exp; lines: +2 -2 Changed copyright date. ---------------------------- revision 1.4 date: 2002/08/30 22:17:13; author: tundra; state: Exp; lines: +44 -28 Added ability to ignore selected IP addresses. ---------------------------- revision 1.3 date: 2002/08/30 21:52:07; author: tundra; state: Exp; lines: +44 -29 Added -f command line option for specifying name of log file to examine. Cleaned up logic that counts matching lines to only display the line once no matter how many arguments match on that line. ---------------------------- revision 1.2 date: 2001/08/04 22:21:49; author: tundra; state: Exp; lines: +2 -1 Forced SHOW = TRUE when reverse lookups requested. ---------------------------- revision 1.1 date: 2001/08/03 19:11:49; author: tundra; state: Exp; Initial revision ---------------------------- =============================================================================