Community discussions

 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Mark each connection from a host and queue it possibile?

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
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 
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 
 
User avatar
bellis
newbie
Posts: 48
Joined: Wed Nov 05, 2008 1:15 am
Location: Woodland, WA
Contact:

Re: Mark each connection from a host and queue it possibile?

Fri Nov 21, 2008 2:39 am

that looks to be right
"If it ain't broke, you're not tryin"
 
titius
Member
Member
Topic Author
Posts: 338
Joined: Mon Oct 17, 2005 11:43 am
Location: Titel Serbia

Re: Mark each connection from a host and queue it possibile?

Fri Nov 21, 2008 11:53 am

should I use PCQ queue type ?

Who is online

Users browsing this forum: No registered users and 110 guests