Hi,

Just to let you be aware of the following pb when using barnyard2 with
prelude output enabled but without being able to do any reverse lookup
for hostname.
Populating /etc/resolv.conf helps resolving this, but a core dump
isn't that so nice and won't help without a debugger since no error
message is printed anywhere.
Please find below gdb output:

(gdb) core barnyard2.core
Core was generated by `barnyard2'.
Program terminated with signal 11, Segmentation fault.
Loaded symbols for /usr/local/lib/libpcap.so.1
Loaded symbols for /lib/libm.so.5
Loaded symbols for /usr/local/lib/libprelude.so.21
Loaded symbols for /usr/local/lib/libltdl.so.7
Loaded symbols for /usr/local/lib/libgnutls.so.26
Loaded symbols for /usr/local/lib/libnettle.so.4
Loaded symbols for /usr/local/lib/libgmp.so.10
Loaded symbols for /usr/local/lib/libhogweed.so.2
Loaded symbols for /lib/libz.so.6
Loaded symbols for /usr/local/lib/libtasn1.so.5
Loaded symbols for /usr/local/lib/libp11-kit.so.0
Loaded symbols for /usr/local/lib/libgcrypt.so.19
Loaded symbols for /usr/local/lib/libgpg-error.so.0
Loaded symbols for /usr/local/lib/libintl.so.9
Loaded symbols for /usr/local/lib/libiconv.so.3
Loaded symbols for /lib/libthr.so.3
Loaded symbols for /lib/libc.so.7
Loaded symbols for /usr/local/lib/nss_ldap.so.1
Loaded symbols for /usr/local/lib/pkcs11/p11-kit-trust.so
Loaded symbols for /libexec/ld-elf.so.1
#0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
"monitor") at prelude-client.c:381
381     in prelude-client.c
[New Thread 28804f00 (LWP 101446/barnyard2)]
[New Thread 28804300 (LWP 100080/barnyard2)]
(gdb) where
#0  0x2812a091 in get_fqdn (analyzer=0x28e62f80, nodename=0xbfbfe250
"monitor") at prelude-client.c:381
#1  0x2812a29b in get_sys_info (analyzer=0x28e62f80) at prelude-client.c:419
#2  0x2812a44b in fill_client_infos (client=0x28e60ac0, program=0x0)
at prelude-client.c:451
#3  0x2812c3d7 in prelude_client_init (client=0x28e60ac0) at
prelude-client.c:1363
#4  0x2812c49d in prelude_client_start (client=0x28e60ac0) at
prelude-client.c:1400
#5  0x08071e3d in AlertPreludeSetupAfterSetuid () at spo_alert_prelude.c:795
#6  0x0804e1f0 in Barnyard2PostInit () at barnyard2.c:1838
#7  0x0804b762 in Barnyard2Main (argc=12, argv=0xbfbfec24) at barnyard2.c:320
#8  0x0804b721 in main (argc=Cannot access memory at address 0x0
) at barnyard2.c:285



Regards,

:Nicolas
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to