diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-11 00:05:34 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-08-11 00:05:34 +0000 |
commit | 3d99f030820877eb84835fb1be66a7db3f5b0c68 (patch) | |
tree | ab165f9195ca06e8c8b635f0edce60ce30c5a706 /package/uhttpd/files/uhttpd.init | |
parent | a5371dfe3909f14d45803efcfa5a85446f7954ac (diff) | |
download | mtk-20170518-3d99f030820877eb84835fb1be66a7db3f5b0c68.zip mtk-20170518-3d99f030820877eb84835fb1be66a7db3f5b0c68.tar.gz mtk-20170518-3d99f030820877eb84835fb1be66a7db3f5b0c68.tar.bz2 |
uhttpd: add option to reject requests from RFC1918 IPs to public server IPs (DNS rebinding countermeasure)
SVN-Revision: 22589
Diffstat (limited to 'package/uhttpd/files/uhttpd.init')
-rwxr-xr-x | package/uhttpd/files/uhttpd.init | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uhttpd/files/uhttpd.init b/package/uhttpd/files/uhttpd.init index d543dd8..b00b2e2 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 |