[Snort-users] rule update causes seg fault

McGuire, Dennis dmcguire at ...8127...
Thu Dec 4 11:50:02 EST 2003

>-----Original Message-----
>From: Josh.Sakofsky at ...10683... [mailto:Josh.Sakofsky at ...10683...] 
>Sent: Wednesday, December 03, 2003 1:10 PM
>To: snort-users at lists.sourceforge.net
>Subject: [Snort-users] rule update causes seg fault
>any ideas on this? 
>when i updated my rule set to the latest stable release, i get a seg

Me too :-)  RH 7.3, snort 2.0.5 Build 98, snortrules-stable.tar.gz as
applied by oinkmaster.  2 intfs, one for mgmt, one for sniffing. Runs for
anywhere from a few mins to overnite.  I suspect it's therefore
packet/payload or rule related.

Running gdb on /usr/local/bin/snort & then:
(gdb) run -U -o -i eth1 -d -c /etc/snort/snort.conf

-*> Snort! <*-
Version 2.0.5 (Build 98)
By Martin Roesch (roesch at ...1935..., www.snort.org)

Program received signal SIGSEGV, Segmentation fault.
otnx_match (id=0, index=160, data=0x809d294) at fpdetect.c:625
625         RULE_NODE        *rnNode = (RULE_NODE*)(pmx->RuleNode);
(gdb) bt
#0  otnx_match (id=0, index=160, data=0x809d294) at fpdetect.c:625
#1  0x0806648f in mwmSearchExNoBC (ps=0x872ed50,
    Tx=0x809d3c0 "/HG?HC=WE09&HB=DM53112479CS71EN3&CD=1&HV=6&N=WELCOME TO
    Tc=0x8125240 "/HG?hc=we09&hb=DM53112479CS71EN3&cd=1&hv=6&n=Welcome to
match=0x805d5f4 <otnx_match>,
    data=0x809d294) at mwm.c:916
#2  0x08066f2a in mwmSearch (pv=0x872ed50,
    T=0x8125240 "/HG?hc=we09&hb=DM53112479CS71EN3&cd=1&hv=6&n=Welcome to
n=343, match=0x805d5f4 <otnx_match>,
    data=0x809d294) at mwm.c:1405
#3  0x0805d96e in fpEvalPacket (p=0xbffff4c0) at fpdetect.c:910
#4  0x0805aabe in Detect (p=0xbffff4c0) at detect.c:314
#5  0x0805a81e in Preprocess (p=0xbffff4c0) at detect.c:117
#6  0x08055e68 in ProcessPacket (user=0x0, pkthdr=0xbffff990, pkt=0x81eb910
"") at snort.c:603
#7  0x4001cb53 in pcap_read_packet (handle=0x81eb770, callback=0x8055d58
<ProcessPacket>, userdata=0x0) at ./pcap-linux.c:446
#8  0x4001dc9f in pcap_loop (p=0x81eb770, cnt=-1, callback=0x8055d58
<ProcessPacket>, user=0x0) at ./pcap.c:79
#9  0x08056fc1 in InterfaceThread (arg=0x0) at snort.c:1533
#10 0x08055d4c in SnortMain (argc=8, argv=0xbffffb74) at snort.c:541
#11 0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20031204/32eb142d/attachment.html>

More information about the Snort-users mailing list