On Thu, 29 May 2014, Marko Cupać wrote:

> On Wed, 28 May 2014 21:40:58 +0200
> Henning Brauer <lists-open...@bsws.de> wrote:
> 
> > I'm pretty damn sure I added "reset prio if queueing is on" thing.
> > 
> > yes, in IF_ENQUEUE -> hfsc_enqueue
> >         m->m_pkthdr.pf.prio = IFQ_MAXPRIO;
> 
> I would like to give priority to certain traffic, for example:
> prio 7: tcp acks
> prio 6: domain
> prio 5: ssh-mgmt, vnc, rdp
> prio 4: web
> prio 3: smtp, imap, pop
> prio 2: ftp, ssh-payload
> prio 1: default/other
> prio 0: p2p
> 
> But I would also like to guarantee minimum bandwidth to low-priority
> traffic (in upper example I would like to avoid ftp coming to a
> grinding halt in moments when higher priority traffic eats up all the
> bandwidth).
> 
> I thought I knew how to achieve this, but now I am not so sure. Is it
> possible with current pf? Any suggestions?

I'm also interested in this. I tought I was doing it with the example I
sent but, after Henning's comments ...

Cheers,

-- 
Paco Esteban.
GnuPG key: 0x0E1192A4

Reply via email to