Hallo *

das hier ist eigentlich offtopic, da es sich mehr um ein Konfigurationsproblem
handelt. Ich versuche vlanping(1) zu installieren. Leider hat sich die Struktur von
Libnet geaendert, bekomme folgenden Fehler:

Code:

, make
gcc -I../hack_library vlanping.c -lnet ../hack_library/hack_library.o -o vlanping
In file included from vlanping.c:31:
vlanping.h:77: error: syntax error before '*' token
vlanping.h:77: warning: data definition has no type or storage class
vlanping.h:79: error: syntax error before "icmp_tag"
vlanping.h:79: warning: data definition has no type or storage class
vlanping.h:80: error: syntax error before "ip_tag"
vlanping.h:80: warning: data definition has no type or storage class
vlanping.h:81: error: syntax error before "ether_tag"
vlanping.h:81: warning: data definition has no type or storage class
vlanping.c: In function `main':
vlanping.c:89: warning: assignment makes pointer from integer without a cast
vlanping.c:203: error: `LIBNET_LINK_ADV' undeclared (first use in this function)
vlanping.c:203: error: (Each undeclared identifier is reported only once
vlanping.c:203: error: for each function it appears in.)
vlanping.c:205: warning: assignment makes pointer from integer without a cast
vlanping.c:234: error: `LIBNET_IPV4_H' undeclared (first use in this function)
vlanping.c:249: warning: passing arg 9 of `libnet_build_ipv4' makes pointer from integer without a cast
vlanping.c:249: warning: passing arg 10 of `libnet_build_ipv4' makes integer from pointer without a cast
vlanping.c:249: error: too many arguments to function `libnet_build_ipv4'
make: *** [vlanping] Error 1

Der Vorgaengerfehler empfahl erstmal #define LIBNET_BIG_ENDIAN 1 zu setzten. Das habe ich soweit getan. In allen meinen installierten libnet
Versionen( ibnet-1.0.2a, libnet-1.0.1a, ...) existiert aber libnet_t nicht mehr.


Code:

, grep -n icmp_tag  vlanping.h  
79:libnet_ptag_t icmp_tag      = 0;
 , grep -n ip_tag  vlanping.h 
80:libnet_ptag_t ip_tag        = 0;
, grep -n ether_tag  vlanping.h 
81:libnet_ptag_t ether_tag     = 0;
die sogenannte "h*ck_libary" die dabei liegt kompilert ohne Probleme.

Hat jemand das Tool zum Laufen bekommen?

Gruss
403

1) http://www.h*ckingvoip.com/sec_tools.html