Sune Graves Krohn wrote:
> First I will like to thanks the Bering-uClibc team for this brilliant 
> software.
> We have used a bering firewall disk in our multi-ownership house for about 
> five years, now I try to update to Bering-uClibc version 3.0 but I can't get 
> QoS to work.
> 
> I have attached the traffic control modules sch_htb, sch_sfq, sch_ingress, 
> cls_fw and cls_u32.
> 
> The TCDevices and TCClasses setup works and I can shape the traffic by TOS
> 
> But I also need to shape the traffic by ports so I try to add rules in 
> TCRules.
> 
> If I add any rules in TCRules then I get an error even if I just add the 
> example in the TCRules file.
> 
> If I just add "2  0.0.0.0/0  0.0.0.0/0  all  21" in TCClasses then I get the 
> error :
> 
> iptables v1.3.5: Unknown arg `--dport'
> Try `iptables -h' or 'iptables --help' for more information.
>    ERROR: Command "/sbin/iptables -t mangle -A tcpre -s 0.0.0.0/0 -d 
> 0.0.0.0/0 --dport 21 -j MARK --set-mark 2" Failed
> Processing /etc/shorewall/stop ...

You cannot specify a port number with protocol = 'all'; the protocol
must be either 'tcp' or 'udp'

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
leaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to