Hi all,
Danke für die Antworten!!
* ndisc6 macht irgendwie nicht das, was ich erwarte ndisc6 <adresse> eth0 Soliciting <adresse> (<adresse>) on eth0... Timed out. Timed out. Timed out. No response.
* ndping lässt sich nicht kompilieren (siehe unten) * ip neighbor werde ich morgen testen, das klingt vielversprechend!
Gute Nacht
Gruss Tobias
PS: Sorry für das Durcheinander mit den Threads in der Mailinglist =)
gcc -o ndping ndping.c -Wall -lnet -lpcap ndping.c: In function ‘callback’: ndping.c:65: error: ‘LIBNET_ICMPV6_NS_H’ undeclared (first use in this function) ndping.c:65: error: (Each undeclared identifier is reported only once ndping.c:65: error: for each function it appears in.) ndping.c:66: error: ‘LIBNET_ICMPV6_OPT_TLLA_H’ undeclared (first use in this function) ndping.c:87: error: ‘struct libnet_icmpv6_hdr’ has no member named ‘icmp_target1’ ndping.c:91: error: ‘struct libnet_icmpv6_hdr’ has no member named ‘icmp_target2’ ndping.c:97: error: dereferencing pointer to incomplete type ndping.c:97: error: dereferencing pointer to incomplete type ndping.c:97: error: ‘struct libnet_icmpv6_hdr’ has no member named ‘icmp_rso’ ndping.c:101: error: dereferencing pointer to incomplete type ndping.c:102: error: ‘struct libnet_icmpv6_hdr’ has no member named ‘icmp_rso’ ndping.c: In function ‘ndping’: ndping.c:160: warning: implicit declaration of function ‘libnet_build_icmpv6_ns’ ndping.c:161: error: ‘ICMP6_NEIGHBORSO’ undeclared (first use in this function) ndping.c:182: error: ‘LIBNET_ICMPV6_NS_H’ undeclared (first use in this function) ndping.c:196: error: ‘ETHERTYPE_IPV6’ undeclared (first use in this function) ndping.c:200: warning: pointer targets in passing argument 1 of ‘libnet_build_ethernet’ differ in signedness /usr/include/./libnet/libnet-functions.h:490: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ ndping.c:200: warning: pointer targets in passing argument 2 of ‘libnet_build_ethernet’ differ in signedness /usr/include/./libnet/libnet-functions.h:490: note: expected ‘u_int8_t *’ but argument is of type ‘char *’ make: *** [ndping] Error 1