Koozali.org: home of the SME Server

what is equivalent of /lib/iptables/libipt_u32.so in sme 7.

fargougui

To block Skype, I used this rule :

 $OUT .= " /sbin/iptables -I FORWARD -p udp -m length --length 39 -m u32  --u32 '27&0x8f=7' --u32 '31=0x527c4833' -j DROP\n";

But I have an error :

[root@test tmp]# vi /etc/e-smith/templates-custom/etc/rc.d/init.d/masq/91msn
[root@test tmp]# expand-template /etc/rc.d/init.d/masq
[root@test tmp]# /etc/rc.d/init.d/masq restart

Shutting down IP masquerade and firewall rules:         Done!

Enabling IP masquerading: iptables v1.2.11: Couldn't load match `u32':/lib/iptables/libipt_u32.so: cannot open shared object file: No such file or directory

Try `iptables -h' or 'iptables --help' for more information.
done


I want to know what is the equivalent file of /lib/iptables/libipt_u32.so in sme 7.

Thank you for any answers.

fargougui

what is equivalent of /lib/iptables/libipt_u32.so in sme 7.
« Reply #1 on: May 09, 2007, 10:19:25 AM »
How can I adapte this rule to sme 7 iptables version :

 $OUT .= " /sbin/iptables -I FORWARD -p udp -m length --length 39 -m u32 --u32 '27&0x8f=7' --u32 '31=0x527c4833' -j DROP\n";


Thank you very much for any response  :idea: