We have a bit of a mix-up here...
Edd, presumably guided by Sak Dev (hello guys!) is attempting to add a rule into the firewall to fix an issue with SARK:
iptables -A INPUT -p udp -m udp --dport 5060 -m string --string "Cirpack KeepAlive Packet" --algo bm --to 65535 --source SIPProviderAddress -j DROP
The question appears to be: "How to achieve this"? Please correct me if incorrect.
And a twist: when pasting the command to SME commandline, the return is:
iptables v1.2.11: Couldn't load match `string':/lib/iptables/libipt_string.so: cannot open shared object file: No such file or directory
I do not have sufficient expertise to guide anyone in this jungle, perhaps one of the Devs checking the Forums may provide some guidance to this user and our good friends at SAIL/Sark.
Thanks.
Addentum: Went through some of the early installation of Sail, we had to modify the firewall and JonM had provided a method to do this here:
http://contribs.org/modules/pbboard/viewtopic.php?p=131691#131691Unfortunately, this link is now dead.
Copy of my notes at the time:
1) Create custom template
mkdir -p /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
cd /etc/e-smith/templates-custom/etc/rc.d/init.d/masq
pico 90InboundUDP20rtp_udp
2) Copy/paste new rule
3) save and apply by issuing the following command from CL:
signal-event remoteaccess-update
You can check with iptables -L.
Food for thoughts, no warranty. If it works, the final mod should take into account "the database driven nature of the current
configuration system".