[1405] in linux-net channel archive
Re: ARP broken in 1.3.42
daemon@ATHENA.MIT.EDU (John Paul Morrison)
Sun Nov 19 05:12:58 1995
From: jmorriso@bogomips.com (John Paul Morrison)
To: gpg109@rsphy1.anu.edu.au (Paul Gortmaker)
Date: Sat, 18 Nov 1995 23:57:36 -0800 (PST)
Cc: kuznet@ms2.inr.ac.ru, iialan@www.linux.org.uk, linux-net@vger.rutgers.edu
In-Reply-To: <9511181144.AA21694@rsphy6.anu.edu.au> from "Paul Gortmaker" at Nov 18, 95 10:44:52 pm
>
>
>
> Hi,
>
> ARP is broken (rather seriously) in '42. I can no longer ifconfig
> one ethercard down and bring up another without arp complaining.
>
Broken, and also the arp rules(?) are changed in a way I don't like.
For example, after adding a proxy arp + netmask, the arp cache would
no longer listen to arp replies. with a packet sniffer I would see it
do an arp request and see the reply; 1.3.42 would ignore it and then
do another arp request. this would go back and forth for a bit.
Then I found that after adding the proxy arp + netmask, I could not
remove it with the arp program.
if I ifconfigged down and up, it would not recover.
When I rebooted, and left out the proxy arp + netmask, arp would
seem to work OK.
arp now has some funny (and IMHO wrong) ideas about what you should be
allowed to set with the arp command: I can not manually set a
permanent arp entry for a host. I checked and the code seems to
enforce this. This is wrong. I should be able to add a permanent
non-public entry if I want to.
The old arp ioctl behaviour doesnt seem to be completely supported, so
old binaries break.
If you recompile arp (or other utilities that use the SIOCGARP,
SIOCSARP, like the ax25 utils) they *all* break because the struct
arpreq now has extra junk tacked on the end. It's probably good
programming practice for these programs to clear the whole structure
anyway; but maybe it would be less complicated to create a new set of
IOCTLs and structures to support the new arp stuff.
---------------------------------------------------------------------------
BogoMIPS Research Labs -- bogosity research & simulation -- VE7JPM --
jmorriso@bogomips.com ve7jpm@ve7jpm.ampr.org jmorriso@ve7ubc.ampr.org
---------------------------------------------------------------------------