[Cs22800] Update
Benjamin Johnson
bsjohnso at midway.uchicago.edu
Sun Nov 24 23:14:54 CST 2002
I'm moving ahead with trying to get my stuff ready to be released to
other honeynet people for testing. I am having problems with compiling
my monitoring part (that regularly checks /dev/sebek for data then
encrypts it and spoofs addresses then sends it over the wire).
I get these error messages to begin with:
bash-2.05a# gcc -I/usr/lib/ -c sdm_utils.c -I./
In file included from sdm_utils.c:38:
sdm_utils.h:113: warning: `struct libnet_link_int' declared inside
parameter list
sdm_utils.h:113: warning: its scope is only this definition or
declaration, which is probably not what you want.
sdm_utils.c: In function `open_socket':
sdm_utils.c:154: `LIBNET_ERR_FATAL' undeclared (first use in this function)
sdm_utils.c:154: (Each undeclared identifier is reported only once
sdm_utils.c:154: for each function it appears in.)
sdm_utils.c: At top level:
sdm_utils.c:166: warning: `struct libnet_link_int' declared inside
parameter list
sdm_utils.c:166: conflicting types for `create_udp'
sdm_utils.h:113: previous declaration of `create_udp'
sdm_utils.c: In function `create_udp':
sdm_utils.c:201: `PRu32' undeclared (first use in this function)
sdm_utils.c:231: `PRu16' undeclared (first use in this function)
sdm_utils.c:260: `LIBNET_IP_H' undeclared (first use in this function)
sdm_utils.c:267: warning: passing arg 6 of `libnet_build_ethernet' from
incompatible pointer type
sdm_utils.c:267: too few arguments to function `libnet_build_ethernet'
sdm_utils.c:277: warning: passing arg 3 of `libnet_build_udp' makes
integer from pointer without a cast
sdm_utils.c:277: too few arguments to function `libnet_build_udp'
sdm_utils.c:280: `ETH_H' undeclared (first use in this function)
sdm_utils.c:280: warning: passing arg 2 of `libnet_do_checksum' makes
pointer from integer without a cast
sdm_utils.c:280: too few arguments to function `libnet_do_checksum'
sdm_utils.c:285: too few arguments to function `libnet_do_checksum'
I remeber getting this error once when I installed sebek on my linux
machine, although I cannot remember how I fixed it. I think it has
something to do with libnet although I cannot remember what (and I have
libnet installed on my freebsd machine).
Any ideas?
Thanks,
Ben
--
Benjamin Johnson <bsjohnso at midway.uchicago.edu>
"I do not fear computers. I fear the lack of them."
- Isaac Asimov
More information about the CS22800
mailing list