[LARTC] problem whith htb script
Stef Coene
stef.coene@docum.org
Sun, 4 Jan 2004 19:44:32 +0100
On Sunday 04 January 2004 12:30, saptah wrote:
> Hi all && happy new Year ;)
>
> I'm try to made a script for shaping my outgoing traffic, but it doesn't
> work fine.
> The script work good if all packets go thru the default class, but, if I
> try to send packets by other class, the packes doesn't go by this class
> go also by the default class.
>
> This script is installed in a router linux with ip masquerading for the
> clients.
>
> =BFhow I can classify the packets in this classes?
>
> thx 4 all ;) and sorry for my (bad) english :P
No problem.
Are you trying to match ftp traffic? Is so, you can have a problem because=
=20
ftp can use dynamic ports. So it's not easy to filter out ftp traffic.
You also use a combination of fw and u32 filter. But for that fw filter, I=
=20
don't see the needed iptables rules.
Stef
=2D-=20
stef.coene@docum.org
"Using Linux as bandwidth manager"
http://www.docum.org/
#lartc @ irc.openprojects.net