[Snort-users] RE: Logging without alerting
JBFRYE at ...7742...
JBFRYE at ...7742...
Fri Dec 13 11:45:07 EST 2002
Yes I've seen this post. As I interpret it, the "alert" rule action should
send a message to the alerting facility and the logging facility. All the
rules I use, make use of the alert action. I see this as meaning every
event that matches a rule utilizing the alert action should send the packet
to the logging facility and the alerting facility ( which is not enabled in
my config ). What I'm seeing is that some alerts don't generate a
corresponding packet in the log. Testing yesterday indicates this is true
with 1.9 as well as 1.87.
Luther" To: "'JBFRYE at ...7742...'" <JBFRYE at ...7742...>
<CLuther at ...7750... cc: "Snort-Users (E-mail)" <snort-users at lists.sourceforge.net>
t.com> Subject: RE: Logging without alerting
12/13/02 12:26 PM
Check out this post, courtesy of Erek Adams (mailto:erek at ...577...
Maybe this will help.
To: snort-users at lists.sourceforge.net
From: JBFRYE at ...7742...
Date: Thu, 12 Dec 2002 16:00:33 -0600
Subject: [Snort-users] Logging without alerting
My understanding of the output facilities in Snort ( 1.87 ) is that there
are two, logging and alerting. The alerting facility exists to let you know
that something interesting has happened. The logging facility exists to
log full packet information to the output format (pcap, ascii, database,
etc). The "alert" action is hard coded to do two things, write an event to
the alert facility and log to the output facility. The "log" action logs
the current packet to the logging facility without generating an alert.
This led me to believe alerting could be turned off ( -A none ) and I
would still see all the events in the binary log. Comparing an alert file
generated from the binary log ( rerun through Snort same rule set ) to one
generated by Snort on the first pass are not the same ( events are missing
from the binary log that are present in the alert file ). Are my
assumptions on the Snort output facilities incorrect or is this behavior a
FYI: I'm running four sensors that are logging binary format. The binary is
retrieved from the remote sensors every 30 min. and brought down to a
central Snort which processes the file and inserts the alerts into an
The Snort startup command on the remote sensors is:
/usr/local/snort/bin/snort -c /usr/local/snort/rules/snort.conf
-D -i hme1 -A none -u ddsa992 -g dsagrp -b
The Snort command on the Snort master is:
/usr/local/snort/rules/sensor1.conf -r /opt/log/sensor1/name_of_binary_log
More information about the Snort-users