From owner-svn-doc-head@freebsd.org Tue Jan 3 05:08:57 2017 Return-Path: Delivered-To: svn-doc-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C6834C9BC6F; Tue, 3 Jan 2017 05:08:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 8049F1AA2; Tue, 3 Jan 2017 05:08:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.15.2/8.15.2) with ESMTPS id v034opOr001655 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 2 Jan 2017 21:50:51 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.15.2/8.15.2/Submit) with ESMTP id v034opiJ001652; Mon, 2 Jan 2017 21:50:51 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 2 Jan 2017 21:50:51 -0700 (MST) From: Warren Block To: Maxim Konovalov cc: Warren Block , doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: Re: svn commit: r49600 - head/en_US.ISO8859-1/books/handbook/firewalls In-Reply-To: Message-ID: References: <201610281531.u9SFVL7u096914@repo.freebsd.org> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.1 (wonkity.com [127.0.0.1]); Mon, 02 Jan 2017 21:50:51 -0700 (MST) X-BeenThere: svn-doc-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the doc tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jan 2017 05:08:57 -0000 On Mon, 2 Jan 2017, Maxim Konovalov wrote: > Hi Warren, > > On Fri, 28 Oct 2016, 15:31-0000, Warren Block wrote: > > [...] >> # Allow outbound NTP >> -$cmd 00260 allow tcp from any to any 37 out via $pif setup keep-state >> +$cmd 00260 allow udp from any to any 123 out via $pif setup keep-state >> >> # Allow outbound SSH >> $cmd 00280 allow tcp from any to any 22 out via $pif setup keep-state >> > Are you sure about this change? NTP is UDP based protocol. In the > same time "setup" is TCP only feature (why ipfw(8) allows it to use in > conjunction with the UDP proto is a different story) > > I think the comment is what should be fixed here. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213365 suggested merely changing this to UDP 123. I don't use IPFW, so can't verify the actual usage. Help would be appreciated.