On Mon, Apr 09, 2007 at 04:58:08PM -0400, cookie wrote:
>
> Hello-
> Can anyone tell me the error of my ways using
>
> /sbin/iptables -v -t mangle -I SHAPER -p tcp --sport 8118 -j MARK --
> set-mark 0x14
> MARK tcp opt -- in * out * 0.0.0.0/0 -> 0.0.0.0/0 tcp spt:8118
> MARK set 0x14
> iptables: Invalid argument
>
> I was sure that I had the correct syntax, but it keeps coming up
> Invalid argument.
> Thanks
> Brian
>
iptables -t mangle -A traffic_shaping -p ! tcp -j CONNMARK --set-mark
0x81
I set mark 0x81 on non tcp paquets from a user defined chain
"traffic_shaping"
--
Franck Joncourt
http://www.debian.org
http://smhteam.info/wiki/
GPG server : pgpkeys.mit.edu
Fingerprint : C10E D1D0 EF70 0A2A CACF 9A3C C490 534E 75C0 89FE
signature.asc
Description: Digital signature
|