Try iplimit patch from base of patch-o-matic but in this case you have necessity write rule for each socket
iptables -t nat -d x.x.x.x -p tcp --sport 80 -m iplimit --iplimit-above 1 -j MARK --set-mark 1 and then use this mark in tc filter also possible to use socket filter in kernel but a haven't ideas about this 27.05.2002 11:44:23, "zlatko" <[EMAIL PROTECTED]> wrote: >MS Echange: Secure emails > >I need to limit bandwith usage per socket connection: We have 2 Mbit dsl >connection and I want to assign 80 Kb bandwith for use to each workstation. > >I am using iptables to mark the packets and then place them in a queue. But >I can only limit the bandwith to entire interface, not per client conection. > >Have anyone actualy done that, limit bandwidth per client connection? > >APpreciated, > >Regards, > >Zlatko >:) > > ----------------------------------- mailto:[EMAIL PROTECTED] BR Alexey Talikov FORTEK -----------------------------------
