LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   Couldn't load target `SYNPROXY':/lib64/xtables/libipt_SYNPROXY.so: cannot open shared object file: No such file or directory (https://www.linuxquestions.org/questions/centos-111/couldnt-load-target-%60synproxy-lib64-xtables-libipt_synproxy-so-cannot-open-shared-object-file-no-such-file-or-directory-4175591320/)

DavidTuanAnh 10-13-2016 05:34 AM

Couldn't load target `SYNPROXY':/lib64/xtables/libipt_SYNPROXY.so: cannot open shared object file: No such file or directory
 
Hi !
Today, i compile kernel 2.6.32 in Centos 6.5 to kernel 3.12.64.
I have taken the following steps:
#make help
#make clean
#make mrproper
#make menuconfig
-*-Networking support --->
Networking options --->
[*] Network packet filtering framework (Netfilter) --->
IP: Netfilter Configuration -->
<M> IP tables support (required for filtering/masq/NAT) (Insert M)
<M>SYNPROXY target Support (Insert M)
IPv6: Netfilter Configuration
<M>SYNPROXY target Support (Insert M)
Core Netfilter Configuration --->
{M} Netfilter Xtables support (required for ip_tables)

Save -> Quit
#make
#make modules
#make modules_install
#make install
#vi /boot/grub/grub.conf
Edit "default=1" to "default=0"
#reboot
#modprobe -v ipt_SYNPROXY

I check :
#lsmod | grep ipt_SYNPROXY
Ok, module ipt_SYNPROXY is load.
but i can't use target SYNPROXY in iptables 1.4.7 and the error code:
Couldn't load target `SYNPROXY':/lib64/xtables/libipt_SYNPROXY.so: cannot open shared object file: No such file or directory

Please help me and for me solution ! tks !

business_kid 10-19-2016 04:27 AM

You may be mixing up kernel modules & libraries. I have a pretty full install of Slackware and there's no libipt_SYNPROXY.so in /usr/lib64/xtables. You compiled a module(in /lib/modules/kernel-version), but it's missing a library (in /usr/lib64/xtables). They are radically different animals. You need to install the library.

You're missing some part of iptables, it seems.

DavidTuanAnh 10-19-2016 05:03 AM

thank you !
you can share more details about the installation of the library for libipt_SYNPROXY.so in iptables ?

business_kid 10-20-2016 12:19 PM

No, I told you I don't have it.

Check this outhttps://deref-mail.com/mail/client/Z...e%3Df204613a1f

DavidTuanAnh 10-20-2016 12:48 PM

Received code when i access your link:
Oops, something went wrong...
Error-Code: 403

business_kid 10-21-2016 01:31 AM

Sorry for that. Definitely not the intended link.nlibipt_SYNPROXY.so is on within, and that was the link I tried to send. But I obviously have it wrong.

DavidTuanAnh 10-21-2016 09:49 AM

tks u, no problem !


All times are GMT -5. The time now is 05:06 AM.