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)
commit3481d0d793b87ed4c0f0fa899497f49060e5511d
tree9415db0673f8f3122b3309bb6183d95f4341e384
parent1a1bb3aaff9010f978f0743db04880ec6d4a42b1
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