dnsmasq: run as dedicated UID/GID
authorJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:44:10 +0000 (11:44 +0000)
committerJohn Crispin <john@openwrt.org>
Tue, 26 Apr 2016 11:44:10 +0000 (11:44 +0000)
commit3b2f8d4b02d153758df28ae3a898c0b1fb85257c
tree17f36c9e29a1891ddb5f7f16ec2bf50ac664a573
parent81fdf6113c9349855f12036077e2849adc26bf3c
dnsmasq: run as dedicated UID/GID

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 <daniel@makrotopia.org>
SVN-Revision: 49252
package/network/services/dnsmasq/Makefile
package/network/services/dnsmasq/files/dnsmasq.init