All of lore.kernel.org
 help / color / mirror / Atom feed
* possible bug in call to libipt_state
@ 2008-03-31 20:12 Steven Stromer
  2008-03-31 20:44 ` Ukeme Noah
  2008-03-31 20:46 ` Eljas Alakulppi
  0 siblings, 2 replies; 4+ messages in thread
From: Steven Stromer @ 2008-03-31 20:12 UTC (permalink / raw)
  To: netfilter

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re:  possible bug in call to libipt_state
  2008-03-31 20:12 possible bug in call to libipt_state Steven Stromer
@ 2008-03-31 20:44 ` Ukeme Noah
  2008-03-31 20:46 ` Eljas Alakulppi
  1 sibling, 0 replies; 4+ messages in thread
From: Ukeme Noah @ 2008-03-31 20:44 UTC (permalink / raw)
  To: netfilter, Steven Stromer

What steps did you follow to debug your script before this conclusion.

ukeme noah

----- Original Message ----- 
From: "Steven Stromer" <filter@stevenstromer.com>
To: <netfilter@vger.kernel.org>
Sent: Monday, March 31, 2008 4:12 PM
Subject: 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: possible bug in call to libipt_state
  2008-03-31 20:12 possible bug in call to libipt_state Steven Stromer
  2008-03-31 20:44 ` Ukeme Noah
@ 2008-03-31 20:46 ` Eljas Alakulppi
  2008-04-03  3:54   ` [solved] " Steven Stromer
  1 sibling, 1 reply; 4+ messages in thread
From: Eljas Alakulppi @ 2008-03-31 20:46 UTC (permalink / raw)
  To: Steven Stromer, netfilter

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 <filter@stevenstromer.com> kirjoitti Mon, 31 Mar 2008  
23:12:10 +0300:

> 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
>
> --
> To unsubscribe from this list: send the line "unsubscribe netfilter" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [solved] possible bug in call to libipt_state
  2008-03-31 20:46 ` Eljas Alakulppi
@ 2008-04-03  3:54   ` Steven Stromer
  0 siblings, 0 replies; 4+ messages in thread
From: Steven Stromer @ 2008-04-03  3:54 UTC (permalink / raw)
  To: netfilter

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


On Mar 31, 2008, at 4:46 PM, Eljas Alakulppi wrote:

> 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 <filter@stevenstromer.com> kirjoitti Mon, 31 Mar  
> 2008 23:12:10 +0300:
>
>> 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
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe  
>> netfilter" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-04-03  3:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-31 20:12 possible bug in call to libipt_state Steven Stromer
2008-03-31 20:44 ` Ukeme Noah
2008-03-31 20:46 ` Eljas Alakulppi
2008-04-03  3:54   ` [solved] " Steven Stromer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.