possible bug in call to libipt_state
Hi,
On FC8, kernel 2.6.24.3-50.fc8 (and earlier, actually), iptables v1.3.8, I am receiving the following error when trying to load rules from a shell script:
Couldn't load match '-state':/lib64/iptables/libipt_-state.so: cannot open shared object file: No such file or directory
In fact, there is no such file or directory, because the call is being incorrectly made to 'libipt_-state.so', instead of 'libipt_state.so':
# ls -la /lib64/iptables | grep state -rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libip6t_state.so -rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libipt_state.so
I am not at all certain whether this is a problem in the Fedora iptables package, the kernel, or iptables itself. If anyone could help me locate the source of the call, and could also confirm that this really is a bug, I'll happily report it!
Thanks,
Steven Stromer
What steps did you follow to debug your script before this conclusion.
ukeme noah
----- Original Message ----- From: "Steven Stromer" <[email protected]>
To: <[email protected]>
Sent: Monday, March 31, 2008 4:12 PM
Subject: possible bug in call to libipt_state
Quoted 21 lines
Hi,
On FC8, kernel 2.6.24.3-50.fc8 (and earlier, actually), iptables v1.3.8, I am receiving the following error when trying to load rules from a shell script:
Couldn't load match '-state':/lib64/iptables/libipt_-state.so: cannot open shared object file: No such file or directory
In fact, there is no such file or directory, because the call is being incorrectly made to 'libipt_-state.so', instead of 'libipt_state.so':
# ls -la /lib64/iptables | grep state(quoted diff) +0
-2-rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libip6t_state.so -rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libipt_state.soI am not at all certain whether this is a problem in the Fedora iptables package, the kernel, or iptables itself. If anyone could help me locate the source of the call, and could also confirm that this really is a bug, I'll happily report it!
Thanks,
Steven Stromer--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Hey.
The reason might be that there is something like "---state" (note 3 - instead of normal 2). You should start looking from /etc/init.d/iptables (or firewall or something similar). A quick workaround could be to create a symbolic link for libipt_-state.so (ln -sf libipt_state.so /lib64/iptables/libipt_-state.so) if it's something that needs to be fixed now and the cause remains unclear (which I doubt).
Steven Stromer <[email protected]> kirjoitti Mon, 31 Mar 2008 23:12:10 +0300:
Quoted 21 lines
Hi,
On FC8, kernel 2.6.24.3-50.fc8 (and earlier, actually), iptables v1.3.8, I am receiving the following error when trying to load rules from a shell script:
Couldn't load match '-state':/lib64/iptables/libipt_-state.so: cannot open shared object file: No such file or directory
In fact, there is no such file or directory, because the call is being incorrectly made to 'libipt_-state.so', instead of 'libipt_state.so':
# ls -la /lib64/iptables | grep state(quoted diff) +0
-2-rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libip6t_state.so -rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libipt_state.soI am not at all certain whether this is a problem in the Fedora iptables package, the kernel, or iptables itself. If anyone could help me locate the source of the call, and could also confirm that this really is a bug, I'll happily report it!
Thanks,
Steven Stromer--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Humbled again. After much searching found '-m -state --state' in two locations, instead of '-m state --state'. I had searched long and hard for '-m state -state', and '-m state ---state' before posting. Finding errors in iptables is like the sysadmin's version of 'Where's Waldo?' Thanks to you and Ukeme for your aid.
Steven
Quoted 32 lines · Eljas Alakulppi
Hey.
The reason might be that there is something like "---state" (note 3
- instead of normal 2). You should start looking from/etc/init.d/
iptables (or firewall or something similar). A quick workaround could be to create a symbolic link for libipt_-state.so (ln -sf libipt_state.so/lib64/iptables/libipt_-state.so) if it's something that needs to be fixed now and the cause remains unclear (which I doubt).Steven Stromer <[email protected]> kirjoitti Mon, 31 Mar 2008 23:12:10 +0300:
Quoted 21 lines
Hi,
On FC8, kernel 2.6.24.3-50.fc8 (and earlier, actually), iptables v1.3.8, I am receiving the following error when trying to load rules from a shell script:
Couldn't load match '-state':/lib64/iptables/libipt_-state.so: cannot open shared object file: No such file or directory
In fact, there is no such file or directory, because the call is being incorrectly made to 'libipt_-state.so', instead of 'libipt_state.so':
# ls -la /lib64/iptables | grep state(quoted diff) +0
-2-rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libip6t_state.so -rwxr-xr-x 1 root root 6888 2007-11-05 12:08 libipt_state.soI am not at all certain whether this is a problem in the Fedora iptables package, the kernel, or iptables itself. If anyone could help me locate the source of the call, and could also confirm that this really is a bug, I'll happily report it!
Thanks,
Steven Stromer--
To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html