
Copyright (c) 2022 Jim Seymour (jseymour+sshguard@LinxNet.com)

atre/attack_parser_re ToDo list

Add config files BASEDIR compile-time variable?

Add ferror() checks to file reads?

    atre-parser: Done!

Rename most (all?) "atre..." to one of

    "atpare" - Attack PArser RegEx'
    "reatpa"/"reatpar" - RegEx ATtack PArser
    "reattp..." - - RegEx ATTack Parser

    All four show up only as a Google Code project names at
    http://ivantomic.com/projects/ospnc/ and all lead to
    404 pages.

Integrate with sshguard-2.4.2, both

    As a replacement parser

	Completed.  Under test.  Not deployed

    As an addition to ../src/parser/parser.c

Fix FIXMEs - Only a couple remain, and they're questionable

fflush() only on debug/verbose

Needs proper docs for manpage

Prevent attack_parser_re_init() being inadvertently called more
than once with a NULL atre_list pointer?

    Or detect it and call reload_attack_parser_re_conf()?

Add support for service name (number?) over-ride in config?

Needs de-cluttering - particularly attack_parser_re_init()

    May have de-cluttered to the extent reasonably possible


Completed ToDo's

Replace literal IP-matching regexps in config file with "IPADDR"
macro expanded in code?

    Done!

Figure out what attack_t.source_id is, how it's used, where set

    Apparently nothing.  It's no longer in the parse_line()
    call in sshguard-2.4.2.  So eliminate entirely?

    Eliminated

Merge atre-test and atre-parser

    Change *_log calls to use syslog only when used as a
    daemon process.  (Re-do command line args so -d is
    daemon and debug is -x?)

    Done!

    atre-test is now redundant and deprecated

Work again on integrating the changed code with sshguard-1.7.0

    Done!

Add signal-capturing to atre-parser

    Done!

Remove STAND_ALONE_ATRE compile-time directive.  It no longer has a use.

    Done!

Figure out what to do/use re: Copyright

    Done!

Optional parameter for -h (help)?

    services - list known service names and codes, ordered
               by name
           ? - list available help options

    Done!

Add "How To Create Parser Expressions" to HowTo

    Done!

