From owner-freebsd-bugs@FreeBSD.ORG Sat Jan 31 21:38:24 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AFAA5DB6 for ; Sat, 31 Jan 2015 21:38:24 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7D30BDBF for ; Sat, 31 Jan 2015 21:38:24 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t0VLcO08017866 for ; Sat, 31 Jan 2015 21:38:24 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 197230] [path] Add rcNG startup script to configure ng_tcpmss(4) Date: Sat, 31 Jan 2015 21:38:24 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 9.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: eugen@grosbein.net X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2015 21:38:24 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197230 Bug ID: 197230 Summary: [path] Add rcNG startup script to configure ng_tcpmss(4) Product: Base System Version: 9.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: conf Assignee: freebsd-bugs@FreeBSD.org Reporter: eugen@grosbein.net CC: glebius@FreeBSD.org Created attachment 152425 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152425&action=edit rc.d/tcpmss script and documentation This PR supplies new rcNG startup script to ease configuration and use of ng_tcpmss(4) netgraph node with ipfw(8) rules for custom TCP MSS adjustments. It contains the script itself and patches for defaults/rc.conf and rc.conf.5 manual page. Description from the manual: tcpmss_enable (bool) Set to ``NO'' by default. Setting this to ``YES'' enables configuration of ng_tcpmss(4) netgraph nodes to per- form custom TCP MSS adjustments using ipfw(8) rules. The tcpmss_instances variable must also be set then. Kernel mod- ules netgraph(4), ng_ipfw(4), and ng_tcpmss(4) will be loaded if the kernel was not built with corresponding options NETGRAPH, options NETGRAPH_IPFW, and options NETGRAPH_TCPMSS. tcpmss_instances (str) Set to the list of ng_tcpmss(4) instances to configure on this host. Values of the list are used to form instance names and as netgraph cookies, so they should be numbers. A tcpmss_ variable is assumed to exist for each value of the list. The value of this variable is used as maxMSS to configure the ng_tcpmss(4) instance. To adjust MSS to corresponding maxMSS value configured with tcpmss_ variable one can use ipfw(8) rules like: netgraph tcp from any to any setup in tcpmss_verbose (bool) Set to ``YES'' to enable verbose ng_tcpmss(4) configu- ration messages. -- You are receiving this mail because: You are the assignee for the bug.