Public bug reported:
Binary package hint: linux-source-2.6.20
My Firewall script that previously run fine in Edgy, now fails in Feisty,
I have isolated the lines involved and run it on 3 separate Feisty machines to
confirm it fails consistently.
Run the following script to reproduce the problem, removing any one of the
lines will not produce the error,
and also changing the nlgroup to 31 (or lower) will not produce the error, so
it is a particular combination.
the last line in the script gives the following error
iptables: Too many levels of symbolic links
I have included an strace and versions below the script, if you need any
further info, please let me know.
Cheers
Brin
--------------------------
#!/bin/bash
iptables -F
iptables -X
iptables -N IN_ULOG
iptables -N ICMP_LIMIT
iptables -A FORWARD -m state --state RELATED,ESTABLISHED -j IN_ULOG
iptables -A FORWARD -p icmp -m icmp --icmp-type 8 -j ICMP_LIMIT
iptables -A ICMP_LIMIT -i eth1 -m limit --limit 3/sec -j IN_ULOG
iptables -A IN_ULOG -j ULOG --ulog-nlgroup 32
--------------------------
--------------------------
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */,
"filter\0\337\374\"\312\365\263n\310\370\310\332\n\365\374"..., [84]) = 0
getsockopt(3, SOL_IP, 0x41 /* IP_??? */,
"filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [1880]) = 0
setsockopt(3, SOL_IP, 0x40 /* IP_??? */,
"filter\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 2124) = -1 ELOOP
(Too many levels of symbolic links)
write(2, "iptables: Too many levels of sym"..., 44iptables: Too many levels of
symbolic links
) = 44
exit_group(1) = ?
Process 9751 detached
-----------------------------
Linux Feisty 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
GNU/Linux
iptables 1.3.6.0debian1-5ubuntu2
** Affects: linux-source-2.6.20 (Ubuntu)
Importance: Undecided
Status: Unconfirmed
--
[Feisty regression] iptables: Too many levels of symbolic links
https://bugs.launchpad.net/bugs/111180
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs