[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
altq confusion
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: altq confusion
- From: Chris Smith <bsd782_(_at_)_chrissmith_(_dot_)_org>
- Date: Mon, 26 Sep 2005 14:00:27 -0400
Both Jacek's book and the pf faq,
http://www.openbsd.org/faq/pf/queueing.html, state that queueing is
only useful for packets in the outbound direction.
Yet, I find examples that show inbound traffic being sent to queues.
On the faq page above there are these examples:
--------------------------------------------------
pass in on dc0 from $it_net to any queue it_int
pass in on dc0 from $boss to any queue boss_int
pass in on dc0 proto tcp from $int_nets to $wwwserv port { 21, 80, \
49151 } flags S/SA keep state queue www_int
--------------------------------------------------
At http://www.benzedrine.cx/ackpri.html there is this:
--------------------------------------------------
pass in on $ext_if proto tcp from any to $ext_if flags S/SA \
keep state queue (q_def, q_pri)
--------------------------------------------------
Also confusing here is that he's dealing with a ADSL and there is a
bandwidth difference between incoming and outgoing directions, yet the
"pass in on $ext_if" statement refers to the same queue throttled to
the upload bandwidth.
What am I missing here?
Thanks.
Chris
Visit your host, monkey.org