Koozali.org: home of the SME Server

Snort

Shezze

Snort
« on: February 05, 2003, 07:53:01 AM »
Hi

I recently installed snort + acid on my SME 5.5 box. Since im on a dialup i changed the snortd interface to  ppp0

and then did a restart

but this is the error that i get

./snortd restart
Stopping snort:                                            [ FAILED ]
Starting snort: Initializing Output Plugins!       [ FAILED ]

I read in another message to try /etc/snort/snort
but this did not work at all as i got no such file or directory

I went to the folder /etc/snort/ and typed in snort and got an output it seemed snort had started but it didnt go into the background so i had to exit it.


[root@pakora snort]# snort
Initializing Output Plugins!
Log directory = /var/log/snort

Initializing Network Interface eth0
using config file ./snort.conf
Initializing Preprocessors!
Initializing Plug-ins!
Parsing Rules file ./snort.conf

+++++++++++++++++++++++++++++++++++++++++++++++++++
Initializing rule chains...
No arguments to frag2 directive, setting defaults to:
    Fragment timeout: 60 seconds
    Fragment memory cap: 4194304 bytes
    Fragment min_ttl:   0
    Fragment ttl_limit: 5
    Fragment Problems: 0
Stream4 config:
    Stateful inspection: ACTIVE
    Session statistics: INACTIVE
    Session timeout: 30 seconds
    Session memory cap: 8388608 bytes
    State alerts: INACTIVE
    Evasion alerts: INACTIVE
    Scan alerts: ACTIVE
    Log Flushed Streams: INACTIVE
    MinTTL: 1
    TTL Limit: 5
    Async Link: 0
No arguments to stream4_reassemble, setting defaults:
     Reassemble client: ACTIVE
     Reassemble server: INACTIVE
     Reassemble ports: 21 23 25 53 80 143 110 111 513
     Reassembly alerts: ACTIVE
     Reassembly method: FAVOR_OLD
http_decode arguments:
    Unicode decoding
    IIS alternate Unicode decoding
    IIS double encoding vuln
    Flip backslash to slash
    Include additional whitespace separators
    Ports to decode http on: 80
rpc_decode arguments:
    Ports to decode RPC on: 111 32771
telnet_decode arguments:
    Ports to decode telnet on: 21 23 25 119
Conversation Config:
   KeepStats: 0
   Conv Count: 32000
   Timeout   : 60
   Alert Odd?: 0
   Allowed IP Protocols:  All

Portscan2 config:
    log: /var/log/snort/scan.log
    scanners_max: 3200
    targets_max: 5000
    target_limit: 5
    port_limit: 20
    timeout: 60
database: compiled support for ( mysql )
database: configured to use mysql
database:          user = root
database: password is set
database: database name = snort_log
database:          host = localhost
database:   sensor name = 192.168.51.1
database:     sensor id = 1
database: schema version = 106
database: using the "log" facility
1272 Snort rules read...
1272 Option Chains linked into 139 Chain Headers
0 Dynamic rules
+++++++++++++++++++++++++++++++++++++++++++++++++++

Rule application order: ->activation->dynamic->alert->pass->log

        --== Initializing Snort ==--
Decoding Ethernet on interface eth0

        --== Initialization Complete ==--

-*> Snort! <*-
Version 1.9.0 (Build 209)
By Martin Roesch (roesch@sourcefire.com, www.snort.org)


Another thing i noticed is its listening on eth0 ? and not ppp0 even though the snortd file i have changed it. or is there somewhere else i have to change

any help appreciated.
Thanks

Cyrus Bharda

Re: Snort
« Reply #1 on: February 05, 2003, 08:23:14 AM »
I have the exactly the same problem, see:

http://forums.contribs.org/index.php?topic=13604.msg51681#msg51681

except I didnt know I had to change it to ppp0 as I am on dial-up too, where abouts should I changed the file, and how do I then restart it so that it works?

Have you made sure to make the change in a template fragment?

Thanks!

Cyrus Bharda