[Snort-users] Flexresp Issue with sort 1.9?

Chris N chris.northrop at ...406...
Thu Jan 2 07:52:21 EST 2003


Hello Group,

Does anyone know of any issues using snort with "Snort 1.9.0" and "Libnet
1.1.0".

libpcap-0.7.1
--enable-flexresp


Errors:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I/usr/include/pcap -I..
/../src/output-plugins -I../../src/detection-plugins -I../../src/preprocessors  
-I/usr/include  -g -O2 -Wall -DENABLE_RESPONSE -c sp_react.c
sp_react.c: In function `ReactInit':
sp_react.c:146: warning: implicit declaration of function `libnet_open_raw_sock'
sp_react.c: In function `SendTCP':
sp_react.c:444: `IP_H' undeclared (first use in this function)
sp_react.c:444: (Each undeclared identifier is reported only once
sp_react.c:444: for each function it appears in.)
sp_react.c:444: `TCP_H' undeclared (first use in this function)
sp_react.c:456: warning: implicit declaration of function `libnet_build_ip'
sp_react.c:458: `PRu16' undeclared (first use in this function)
sp_react.c:478: warning: passing arg 8 of `libnet_build_tcp' makes integer from
pointer without a cast
sp_react.c:478: too few arguments to function `libnet_build_tcp'
sp_react.c:480: warning: passing arg 1 of `libnet_do_checksum' from incompatible
pointer type
sp_react.c:480: warning: passing arg 2 of `libnet_do_checksum' makes pointer
from integer without a cast
sp_react.c:480: too few arguments to function `libnet_do_checksum'
sp_react.c:482: warning: implicit declaration of function `libnet_write_ip'
sp_react.c:484: warning: implicit declaration of function `libnet_error'
sp_react.c:484: `LIBNET_ERR_CRITICAL' undeclared (first use in this function)
sp_react.c:488: warning: implicit declaration of function
`libnet_destroy_packet'
make[3]: *** [sp_react.o] Error 1

Maybe I'm just missing something?

Chris Northrop
CT-Lottery





More information about the Snort-users mailing list