lo ate my ip address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.20 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: linux-image-
I have the following script for masquerading local virtual machines in my laptop:
---
root@amartoq-
#!/bin/sh
echo 1 > /proc/sys/
iptables -t nat -A POSTROUTING -j MASQUERADE
root@amartoq-
lrwxrwxrwx 1 root root 18 2007-05-22 03:08 /etc/rc2.
-----
After upgraded linux-image-
The problem is MASQUERADE is somehow BROKEN in the new kernel. The kernel messages are:
[ 1319.928000] MASQUERADE: lo ate my IP address
As a local user:
amartoq@
sendmsg: Operation not permitted
amartoq@
Trying 127.0.0.1
[...hangs there...]
If I delete the MASQUERADE entry and put it again, everything works fine.
I'm CC'ing this bug report to security team, because this upgrade may broke many servers and/or other setups like mine. Any other futher info will send asap.
That configuration doesn't look correct; surely you only want to masquerade packets which are leaving on certain interfaces (e.g., -o eth0), and not _every_ packet leaving the system. Try fixing that, and see if the problem goes away.
Of course, a working configuration (even an incorrect one) shouldn't be affected by a security update if we can help it. Did you verify that booting the old kernel restored the old behaviour?