[Snort-devel] [Snort-users] FreeBSD + Mysql + Snort

Hall, Duane hallu at ...1270...
Wed Apr 17 09:43:36 EDT 2002


Intel X86
FreeBSD 4.5-RELEASE
Snort Version 1.8.6 build 105
No preprocessors
No rules enabled
Output Plugins:
output database: log, mysql, user=root password=xxxxx dbname=snortdb
host=xxx.
xxx.xxx.22
command line:  
snort -b -l /usr/storage/snort/logs -L snort.log -c
/usr/storage/snort/conf/snort.conf

Output From Snort:

sensor# snort -b -l /usr/storage/snort/logs -L snort.log -c
/usr/storage/snort/conf/snort.conf
Log directory = /usr/storage/snort/logs

Initializing Network Interface em0

        --== Initializing Snort ==--
Decoding Ethernet on interface em0
Initializing Preprocessors!
Initializing Plug-ins!
Initializating Output Plugins!
Parsing Rules file /usr/storage/snort/conf/snort.conf

+++++++++++++++++++++++++++++++++++++++++++++++++++
Initializing rule chains...
Segmentation fault (core dumped)
sensor# Apr 17 11:30:51 sensor /kernel: em0: promiscuous mode enabled
Apr 17 11:30:51 sensor /kernel: pid 20938 (snort), uid 0: exited on
signal 11(core dumped)
Apr 17 11:30:51 sensor /kernel: em0: promiscuous mode disabled

sensor#

GDB Output:

This GDB was configured as "i386-unknown-freebsd"...
Core was generated by `snort'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libz.so.2...done.
Reading symbols from /usr/lib/libpcap.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from
/usr/local/mysql/lib/mysql//libmysqlclient.so.10...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x28169254 in strdup () from /usr/lib/libc.so.4
(gdb) bt
#0  0x28169254 in strdup () from /usr/lib/libc.so.4
#1  0x8056473 in VarDefine (name=0x80b98b0 "HOME_NET",
    value=0x6e652050 <Address 0x6e652050 out of bounds>) at rules.c:3110
#2  0x8054034 in ParseRule (rule_file=0x2819e620,
    prule=0xbfbff760 "var HOME_NET $fdx0_ADDRESS ", inclevel=0) at
rules.c:531
#3  0x8053b8b in ParseRulesFile (
    file=0x8093f64 "/usr/storage/snort/conf/snort.conf", inclevel=0)
    at rules.c:198
#4  0x804a750 in main (argc=8, argv=0xbfbffbf4) at snort.c:335
(gdb) quit


Copy of previous e-mail:

I keep getting a exit on signal 11 on Freebsd 4.5-Release.  Has anyone
had this problem before.  It seems to happen right after it tries to
initialize the rules.  I recompiled the kernel with i686 and not loading
anything I don't need.  If someone could just give me a direction to go.

Thanks in Advance


Duane

System:
Freebsd 4.5 + SMP
2 X  Pentium III 1.4
1GB Ram
2 X 18 GB HD (Raid 1)
Intel Pro 10/100
Intel Pro/1000


**************************
Duane Hall
Security Administrator
Hastings Entertainment, Inc.
hallu at ...1270...

**************************
Duane Hall
Security Administrator
Hastings Entertainment, Inc.
806-351-2300 X-3945





More information about the Snort-devel mailing list