ip neigh flush dev eth0 is hanging
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iproute (Ubuntu) |
Fix Released
|
Medium
|
Ubuntu Desktop Bugs |
Bug Description
The filewall script, builded by fwbuilder, "hangs", if i start it after
compiling. I see the problem with the line::
ip route neigh flush dev eth0
The top command shows the looping process. The double -s option show the situation::
ip -s -s route neigh flush dev eth0
10.165.166.155 lladdr 00:09:5b:ee:72:55 ref 1 used 60/60/60 nud stale
*** Round 1, deleting 1 entries ***
10.165.166.155 lladdr 00:09:5b:ee:72:55 ref 1 used 60/60/60 nud stale
*** Round 2, deleting 1 entries ***
10.165.166.155 lladdr 00:09:5b:ee:72:55 ref 1 used 60/60/60 nud stale
*** Round 3, deleting 1 entries ***
10.165.166.155 lladdr 00:09:5b:ee:72:55 ref 1 used 60/60/60 nud stale
and so on...
**Workarounds:**
The del command can remove the entry::
ip neigh del 10.165.166.155 dev eth0
RTNETLINK answers: Invalid argument
The arp -d command can also stops the looping ip route process::
ip neigh flush dev eth0 &
[1] 27892
for a in `arp -n | awk '/^[0-9]/ { print $1; }'`; do arp -d $a; done
<RETURN>
[1]+ Done ip neigh flush dev eth0
**Possible Solutions:**
This error situation is documented in the "Debian BugNr:
282492":http://
above are from there. Wilfried Weissmann created a
"patch":http://
**Fwbuilder:**
The flush functionality came with Firewall Builder 2.0.4. The firewall script,
created by fwbuilder, containing the following code::
$IP -4 neigh flush dev eth0 >/dev/null 2>&1
$IP -4 addr flush dev eth0 secondary label "eth0:FWB*" >/dev/null 2>&1
$IP -4 neigh flush dev lo >/dev/null 2>&1
$IP -4 addr flush dev lo secondary label "lo:FWB*" >/dev/null 2>&1
Changed in iproute: | |
assignee: | debzilla → desktop-bugs |
status: | Unconfirmed → Confirmed |
Sorry, i forgot: this is a fresh Hoary installation with the standard packages:
uname -a 5-amd64- generic #1 Tue Apr 5 12:21:57 UTC 2005 x86_64 GNU/Linux
Linux fugazzi 2.6.10-
dpkg -l iproute Unknown/ Install/ Remove/ Purge/Hold Not/Installed/ Config- files/Unpacked/ Failed- config/ Half-installed /Hold/Reinst- required/ X=both- problems (Status,Err: uppercase=bad) ======= ======- ======= ======= ==-==== ======= ======= ======= ======= ======= ======= ==
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Description
+++-===
ii iproute 20041019-1 Professional tools to control the
networking in
This bug is in my configuration reproducable.