Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2008 13:36:53 +0200
From:      "Riaan Kruger" <riaank@gmail.com>
To:        "Zbigniew Szalbot" <z.szalbot@lcwords.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ALTQ and services
Message-ID:  <85c4b1850808190436q41da2322o82f6bb04d70ce80b@mail.gmail.com>
In-Reply-To: <48AAA48A.4030704@lcwords.com>
References:  <48AAA48A.4030704@lcwords.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/8/19 Zbigniew Szalbot <z.szalbot@lcwords.com>

> Hello,
>
> I am trying to find out how to specify services in the below scenario:
>
> ext_if=3D"kue0"
>
> altq on $=ADext_if priq bandwidth 1024Kb queue { q_pri, q_def }
> queue q_pri priority 7
> queue q_def priority 1 priq(default)
>
> pass out on $=ADext_if proto tcp from $=ADext_if to any flags S/SA
>         keep state queue (q_def, q_pri)
>
> pass in  on $=ADext_if proto tcp from any to $=ADext_if flags S/SA
>         keep state queue (q_def, q_pri)
>
>
> I grabbed this example off a web page but would anyone help me
> understand how I can define queue priority for ssh, smtp, httpd and ftp?
>
> I understand that q_pri has a priority over q_def, but where do I define
> what's inside them? Many, many thanks!
>
> --
> Zbigniew Szalbot
> www.LCWords.com
>
See http://www.openbsd.org/faq/pf/queueing.html or
http://home.nuug.no/~peter/pf/en/altqintro.html

Hope it helps

Riaan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?85c4b1850808190436q41da2322o82f6bb04d70ce80b>