| Don't Panic! You're probably in the right place. On March 6, 2026, Jimsun was renamed to Athena. |
Attack RegEx Parser (name subject to change) was designed to either supplement or replace the attack
signature parser in SSHGuard.
All of the programs, applications, utilities, and documentation (hereinafter referred to as "programs") on this page are Copyright (C) 2022-2026 James S. Seymour, except as otherwise noted. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. An on-line copy of ISC Open Source Software Licenses can be found here: here.
Source & Docs: Production Version
Production versions have been tested more thoroughly, at more sites.
- No Production version yet available
Source & Docs: Beta-Test Version
Beta versions are the result of enhancement requests and bug reports. While also believed to produce correct results (maybe even more accurate or better results--depending on the reason for the change), they're labeled beta until I get enough feedback to let me know all's well. (Or I fail to get any negative feed-back in the form of bug-reports.)Beta versions are thoroughly regression-tested. Deviations, if any, are noted in the ChangeLog--as are the the reasons for them.
Alpha versions, as with Beta versions, are the result of enhancement requests and bug reports. Compared to Beta versions: Alpha versions may not have been as thoroughly tested or regression-tested - usually either because I lack the necessary raw test data or because the changes make it all-but-impossible to do so. Alpha versions are promoted to Beta status after I've seen they've been downloaded and a time goes by without problem reports. This may get updated at irregular intervals--perhaps even several times per day, as mood or inspiration strikes me. The ChangeLog will always reflect any changes.
Contents:
- attack_parser_re.c - the attack parsing code
- attack_parser_re.h - header file (duh :))
- attack_parser_re.out - stand-alone executable output sample (see Notes)
- atre_parser.c - replacement parser for sshguard-2.4.2 and later
- Also stand-alone test utility
- examples/attack_parser_re.conf - attack parsing regexps (POSIX)
- examples/attack_parser_re.pcre - attack parsing regexps (PCRE)
- examples/sshguard-1.7.0_integration_diffs.txt - diffs between vanilla and modfied sshguard-1.7.0
- There's also a spurious "should already have been blocked" log message eliminator in there ;)
- sshg_1.7.0_includes - necessary include files from sshguard-1.7.0
- There are equivalent includes in sshguard-2.x. They're unnecessary for atre-parser.
- test/attack_parser_re.conf - development attack parsing regexps (POSIX)
- test/attack_parser_re.pcre - development attack parsing regexps (PCRE)
- test/testfile - abbreviated test logfile input
- test/mytests.txt - abbreviated regression test file
- test/tests.txt - regression test file from sshguard-2.4.2
- ChangeLog
- Copyright.txt
- HowTo
- Makefile
- Notes
- ToDo
My Unix Utilities page has some more stuff you might be able to use.
| Comments or Questions? | Created: 10 Apr, 2022 / Last updated: 7 Apr, 2026 |
|