Package: farpd
Version: 0.2-11
Severity: important
Farpd send arp responses to the broadcast MAC address instead of the
unicast address of the requester. This does not work with all routers.
This bug is documented in farpd's manpage.
Patch to send response to the unicast address::
--- farpd-0.2/arpd.c 2013-01-24 11:12:07.000000000 +0000
+++ farpd-0.2.new/arpd.c 2013-01-24 11:02:13.000000000 +0000
@@ -360,7 +360,7 @@
ethip = (struct arp_ethip *)(arp + 1);
addr_pack(&src.arp_ha, ADDR_TYPE_ETH, ETH_ADDR_BITS,
- ETH_ADDR_BROADCAST, ETH_ADDR_LEN);
+ ethip->ar_sha, ETH_ADDR_LEN);
addr_pack(&src.arp_pa, ADDR_TYPE_IP, IP_ADDR_BITS,
ethip->ar_spa, IP_ADDR_LEN);
In case this patch is accepted, the manpage should be corrected to not
list the bug.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]