netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Hari Hendaryanto <hari.h@csmcom.com>
To: netfilter-devel@vger.kernel.org
Subject: Re: xtables-addons searching libipt_*.so instead of libxt_*.so
Date: Fri, 26 Feb 2010 08:50:04 +0700	[thread overview]
Message-ID: <4B8728CC.20609@csmcom.com> (raw)
In-Reply-To: <4B872607.7030305@csmcom.com>

Hari Hendaryanto wrote:
> Jan Engelhardt wrote:
>> On Friday 2010-02-26 01:48, Hari Hendaryanto wrote:
>>  
>>> when i try to load match, i.e geoip match i found this error
>>>
>>> iptables v1.4.6: Couldn't load match 
>>> `geoip':/lib64/xtables/libipt_geoip.so:
>>> cannot open shared object file: No such file or directory
>>>
>>> i've check /lib64/xtables and i see libxt_geoip.so is there
>>>
>>> why iptables search /lib64/xtables/libipt_geoip.so not
>>> /lib64/xtables/libxt_geoip.so ?
>>>     
>>
>> This is a suboptimal error message generated by iptables. iptables
>> tries to load both libxt_ and libipt_/libip6t_, however when all
>> failed, it only prints the last filename that was tried. We clearly
>> need to improve upon that.
>>
>> You can try
>>
>>     strace -e open iptables -m geoip -h
>>
>> and see if it opens libxt_geoip.so at all.
>> -- 
>> To unsubscribe from this list: send the line "unsubscribe 
>> netfilter-devel" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>   
> thanks for quick response,
>
> running
>
> strace -e open iptables -m geoip -h
>
> result
>
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> open("/lib64/libip4tc.so.0", O_RDONLY)  = 3
> open("/lib64/libxtables.so.4", O_RDONLY) = 3
> open("/lib64/libm.so.6", O_RDONLY)      = 3
> open("/lib64/libc.so.6", O_RDONLY)      = 3
> open("/lib64/libdl.so.2", O_RDONLY)     = 3
> open("/lib64/xtables/libxt_geoip.so", O_RDONLY) = -1 EACCES 
> (Permission denied)
> open("/lib64/xtables/libipt_geoip.so", O_RDONLY) = -1 ENOENT (No such 
> file or directory)
> iptables v1.4.6: Couldn't load match 
> `geoip':/lib64/xtables/libipt_geoip.so: cannot open shared object 
> file: No such file or directory
>
> yes, it search for libxt_geoip.so. but open, get permission denied
>
> ls -al /lib64/xtables/libxt_geoip.so
>
> -rwxr-xr-x. 1 root root 13505 2010-02-25 04:12 
> /lib64/xtables/libxt_geoip.so
>
arrgh, sorry for the disturbance, i think it's caused by selinux

thanks for pointing me to the right direction anyway

regards

      reply	other threads:[~2010-02-26  1:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-26  0:48 xtables-addons searching libipt_*.so instead of libxt_*.so Hari Hendaryanto
2010-02-26  1:05 ` Jan Engelhardt
2010-02-26  1:38   ` Hari Hendaryanto
2010-02-26  1:50     ` Hari Hendaryanto [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B8728CC.20609@csmcom.com \
    --to=hari.h@csmcom.com \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).