Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Sep 2019 11:06:55 +0200
From:      "Kristof Provost" <kp@FreeBSD.org>
To:        "Justin Noor" <justinnoor.io@gmail.com>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: Write-up on the PF set prio option
Message-ID:  <3D7D1594-179F-4D0E-B699-BDB162B1EC20@FreeBSD.org>
In-Reply-To: <CA%2BEaAqaCOq_bBp5Ayo8KQ_7Xu_bMyJvYesdVhGF5Gv9iUJw_2w@mail.gmail.com>
References:  <CA%2BEaAqaCOq_bBp5Ayo8KQ_7Xu_bMyJvYesdVhGF5Gv9iUJw_2w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 26 Sep 2019, at 0:49, Justin Noor wrote:
> Hello community,
>
> I wrote some documentation about PF's 'set-prio' option, which is a
> quick-and-easy form of traffic shaping. It might be a good addition to
> Chapter 30 of the handbook on firewalls. Please let me know what you 
> think.
> It's on my Github.
>
> https://github.com/justinnoor/freebsd-handbook-pf-prio
>
> <https://github.com/justinnoor/freebsd-handbook-pf-anchors>;
> Thank you,
>
‘set prio’ does not do any actual traffic shaping. It can be used to 
set the priority bits in a VLAN header, but it doesn’t prioritise 
traffic in case of contention. Not in the FreeBSD machine anyway. It can 
help the switch make better prioritisation decisions if it runs into 
contended interfaces.

Also, it’s not possible to prioritise incoming packets. Traffic 
shaping is in essence the art of throwing away the right packets. It’s 
done when forwarding between a fast and a slow interface, and always to 
the packets going from the fast to the slow interface. In the reverse 
direction there’s no reason to drop packets. All of the packets coming 
in from a slow interface will fit out the fast interface, so there’s 
no need to drop any.

Regards,
Kristof
From owner-freebsd-doc@freebsd.org  Thu Sep 26 10:30:56 2019
Return-Path: <owner-freebsd-doc@freebsd.org>
Delivered-To: freebsd-doc@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id AA5D0122389
 for <freebsd-doc@mailman.nyi.freebsd.org>;
 Thu, 26 Sep 2019 10:30:56 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3])
 by mx1.freebsd.org (Postfix) with ESMTP id 46fB6840rlz44VV
 for <freebsd-doc@freebsd.org>; Thu, 26 Sep 2019 10:30:56 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: by mailman.nyi.freebsd.org (Postfix)
 id 89764122388; Thu, 26 Sep 2019 10:30:56 +0000 (UTC)
Delivered-To: doc@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 893F5122387
 for <doc@mailman.nyi.freebsd.org>; Thu, 26 Sep 2019 10:30:56 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org
 [IPv6:2610:1c1:1:606c::19:3])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (4096 bits) client-digest SHA256)
 (Client CN "mxrelay.nyi.freebsd.org",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 46fB681xL5z44VQ
 for <doc@FreeBSD.org>; Thu, 26 Sep 2019 10:30:56 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org (kenobi.freebsd.org
 [IPv6:2610:1c1:1:606c::50:1d])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 275CB26D43
 for <doc@FreeBSD.org>; Thu, 26 Sep 2019 10:30:56 +0000 (UTC)
 (envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
 by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x8QAUuoQ043923
 for <doc@FreeBSD.org>; Thu, 26 Sep 2019 10:30:56 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
 by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x8QAUuid043922
 for doc@FreeBSD.org; Thu, 26 Sep 2019 10:30:56 GMT
 (envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to
 bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: doc@FreeBSD.org
Subject: [Bug 240250] Add STANDARDS Section to gre(4) manual page
Date: Thu, 26 Sep 2019 10:30:56 +0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Documentation
X-Bugzilla-Component: Manual Pages
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: patch
X-Bugzilla-Severity: Affects Many People
X-Bugzilla-Who: gbergling@gmail.com
X-Bugzilla-Status: In Progress
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: 0mp@FreeBSD.org
X-Bugzilla-Flags: 
X-Bugzilla-Changed-Fields: attachments.isobsolete attachments.created
Message-ID: <bug-240250-9-F8PojgLcZO@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-240250-9@https.bugs.freebsd.org/bugzilla/>
References: <bug-240250-9@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-BeenThere: freebsd-doc@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Documentation project <freebsd-doc.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-doc/>;
List-Post: <mailto:freebsd-doc@freebsd.org>
List-Help: <mailto:freebsd-doc-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-doc>,
 <mailto:freebsd-doc-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Sep 2019 10:30:56 -0000

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240250

Gordon Bergling <gbergling@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #207066|0                           |1
        is obsolete|                            |

--- Comment #3 from Gordon Bergling <gbergling@gmail.com> ---
Created attachment 207840
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D207840&action=
=3Dedit
New Patch addressing comments by hrs

The following patch addressing hrs comments from phabricator. The not
supporting RFC are removed. The WCCP standards could be listed here as a
generell reference point.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D7D1594-179F-4D0E-B699-BDB162B1EC20>