Syntax Errors with Multihomed Hosts

Bug #53328 reported by Richard Laager on 2006-07-18
Affects Status Importance Assigned to Milestone
ipkungfu (Ubuntu)

Bug Description

Binary package hint: ipkungfu

If you have a host with the same interface on two different subnets, you end up with syntax errors that prevent ipkungfu from working.

The fix, to /usr/sbin/ipkungfu is:

# Detect EXT_NET if not specified
if [ -z "$EXT_NET" ] ; then
 EXT_NET=`route -n | grep ^ | awk '{print $8}'`


# Detect EXT_NET if not specified
if [ -z "$EXT_NET" ] ; then
 EXT_NET=`route -n | grep ^ | awk '{print $8}' | head -n1`

That is, add the "| head -n1" part.

Jim Qode (jimqode) on 2007-07-05
Changed in ipkungfu:
status: New → Confirmed
Marco Rodrigues (gothicx) wrote :

I've contacted author about this problem...

Changed in ipkungfu:
assignee: nobody → gothicx
Changed in ipkungfu:
assignee: gothicx → nobody
Changed in ipkungfu:
status: Unknown → New
Changed in ipkungfu:
importance: Undecided → Low
Richard Laager (rlaager) wrote :

For the record, I haven't used ipkungfu in years (since ufw was introduced). I've removed by direct subscription to this bug, as I no longer care.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.