Hi,
Hi ALL
I need some advises regarding syslog-ng 2.0.4 compilation with such option as --enable-spoof-source. The reason I need this option is that I would like syslog-ng to behave as source address spoofing. LIBNET prepared is libnet-1.1.2.1.
I configured it in this manner.
bash-2.05# ./configure --enable-dynamic-linking --with-libnet=/usr/local/src/libnet --enable-spoof-source
--with-libnet requires the installation directory of libnet (more precisely the directory in which libnet-config resides).
I compiled it in this manner.
bash-2.05# make make all-recursive Making all in src source='cfg-grammar.c' object='cfg-grammar.o' libtool=no \ depfile='.deps/cfg-grammar.Po' tmpdepfile='.deps/cfg-grammar.TPo' \ depmode=gcc /bin/bash ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/eventlog -DLIBNET_BIG_ENDIAN -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wall -g -c `test -f ' cfg-grammar.c' || echo './'`cfg-grammar.c
And you're missing the libnet include definition. Regards, Sandor -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender does not intend to waive confidentiality or privilege. Use of this email is prohibited when received in error.