Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Jun 2002 13:30:19 -0400
From:      Bill Moran <wmoran@potentialtech.com>
To:        Ilia Chipitsine <ilia@cgu.chel.su>
Cc:        questions@FreeBSD.ORG
Subject:   Re: ipfw: DNS priority
Message-ID:  <3D0B79AB.70209@potentialtech.com>
References:  <Pine.BSF.4.10.10206152310020.762-100000@jane.poka.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Ilia Chipitsine wrote:
> On Sat, 15 Jun 2002, Bill Moran wrote:
> 
>>Ilia Chipitsine wrote:
>>>how can I implement ipfw rules in order to prioriterize DNS and SSH (both 
>>>incoming and outgoing) over the rest of packets ???
>>>
>>>I mean that DNS and SSH traffic is the most important and I want to tell
>>>it to ipfw :)
>>
>>Read the man page for dummynet.  There's a bit of knowledge required before
>>doing something like this, as you've got to work the dummynet rules into
>>your other firewall rules.
> 
> no, my question has nothing to do with DUMMYNET.

No, you question has everything to do with dummynet.

> I was asking: "how to tell to ipfw that DNS is more IMPORTANT than other
> packets ?".
> 
> I'm not about to shape the rest of packets to 50% of interface
> capacity for all the time being :)

Actually read the man page.
I don't know where you got your ideas about dummynet, but if you read the
man page it will explain how to do what you want.  dummynet does more than
just "shape the rest of the packets to 50% of the interface capacity". You
can assign priorities to packets based on just about any filtering criteria
you can use in ipfw, and dummynet will prioritize their delivery.  When
those types of packets are not occurring, the entire bandwidth is available
to whatever traffic is present.

Unless I'm completely misunderstanding what you mean by "IMPORTANT".  If I
am, please elaborate on what you mean by that.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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