Re: [PATCH] using an interface without IP address
Domenico Andreoli <[email protected]>
| Newsgroups | gmane.comp.security.libnet |
|---|---|
| Message-ID | <[email protected]> |
Mike Schiffman wrote:
> Hey guys, just a quick note, this is applied to the latest 1.1.2 tree
> which I probably will release in the short term to make this
> functionality available. Thanks to Fred and Ste Jones. This looks like
> it works!
>
hmmm.. i just compiled 1.1.2rc4 but it does not seem fixed to me :(
# ifconfig eth1; ifdown eth1; arping -i eth1 192.168.70.70; ifup eth1
eth1 Link encap:Ethernet HWaddr 00:00:F4:AF:00:80
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::200:f4ff:feaf:80/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:22 dropped:0 overruns:0 carrier:22
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:1988 (1.9 KiB)
Interrupt:177 Base address:0xa400
arping: libnet_init(): libnet_select_device(): no such device found: eth1.
# ifdown eth1; arping -i eth1 192.168.70.70; ifup eth1
arping: libnet_init(): libnet_select_device(): no such device found: eth1.
# ifdown eth1; ifconfig eth1 0.0.0.0 up; arping -i eth1 192.168.70.70; ifup eth1
arping: libnet_get_ipaddr4(libnet): libnet_get_ipaddr4(): ioctl(): Cannot assign requested address
#
here at debian libnet is compiled also as dynamic library so i did not recompile arping
(my patch to achieve dynamic shareds is always available, just ask) to produce the above
results. recompiling arping as static executable anyway does not change them.
regards
cavok
-----[ Domenico Andreoli, aka cavok
--[ http://filibusta.crema.unimi.it/~cavok/gpgkey.asc
---[ 3A0F 2F80 F79C 678A 8936 4FEE 0677 9033 A20E BC50