Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Oct 2014 22:38:43 +0200
From:      =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= <olivier@cochard.me>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Proposal for adding "firewall_myservices_udp" in etc/rc.conf
Message-ID:  <CA%2Bq%2BTcpq=v%2BrUBiX_0B5O580gWVLatM2nPjyOpsGWRcGVJ7%2B2A@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
For a simple workstation, we can use this simple configuration in
/etc/rc.conf:
firewall_type="workstation"
firewall_enable="YES"
firewall_myservices="22,80"
firewall_allowservices="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=194292

What do you think ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2Bq%2BTcpq=v%2BrUBiX_0B5O580gWVLatM2nPjyOpsGWRcGVJ7%2B2A>