[Snort-users] Strange effect splitting 'alert' to 'redalert' + 'logalert'

Chr. v. Stuckrad stucki at ...3882...
Tue Nov 27 13:44:03 EST 2001


May be I did something which is not meant to be used this way(?):

I wanted to have two levels of alerts and logs, so I decided
to use the user-dfined 'ruletype's like:
------------------------------- snip ----------------------------
ruletype logalert
   type alert
   output alert_syslog: LOG_LOCAL3 LOG_WARNING
   output alert_fast: /var/log/snort/logalert
   output log_tcpdump: /var/log/snort/snort.log.dump
------------------------------- snip ----------------------------
The 'redalert' is similar but has an higher log facility
and different filenames.

Then I decided which rule (originally 'alert') will become 'redalert'
or 'logalert', and if I did it correctly only those two kinds of rule
do exist now.

HERE Snort is:  Version 1.8.3 (Build 87)
has flexresponse but not yet databases and uses syslog so far.
runs on LINUX (SuSE-7.2) on a routers mirror-port.

What goes RIGHT is: syslog, alert_fast
What goes WRONG is: output_tcpdup

Is there a way to append instead of write from beginning of the file
when snort restarts? (It seems to always begin from empty file).

Somehow it seems as if not *every* alerting packet(contents) is logged,
I often do not find a packet in those files, even if alert_fast did tell
me it's from and to addresses...

And besides this, portscans are logged to some other/own default file,
which is acceptable so far :-)

Any Ideas what I missed from 'snort.pdf' (may be it does nat explain
something as of version *.3 and I'd rather read sources?)

Thanks a lot,      Stucki

Christoph von Stuckrad       * *  | nickname  | <stucki at ...3882...> \
Freie Universitaet Berlin    |/_* | 'stucki'  | Tel(days):+49 30 838-75 459 |
Fachbereich Mathematik, EDV  |\ * | if online | Tel(else):+49 30 77 39 6600 |
Arnimallee 2-6/14195 Berlin  * *  | on IRCnet | Fax(alle):+49 30 838-75454 /

More information about the Snort-users mailing list