Hi,

dnsmasq supports an option "--quiet-dhcp" in order to remove DHCP log messages
from the system log. We would like to use this option in our wireless community
in order to reduce the amount of private data (MAC addresses) exposed in the
logs.

cheers,
Lars


Description:

add --quiet-dhcp option for dnsmasq (usable via "quiet_dhcp" in UCI)

This reduces the amount of private information (MAC addresses) being logged.

Signed-off-by: Lars Kruse <[email protected]>
---
--- a/openwrt/package/network/services/dnsmasq/files/dnsmasq.init
+++ b/openwrt/package/network/services/dnsmasq/files/dnsmasq.init
@@ -123,6 +123,7 @@ dnsmasq() {
        append_bool "$cfg" nonwildcard "--bind-interfaces"
        append_bool "$cfg" fqdn "--dhcp-fqdn"
        append_bool "$cfg" proxydnssec "--proxy-dnssec"
+       append_bool "$cfg" quiet_dhcp "--quiet-dhcp"
 
        append_parm "$cfg" dhcpscript "--dhcp-script"
        append_parm "$cfg" cachesize "--cache-size"

--
_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to