[Snort-devel] Silly snort 2.4.3 annoyance - missing DB name

Martin Olsson elof at ...969...
Tue Jan 24 05:35:00 EST 2006


Running snort in testmode (on FreeBSD). It is configured to use mysql
database output plugin:
output database: log, mysql, user=foo password=foo dbname=bar host=1.1.1.1 sensor_name=gazonk

When the self test is exiting the following is printed:

...
...
Frag3 statistics:
        Total Fragments: 0
      Frags Reassembled: 0
               Discards: 0
          Memory Faults: 0
               Timeouts: 0
               Overlaps: 0
              Anomalies: 0
                 Alerts: 0
     FragTrackers Added: 0
    FragTrackers Dumped: 0
FragTrackers Auto Freed: 0
    Frag Nodes Inserted: 0
     Frag Nodes Deleted: 0
===============================================================================
database: Closing connection to database ""     <-----------------
Snort exiting



Shouldn't it print 'Closing connection to database "bar"' or something?

/Martin - being very picky today :-)





More information about the Snort-devel mailing list