Xplico.org
http://forum.xplico.org/

#warning only commercial version has ipv4 defragmentation!
http://forum.xplico.org/viewtopic.php?f=3&t=553
Page 1 of 1

Author:  vsk [ Sat Mar 29, 2014 3:41 pm ]
Post subject:  #warning only commercial version has ipv4 defragmentation!

Hi all,
it's my first post here. Tried to find some help on the issue, but no luck.
I'm building xplico on x64 Slackware 14.1 and get the following error:

cc -rdynamic -I/opt/xplico-1.1.0/include -I/opt/xplico-1.1.0/common/include -I/opt/xplico-1.1.0/dissectors/include -I/opt/xplico-1.1.0/capt_dissectors/include -I/opt/xplico-1.1.0/dispatch/include -I/opt/xplico-1.1.0/third-party/GeoIP-1.6.0/libGeoIP/ -Wall -fPIC -D_FILE_OFFSET_BITS=64 -DXPL_PEDANTIC_STATISTICS=1 -g -ggdb -O0 -DFTBL_SORT=1 -DXPL_CHECK_CODE=1 -DXPL_X86=1 -DGEOIP_LIBRARY=1 -DLOG_DIS_VAR_NAME=dis_ip_log_id -c -o ip.o ip.c
ip.c: In function 'IpDissector':
ip.c:173:2: warning: #warning only commercial version has ipv4 defragmentation! [-Wcpp]
#warning only commercial version has ipv4 defragmentation!
^
ip.c: In function 'DissecRegist':
ip.c:309:22: error: 'DLT_IPV4' undeclared (first use in this function)
dep.val.uint16 = DLT_IPV4;
^
ip.c:309:22: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [ip.o] Error 1
make[2]: Leaving directory `/opt/xplico-1.1.0/dissectors/ip'
make[1]: *** [subdir] Error 1
make[1]: Leaving directory `/opt/xplico-1.1.0/dissectors'
make: *** [subdir] Error 1

Any ideas? Should I buy GeoIP?
Thanx!

Author:  gianluca.costa [ Sun Mar 30, 2014 8:45 pm ]
Post subject:  Re: #warning only commercial version has ipv4 defragmentatio

Hi vsk,
the issues are related to the NOT defined DLT_IPV4 and DLT_IPV6 in your distribution.
To fix (work around) the problems add:
ip.c
#define DLT_IPV4 228

ipv6.c
#define DLT_IPV6 229

It is not necessary to buy Geo IP, and ipv4 fragmentation doesn't stop your compilation.

Ciao.

Author:  vsk [ Thu Apr 10, 2014 7:29 pm ]
Post subject:  Re: #warning only commercial version has ipv4 defragmentatio

I'm a bit late, but thank you!

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/