Hello Misc,

This feature is not sheduling pure. At altq You can try to achieve, but altq is 
not designed for this (in altq will get all outbound traffic, but we do not 
need).
This  whole  idea  is  to avoid queues and do not discard packets, but
simply  ask  the  party  to  send  packets  more slowly, When the flow rate 
exceeds the specified speed.

But if the party does not respond to these requests with the traffic, nothing 
happens.
He has already come and build it into the queue and dropat do not need.
This similarity function ALTQ_CDNR, but it is unlike anything on coming traffic 
does not occur (in ALTQ_CDNR he was discarded and the built-in tcp flow rate 
decreases),
I propose to do the same thing but without the dregs of packages, how would 
emulate overloading tcp,
but without actual overload.


  On Wed, Jul 29, 2009 at 10:41:59AM -0400, (private) HKS wrote:
> 2009/7/28 irix <[email protected]>:
> > Hello Misc,
> >
> >  Maybe the public interested in the idea to add in the pf function
> >  query at slowing the transfer of data to tcp protocol ?
> >  To attempt to reduce the speed of the incoming flow without altq.
> >  This function is designed exclusively for the tcp protocol, and must work
> under the rfc.
> >
> >  Can I suggest an example of rule
> >
> >  pass in on $ ext_if proto tcp from $ inetrnet to any port ftp keep state
> tcprequester 5Mb
> >
> >  When an incoming tcp stream reach in 5Mbit, pf starts to ask the remote
> side to reduce speed.
> >  But at the same time, no queues are not being built, and no packets are
> discarded.
> >  pf only generates requests to reduce the speed of the sending party.
> >
> > --
> > Best regards,
> >  irix                          mailto:[email protected]
> >
> >
> 
> diff?
> 
> -HKS
Could this not be done currently with altq?
> 
> 


-- 
Best regards,
 irix                          mailto:[email protected]

Reply via email to