Re: [OpenWrt-Devel] [PATCH v2] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Karl Palsson
Would it be worthwhile keeping these userids in a wiki registry page maybe? This is a current extract from the packages feed and the base packages. 22:sshd 22:sshd 51:pulse 52:tor 53:zabbix 54:prosody 56:dmapd 57:bind 59:dovecot 72:ocserv 87:icecast 88:pianod 89:upmpdcli 99:_fdm 105:avahi 121:lld

[OpenWrt-Devel] [PATCH v2] dnsmasq: run as dedicated UID/GID

2016-04-25 Thread Daniel Golle
Running dnsmasq in a dedicated user/group allows matching its outgoing traffic more easily using iptables' owner match. Add UID/GID to the package metadata and append the user/group parameters to the init script. Signed-off-by: Daniel Golle --- package/network/services/dnsmasq/Makefile