Mark each connection from a host and queue it possibile?
Posted: Fri Nov 21, 2008 1:11 am
Hi,
Due to squid limitation to shape upload traffic, is it possibile to mark each connection and then apply queue to that packet mark?
Something like this
Due to squid limitation to shape upload traffic, is it possibile to mark each connection and then apply queue to that packet mark?
Something like this
Code: Select all
0 chain=prerouting in-interface=Lokal src-address=10.20.64.14 protocol=tcp
connection-limit=1,32 action=mark-connection
new-connection-mark=proksi svaka konekcija posebno passthrough=yes
1 chain=prerouting in-interface=Lokal src-address=10.20.64.14 protocol=tcp
connection-mark=proksi svaka konekcija posebno connection-limit=1,32
action=mark-packet new-packet-mark=proksi paket konekcije
passthrough=yes
Code: Select all
0 name="queue1" dst-address=0.0.0.0/0 interface=all parent=none
packet-marks=proksi paket konekcije direction=both priority=8
queue=default-small/default-small limit-at=32000/32000
max-limit=32000/32000 total-queue=default-small