[syslog-ng] Syslog-ng 2.0.4 and libnet...

Root Administrator root.regist at gmail.com
Fri Jul 20 08:43:05 CEST 2007


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

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
In file included from /home/bazsi/zwa/git//syslog-ng/syslog-
ng--mainline--2.0/src/cfg-grammar.y:15:
afinet.h:30: libnet.h: No such file or directory
*** Error code 1
make: Fatal error: Command failed for target `cfg-grammar.o'
Current working directory /usr/local/src/syslog-ng-2.0.4/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/syslog-ng-2.0.4
*** Error code 1
make: Fatal error: Command failed for target `all'
bash-2.05#

Is libnet right version to compile syslog-ng with option of
--enable-spoof-source ?
Is my preparation enough to successfully compile syslog-ng 2.0.4 ?
Any other libraries or tools needed to do so ?

Regards

Jabberwock
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20070720/638905f6/attachment.html


More information about the syslog-ng mailing list