FreeBSD Bugzilla – Attachment 239817 Details for
Bug 269198
dns/blocky: running daemon as non-root user is not supported
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Follow-up patch for pkg-message
0002-dns-blocky-update-pkg-message.patch (text/plain), 972 bytes, created by
Benjamin Spiegel
on 2023-01-30 18:07:48 UTC
(
hide
)
Description:
Follow-up patch for pkg-message
Filename:
MIME Type:
Creator:
Benjamin Spiegel
Created:
2023-01-30 18:07:48 UTC
Size:
972 bytes
patch
obsolete
>diff --git a/dns/blocky/files/pkg-message.in b/dns/blocky/files/pkg-message.in >index 953a51c3cce8..70f077c66f2a 100644 >--- a/dns/blocky/files/pkg-message.in >+++ b/dns/blocky/files/pkg-message.in >@@ -7,6 +7,21 @@ A sample configuration file is installed at the following location: > Default location for configuration file when using rc.d script: > %%PREFIX%%/etc/blocky-config.yml > >+With the default configuration, blocky listens on port 53 (TCP and UDP). >+If running as a non-root user, use a different port in blocky configuration, >+such as `port: 5053`, or use mac_portacl(4) to allow binding to port 53. >+ >+Example setup for mac_portacl(4): >+ >+In /boot/loader.conf: >+ >+ mac_portacl_load="YES" >+ >+In /etc/sysctl.conf (where <ID> is the UID of your user): >+ >+ net.inet.ip.portrange.reservedhigh=0 >+ security.mac.portacl.rules=uid:<ID>:tcp:53,uid:<ID>:udp:53 >+ > Please refer to the documentation located at > https://0xerr0r.github.io/blocky/ for further information. > EOM
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 269198
:
239759
| 239817