[ARGUS] FreeBSD 4.7 segfault.

Scott A. McIntyre scott at xs4all.net
Thu Jun 24 15:42:16 EDT 2004


Hi,

On FreeBSD-4.7 I can run Argus in daemon mode for about half an hour (if 
I'm lucky) before it segfaults:

Core was generated by `argus'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libwrap.so.3...done.
Reading symbols from /usr/lib/libpcap.so.2...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x8053113 in ArgusRemoveHashEntry (htblhdr=0x8358900) at 
./ArgusUtil.c:754
754     ./ArgusUtil.c: No such file or directory.
(gdb) where
#0  0x8053113 in ArgusRemoveHashEntry (htblhdr=0x8358900) at 
./ArgusUtil.c:754
#1  0x8052d08 in ArgusDeleteObject (obj=0x8421600) at ./ArgusUtil.c:553
#2  0x804dff9 in ArgusTimeOut (flow=0x8421600) at ./ArgusModeler.c:1732
#3  0x8052b5f in ArgusProcessQueue (queue=0x8136090, status=4 '\004') at 
./ArgusUtil.c:461
#4  0x804d96b in ArgusSystemTimeout () at ./ArgusModeler.c:1413
#5  0x804c24a in ArgusProcessPacket (ep=0x806f7e0, length=1506, 
tvp=0x813bca4) at ./ArgusModeler.c:489
#6  0x8051305 in ArgusEtherPacket (user=0x0, h=0x813bca4, p=0x813bcb6 "") 
at ./ArgusSource.c:483
#7  0x4809fe41 in pcap_read () from /usr/lib/libpcap.so.2
#8  0x8051ca1 in ArgusGetPackets () at ./ArgusSource.c:959
#9  0x804ae6b in ArgusLoop () at ./argus.c:510
#10 0x804ae2f in main (argc=3, argv=0xbfbffb20) at ./argus.c:439
(gdb) quit

This is with:

Argus Version 2.0.6.fixes.1

Does this look familiar?  I did a quick search but couldn't find a match 
with Known Issues.

Argus is being invoked as:

/usr/local/sbin/argus -F /usr/local/argus/etc/argus.conf

Where the latter looks like:

ARGUS_DAEMON=yes
ARGUS_MONITOR_ID=40
ARGUS_ACCESS_PORT=<some integer>
ARGUS_INTERFACE=fxp1
ARGUS_OUTPUT_FILE=/var/log/argus/argus_data
ARGUS_SET_PID=yes
ARGUS_GO_PROMISCUOUS=yes
ARGUS_FLOW_STATUS_INTERVAL=5
ARGUS_MAR_STATUS_INTERVAL=60
ARGUS_GENERATE_RESPONSE_TIME_DATA=yes
ARGUS_GENERATE_JITTER_DATA=yes
ARGUS_GENERATE_MAC_DATA=no
ARGUS_CAPTURE_DATA_LEN=1024
ARGUS_FILTER_OPTIMIZER=yes
ARGUS_FILTER="not host a.b.c.d"


Thanks for suggestions...

Scott






More information about the argus mailing list