From 3d99f030820877eb84835fb1be66a7db3f5b0c68 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 11 Aug 2010 00:05:34 +0000 Subject: uhttpd: add option to reject requests from RFC1918 IPs to public server IPs (DNS rebinding countermeasure) SVN-Revision: 22589 --- package/uhttpd/files/uhttpd.init | 1 + 1 file changed, 1 insertion(+) (limited to 'package/uhttpd/files/uhttpd.init') diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init index d543dd84b9..b00b2e281b 100755 --- a/package/uhttpd/files/uhttpd.init +++ b/package/uhttpd/files/uhttpd.init @@ -75,6 +75,7 @@ start_instance() append_bool "$cfg" no_symlinks "-S" 0 append_bool "$cfg" no_dirlists "-D" 0 + append_bool "$cfg" rfc1918_filter "-R" 0 config_get http "$cfg" listen_http for listen in $http; do -- cgit v1.2.3