View unanswered posts | View active topics It is currently Sat Apr 29, 2017 9:29 pm



Post new topic Reply to topic  [ 3 posts ] 
 #warning only commercial version has ipv4 defragmentation! 
Author Message

Joined: Fri Mar 28, 2014 6:59 pm
Posts: 8
Reply with quote
Post #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!


Sat Mar 29, 2014 3:41 pm
Profile
Site Admin

Joined: Wed Sep 16, 2009 10:09 pm
Posts: 390
Reply with quote
Post 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.


Sun Mar 30, 2014 8:45 pm
Profile WWW

Joined: Fri Mar 28, 2014 6:59 pm
Posts: 8
Reply with quote
Post Re: #warning only commercial version has ipv4 defragmentatio
I'm a bit late, but thank you!


Thu Apr 10, 2014 7:29 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.