Re: marking and shaping outbound passive ftp traffic

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 23 July 2004 02:08, nix4me wrote:
> Will the following rules work to mark and shape OUTBOUND  ftp speed
> (passive ftp ports 50000-60000) on my linux server?
> I want to be able to run these commands on the actual computer that is
> running the ftp server.
>
>
> iptables -t mangle -N MYSHAPER-OUT
> iptables -t mangle -I POSTROUTING -o eth0 -j MYSHAPER-OUT
> iptables -t mangle -A MYSHAPER-OUT -p tcp --dport 50000:60000 -j MARK
> --set-mark 1
>  tc class add dev eth0 mark 1 htb rate 10 kbit
>
> I tried it but the tc line fails with "Error: Qdisc "mark" is classless."
See the lartc.org howto and docum.org for htb and filter examples.

Stef

-- 
stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux