Probleme mit arp

Einrichten des lokalen Netzes, Verbindung zu anderen Computern und Diensten.
Antworten
crypt
Beiträge: 61
Registriert: 27.07.2003 18:04:44
Kontaktdaten:

Probleme mit arp

Beitrag von crypt » 19.08.2003 13:32:37

Hi ihr Leutz 8)

Ich habe mal wieder Probleme mit arp.... Sobald ich versuche ein Tools zu installieren was irgendwas mit Arp zu tun hast (z.B. dsniff, hunt, arpspoof arpwatch u.s.w. bekomme ich bei 'make' IMMER folgende Meldungen...
.
.
.
synchijack.c:380: warning: comparison between signed and unsigned
cc -Wall -O2 -g -D_REENTRANT -c -o arpspoof.o arpspoof.c
arpspoof.c: In function `arp_spoof_add_item':
arpspoof.c:973: warning: comparison between signed and unsigned
arpspoof.c:983: warning: comparison between signed and unsigned
arpspoof.c: In function `arp_spoof_range_add':
arpspoof.c:1027: warning: comparison between signed and unsigned
arpspoof.c:1037: warning: comparison between signed and unsigned
arpspoof.c:1039: warning: comparison between signed and unsigned
arpspoof.c: In function `arp_spoof_add_h':
arpspoof.c:1123: warning: comparison between signed and unsigned
arpspoof.c:1133: warning: comparison between signed and unsigned
arpspoof.c: In function `arp_spoof_del_h':
arpspoof.c:1186: warning: comparison between signed and unsigned
arpspoof.c:1188: warning: comparison between signed and unsigned
arpspoof.c: In function `arp_spoof_range_user_test':
arpspoof.c:1260: warning: comparison between signed and unsigned
arpspoof.c:1263: warning: comparison between signed and unsigned
arpspoof.c:1270: warning: comparison between signed and unsigned
cc -Wall -O2 -g -D_REENTRANT -c -o hostup.o hostup.c

könnt ihr mir hier weiterhelfen?!?!? :roll:

Benutzeravatar
Bert
Beiträge: 3751
Registriert: 16.07.2002 14:06:52
Wohnort: Dresden
Kontaktdaten:

Beitrag von Bert » 19.08.2003 13:36:07

Ich sehe kein Problem. Nur Warnings, da die Programmierer offensichtlich recht schlammpig sind..

PS: Code ließt sich besser, wenn man die entsprechenden Tags (siehe oberhabl Editorfeld) verwendet.
Programmer: A biological machine designed to convert caffeine into code.
xmpp:bert@debianforum.de

crypt
Beiträge: 61
Registriert: 27.07.2003 18:04:44
Kontaktdaten:

Beitrag von crypt » 19.08.2003 13:47:01

Danke erstmal für die Schnell Antwort.... :D

Hier noch ein Auszug aus einer Fehlermeldung

arptool.c:27: warning: `struct libnet_link_int' declared inside parameter list
arptool.c:27: warning: its scope is only this definition or declaration, which is probably not what you want
arptool.c:28: warning: `struct libnet_link_int' declared inside parameter list
arptool.c: In function `main':
arptool.c:113: warning: implicit declaration of function `libnet_open_link_interface'
arptool.c:113: warning: assignment makes pointer from integer without a cast
arptool.c:121: warning: passing arg 1 of `arp_bcast' from incompatible pointer type
arptool.c:123: warning: passing arg 1 of `arp_tell' from incompatible pointer type
arptool.c: At top level:
arptool.c:134: warning: `struct libnet_link_int' declared inside parameter list
arptool.c:135: error: conflicting types for `arp_tell'
arptool.c:27: error: previous declaration of `arp_tell'
arptool.c: In function `arp_tell':
arptool.c:139: warning: implicit declaration of function `libnet_init_packet'
arptool.c:144: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type
arptool.c:144: error: too few arguments to function `libnet_build_ethernet'
arptool.c:157: warning: passing arg 12 of `libnet_build_arp' from incompatible pointer type
arptool.c:157: error: too few arguments to function `libnet_build_arp'
arptool.c:159: warning: implicit declaration of function `libnet_write_link_layer'
arptool.c:161: error: dereferencing pointer to incomplete type
arptool.c:163: warning: implicit declaration of function `libnet_destroy_packet'
arptool.c: At top level:
arptool.c:170: warning: `struct libnet_link_int' declared inside parameter list
arptool.c:171: error: conflicting types for `arp_bcast'
arptool.c:28: error: previous declaration of `arp_bcast'
arptool.c: In function `arp_bcast':
arptool.c:180: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type
arptool.c:180: error: too few arguments to function `libnet_build_ethernet'
arptool.c:193: warning: passing arg 12 of `libnet_build_arp' from incompatible pointer type
arptool.c:193: error: too few arguments to function `libnet_build_arp'
arptool.c:197: error: dereferencing pointer to incomplete type
make: *** [arptool.o] Fehler 1


wobei aber die LIBNET auf jeden Fall richtig installiert ist (apt-get install libnet).... Auch bei einem apt-get upgrade ist die libnet auf dem neusten Stand?!?!

Chimerer
Beiträge: 514
Registriert: 28.01.2002 16:10:44

Beitrag von Chimerer » 19.08.2003 18:57:39

Hi,

dsniff gibt es auch als deb.

Code: Alles auswählen

apt-get install dsniff
Ansonsten versuch doch mal libnet aus den Sourcen zu installieren. http://www.packetfactory.net/Projects/libnet/

Antworten