> I am trying to play around with qos but I am running into troubles with
> Marking packets from a specific size.
>
> The command I use
>
> Iptables -I INPUT -m length --length 1400:1500 -j MARK --set-mark 10
>
> But it gives me an error on the length stating no rule target match with
> that name.
> The iptables kernel module is located in /lib/iptables.

A quick glance at man iptables indicates you can only play with mark values
in the mangle table:

TARGET EXTENSIONS
       iptables can use extended target  modules:  the  following
       are included in the standard distribution.
   <snip>
   MARK
       This is used to set the netfilter  mark  value  associated
       with the packet.  It is only valid in the mangle table.

       --set-mark mark

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



_______________________________________________________________

Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to