[Click] 'adaptive' QoS

Thomer M. Gil click at thomer.com
Wed Aug 18 19:06:45 EDT 2004


Hi,


I'm sure somebody fixed this problem already.

My setup at home is: internal network <-> NAT <-> outside world.  Click
is running on the NAT box and I have a DSL link to the outside world.
I want to implement 'adaptive  QoS', i.e., I want to allow Application
One (running on the NAT itself) to saturate my upload and download link,
but as soon as Application Two (running on the internal network) starts
to send/receive traffic through the NAT, Application One's traffic
should yield, even if that means starving Application One completely.

Both Application One and Two use TCP and let's assume I can
differentiate them by port number.  Obviously, the NAT sees all packets
going to and coming from the internal network for Application Two, but
I don't think I can make Click see the packets that Application One is
sending OUT, but of course I do see the packets going TO it.

My first (failed) approach was two Queues and a PrioSched element.  But
that didn't work.  The end result (how fast is Application Two?) was
basically the same as before.

Is there a set of elements that allow me to do this, even if that means
writing a user-level program that peaks and pokes handlers continuously,
or even hotswaps new configs?

Thanks,

Thomer


More information about the click mailing list