Commit graph

7 commits

Author SHA1 Message Date
Vinícius Zavam
7fc56f7b68
dns/dnscrypt-proxy2: fix 'pkg-message warning is out of date'
PR:		264323
Reported by:	Bill Blake <billblake2018 % gmail.com>
2022-07-28 19:06:09 +00:00
Mathieu Arnold
135fdeebb9
all: Remove all other $FreeBSD keywords. 2021-04-06 16:31:13 +02:00
Mathieu Arnold
78d1aff1fc Convert to UCL & cleanup pkg-message (categories d) 2019-08-13 16:01:59 +00:00
Danilo G. Baio
97d8640199 dns/dnscrypt-proxy2: Add mac_portacl option in rc script
Version 2 of dnscrypt-proxy is written in Go and therefore isn't capable
of dropping privileges after binding to a low port on FreeBSD.

By default, this port's daemon will listen on port 5353 (TCP/UDP).

With this option it's possible to bind it and listen on port 53 (TCP/UDP)
with mac_portacl(4) kernel module (network port access control policy).
For this add dnscrypt_proxy_mac_portacl_enable=YES in your rc.conf.
The dnscrypt-proxy startup script will load mac_portacl and add a rule
where %%USER%% user will be able to bind on port 53 (TCP/UDP). This port
can be changed by dnscrypt_proxy_mac_portacl_port variable in your rc.conf.
You also need to change dnscrypt-proxy config file to use port 53.

Suggested by:	feld
Approved by:	egypcio@googlemail.com (maintainer)
Differential Revision:	https://reviews.freebsd.org/D15151
2018-04-24 01:06:47 +00:00
Danilo G. Baio
b0c5358af0 dns/dnscrypt-proxy2: Update to 2.0.10
Main changes in the port:
  - Improve instructions for using dnscrypt-proxy2 together with unbound. [1]
  - Add dnscrypt_proxy_suexec option for users who want to run the daemon as
    root.
  - Move the configuration file from ${PREFIX}/etc/dnscrypt-proxy.toml to
    ${PREFIX}/etc/dnscrypt-proxy/dnscrypt-proxy.toml, because by default
    temporary files will use the path of the config file.
    This fixes a permission issue when fetching the public resolvers list.

Changes:	https://raw.githubusercontent.com/jedisct1/dnscrypt-proxy/2.0.10/ChangeLog

PR:		227129 [1]
Submitted by:	egypcio@googlemail.com (maintainer)
Reported by:	erik@nordstroem.no [1]
Differential Revision:	https://reviews.freebsd.org/D15024
2018-04-18 02:25:48 +00:00
Danilo G. Baio
7195d6be32 dns/dnscrypt-proxy2: Improve information/texts
Submitted by:	tj@mrsk.me (email)
Approved by:	egypcio@googlemail.com (maintainer, irc)
2018-03-29 00:49:47 +00:00
Danilo G. Baio
6b55b90b6b Add dns/dnscrypt-proxy2: Flexible DNS proxy with support for encrypted protocols
A flexible DNS proxy, with support for modern encrypted DNS protocols such as
DNSCrypt v2 and DNS-over-HTTP/2.

WWW: https://github.com/jedisct1/dnscrypt-proxy

Without a repocopy because it's a new port, rewritten from scratch.

PR:		225821
Submitted by:	Vinícius Zavam <egypcio@googlemail.com>
Differential Revision:	https://reviews.freebsd.org/D14319
2018-03-25 14:46:17 +00:00