Snort mailing list archives

My SNMP woes continue


From: Gary Danko <GDanko () proflowers com>
Date: Tue, 5 Aug 2003 15:31:21 -0700

My ldd output looks good for my sensors.
[root@ids1 ~]$ ldd /usr/local/snort/bin/snort
        libcrypto.so.2 => /lib/libcrypto.so.2 (0x40027000)
        libz.so.1 => /usr/lib/libz.so.1 (0x400ea000)
        libpcap.so.0.6.2 => /usr/lib/libpcap.so.0.6.2 (0x400f8000)
        libm.so.6 => /lib/i686/libm.so.6 (0x40113000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x40136000)
        libmysqlclient.so.10 => /usr/lib/mysql/libmysqlclient.so.10
(0x4014c000)
        libnetsnmp.so.5 => /usr/local/net-snmp/lib/libnetsnmp.so.5
(0x40182000)
        libssl.so.2 => /lib/libssl.so.2 (0x401ed000)
        libc.so.6 => /lib/i686/libc.so.6 (0x4021a000)
        libdl.so.2 => /lib/libdl.so.2 (0x40355000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x40359000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
 
The snmp lib is there. The ssl libs are there. It looks fine. Error when
starting Snort.
 
[root@ids1 conf]$ /usr/local/bin/snort -o -de -i eth1 -c
/usr/local/demarc/conf/snorteth1.conf
Running in IDS mode
Log directory = /var/log/snort
 
Initializing Network Interface eth1
OpenPcap() device eth1 network lookup:
        eth1: no IPv4 address assigned
 
        --== Initializing Snort ==--
Rule application order changed to Pass->Alert->Log
Initializing Output Plugins!
Decoding Ethernet on interface eth1
Initializing Preprocessors!
Initializing Plug-ins!
Parsing Rules file /usr/local/demarc/conf/snorteth1.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
    Self preservation threshold: 500
    Self preservation period: 90
    Suspend threshold: 1000
    Suspend period: 30
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
    State Protection: 0
    Self preservation threshold: 50
    Self preservation period: 90
    Suspend threshold: 200
    Suspend period: 30
Stream4_reassemble config:
    Server reassembly: INACTIVE
    Client reassembly: ACTIVE
    Reassembler alerts: ACTIVE
    Ports: 21 23 25 53 80 110 111 143 513 1433
    Emergency Ports: 21 23 25 53 80 110 111 143 513 1433
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
    alert_fragments: INACTIVE
    alert_large_fragments: ACTIVE
    alert_incomplete: ACTIVE
    alert_multiple_requests: ACTIVE
telnet_decode arguments:
    Ports to decode telnet on: 21 23 25 119
database: compiled support for ( mysql )
database: configured to use mysql
database:          user = snort
database: database name = snort
database: password is set
database:          host = 10.1.30.60
database:   sensor name = ids1
database:     sensor id = 2
database: schema version = 106
database: using the "log" facility
ERROR: unknown output plugin: 'trap_snmp'Fatal Error, Quitting..
 
The output section looks like this:
output database: log, mysql, user=snort dbname=snort password=password
host=10.1.30.60 sensor_name=ids1
output trap_snmp: alert,1,trap -v 2c -p 162 MyTrapDest MyCommunity

Current thread: