Author: nbd
Date: 2016-01-15 12:24:15 +0100 (Fri, 15 Jan 2016)
New Revision: 48244

Modified:
   trunk/package/network/services/dnsmasq/Makefile
   trunk/package/network/services/dnsmasq/files/dnsmasq.init
Log:
dnsmasq: Add option --min-port

By default dnsmasq uses random ports for outbound dns queries;
when the minport UCI option is specified the ports used will
always be larger than the specified value.
This is usefull for systems behind firewalls.

Signed-off-by: Hans Dedecker <[email protected]>

Modified: trunk/package/network/services/dnsmasq/Makefile
===================================================================
--- trunk/package/network/services/dnsmasq/Makefile     2016-01-15 11:24:09 UTC 
(rev 48243)
+++ trunk/package/network/services/dnsmasq/Makefile     2016-01-15 11:24:15 UTC 
(rev 48244)
@@ -9,7 +9,7 @@
 
 PKG_NAME:=dnsmasq
 PKG_VERSION:=2.75
-PKG_RELEASE:=3
+PKG_RELEASE:=4
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=http://thekelleys.org.uk/dnsmasq

Modified: trunk/package/network/services/dnsmasq/files/dnsmasq.init
===================================================================
--- trunk/package/network/services/dnsmasq/files/dnsmasq.init   2016-01-15 
11:24:09 UTC (rev 48243)
+++ trunk/package/network/services/dnsmasq/files/dnsmasq.init   2016-01-15 
11:24:15 UTC (rev 48244)
@@ -146,6 +146,7 @@
        append_parm "$cfg" ednspacket_max "--edns-packet-max"
        append_parm "$cfg" dhcpleasemax "--dhcp-lease-max"
        append_parm "$cfg" "queryport" "--query-port"
+       append_parm "$cfg" "minport" "--min-port"
        append_parm "$cfg" "domain" "--domain"
        append_parm "$cfg" "local" "--server"
        config_list_foreach "$cfg" "server" append_server
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to