[Snort-users] Problem showing traffic on BASE

Bouchra Badri bouchra.badri at ...11827...
Sun Feb 17 07:13:50 EST 2013


Hello,
I'm sorry if I'm on the wrong mailing list, I hope you still can help me.
I have followed a tutorial about snort installation at the end of which I
was able to log alerts, visible in /var/log/snort/alert .
Running snort creates a /var/log/snort/snort.logxxxxxxxxx , the waldo file
is created afterwards using the same file - I can't really know what's in
it ( binary ).
snort.conf has unified2 as output, barnyard has it as input, the output
being the mysql database.
When I run both snort and barnyard2, nothing happens in BASE.
I see Sensors/Total : 0/2 so there must be something, just not detected...

My question is, how can I add more sensors in BASE?
How do I get it to show me the traffic ?

Is there something else I should do ? Like mirroring the traffic ?
PS: this command : iptables -A PREROUTING -t mangle -j ROUTE --gw
192.168.1.90 --tee
doesn't work for me ( something about multiple -j flags not allowed ) which
i don't quite get.



Here is the output from Barny :
------------------------
database: [SynchronizeEventId()]: Problems executing [SELECT MAX(cid) FROM
data WHERE sid='2';]
database: [SynchronizeEventId()]: Problems executing [SELECT MAX(cid) FROM
event WHERE sid='2';]
database: [SynchronizeEventId()]: Problems executing [SELECT MAX(cid) FROM
icmphdr WHERE sid='2';]
database: [SynchronizeEventId()]: Problems executing [SELECT MAX(cid) FROM
iphdr WHERE sid='2';]
database: [SynchronizeEventId()]: Problems executing [SELECT MAX(cid) FROM
opt WHERE sid='2';]
database: [SynchronizeEventId()]: Problems executing [SELECT MAX(cid) FROM
tcphdr WHERE sid='2';]
database: [SynchronizeEventId()]: Problems executing [SELECT MAX(cid) FROM
udphdr WHERE sid='2';]
[SignatureReferencePullDataStore()]: No Reference found in database ...
database: compiled support for (mysql)
database: configured to use mysql
database: schema version = 107
database:           host = localhost
database:           user = snort
database:  database name = snort
database:    sensor name = localhost:eth0
database:      sensor id = 2
database:     sensor cid = 4
database:  data encoding = hex
database:   detail level = full
database:     ignore_bpf = no
database: using the "log" facility

        --== Initialization Complete ==--

  ______   -*> Barnyard2 <*-
 / ,,_  \  Version 2.1.11 (Build 320)
 |o"  )~|  By Ian Firns (SecurixLive): http://www.securixlive.com/
 + '''' +  (C) Copyright 2008-2012 Ian Firns <firnsy at ...14568...>

Using waldo file '/var/log/snort/barnyard2.waldo':
    spool directory = /var/log/snort
    spool filebase  = snort.log
    time_stamp      = 1361058230
    record_idx      = 0
Opened spool file '/var/log/snort/snort.log.1361101614'
Waiting for new data
----------------------------------------------------------

Please??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20130217/66ef3e6d/attachment.html>


More information about the Snort-users mailing list