[Snort-users] Snort not logging

Naresh Narang nnarang at ...15655...
Mon May 28 13:12:41 EDT 2012

Here is a difference I found in "config order" between version 2.8.3 and -

Before upgrade:

May 18 07:27:55 dc1infra01 snort[12293]: [ID 702911 daemon.notice] Rule application order: activation->dynamic->pass->drop->alert->log

After upgrade:

May 27 00:10:38 dc1infra01 snort[7021]: [ID 702911 daemon.notice] Rule application order: activation->dynamic->pass->drop->sdrop->reject->alert->log

It seems that if snort doesn't have any "alert" it would get dropped by "reject" and hence not get logged. I tried to change config order to the way it was before -

config order: activation dynamic pass drop alert log

in snort.conf but the change did not take effect.


From: Naresh Narang [mailto:nnarang at ...15655...]
Sent: Sunday, May 27, 2012 9:17 AM
To: snort-users at lists.sourceforge.net
Subject: [Snort-users] Snort not logging

Hi all,

               I compiled latest version of Snort with all the related software (daq etc.) on Solaris X86. Its running fine with no errors but is not logging anything to files. Files get created with epoch time stamp but stay at 0 bytes. Any ideas? If I run from command line, with -L option, I can log to files just fine. Snort.conf is same as it was before from ver 2.8.3, which was logging fine.

$ snort -V

   ,,_     -*> Snort! <*-
  o"  )~   Version IPv6 GRE (Build 205)
   ''''    By Martin Roesch & The Snort Team: http://www.snort.org/snort/snort-team
           Copyright (C) 1998-2012 Sourcefire, Inc., et al.
           Using libpcap version 1.1.1
           Using PCRE version: 8.30 2012-02-04
           Using ZLIB version: 1.2.3

Running in IDS mode:

snort[7030]: [ID 702911 daemon.notice]
snort[7030]: [ID 702911 daemon.notice]         --== Initialization Complete ==--
snort[7030]: [ID 702911 daemon.notice] Commencing packet processing (pid=7030)

barnyard2[8402]: [ID 702911 daemon.notice] Opened spool file '/var/log/snort/snort.u2.1338102640'
barnyard2[8402]: [ID 702911 daemon.notice] Waiting for new data



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20120528/75409159/attachment.html>

More information about the Snort-users mailing list