From owner-freebsd-current@FreeBSD.ORG Mon Oct 13 17:30:58 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53631BEF for ; Mon, 13 Oct 2014 17:30:58 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D65586D3 for ; Mon, 13 Oct 2014 17:30:57 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id d1so8002770wiv.8 for ; Mon, 13 Oct 2014 10:30:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=gkLjtwj6BmtO5TVSLI11RflOexP9xc5BdYo2m1Lk+9U=; b=RjNrs5f7jJ1MQ9IYGQaNC9zUYoyTmxDXfhIuJKdDIIQVYzL6Ct8ibQm56Y50itEWH7 rDDW8dZBTsWsHwzfL5GTXdMUGn+exIo4eDZcHtzzu2heJYq1OtkNCqyL6eEO2Z13/czX L/d2lENP4Qn7+M2fuikOY+jgeeG+zEGmJfJMgu1Ak0Cw2UEIHD3WSXj/7PXCtEogYy1D ter88Z1knyOeOubqmqASHtr1y+FRPVDHKiWALISW0X1+LAb5hLHQHRwdKG/Rqrtc4i5r x6F7RdcFIyzvUrlK9+0cO0aLz15ST9TJY4weQ75VDXh0qZW8Sz6slb6Y8HeSO+fd/mAI Wf5w== MIME-Version: 1.0 X-Received: by 10.180.77.229 with SMTP id v5mr381142wiw.59.1413221456201; Mon, 13 Oct 2014 10:30:56 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Mon, 13 Oct 2014 10:30:56 -0700 (PDT) In-Reply-To: References: Date: Mon, 13 Oct 2014 10:30:56 -0700 X-Google-Sender-Auth: AQgLpjST6TkblIzkIKeeAZ6yXGo Message-ID: Subject: Re: Proposal for adding "firewall_myservices_udp" in etc/rc.conf From: Adrian Chadd To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-current@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Oct 2014 17:30:58 -0000 Please add a myservices for IP protocols. I'd like to allow things like GRE so PPTP works. (This is great - now I can have tftp work through the rc.conf firewall!0 Thanks! -a On 10 October 2014 13:38, Olivier Cochard-Labb=C3=A9 w= rote: > For a simple workstation, we can use this simple configuration in > /etc/rc.conf: > firewall_type=3D"workstation" > firewall_enable=3D"YES" > firewall_myservices=3D"22,80" > firewall_allowservices=3D"any" > > But the firewall_myservices allows only TCP services. > It's not possible to declare UDP services (like a torrent client). > > This patch propose to add UDP services by 2 changes: > 1. firewall_myservices became a deprecated alias, the new is > firewall_myservices_tcp > 2. A new firewall_myservices_udp variable is added. > > Patch attached to PR194292: > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D194292 > > What do you think ? > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "