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 | c942ea2cfaa42d9fc56e6fcdf0f60591a1548368 (patch) | |
tree | 446e864b34860bf49d334ae4d35d43cbf93b2b09 /package/uhttpd/src/uhttpd.h | |
parent | 1f1b09775981241b9a96160a2386c73d2e734f1c (diff) | |
download | upstream-c942ea2cfaa42d9fc56e6fcdf0f60591a1548368.tar.gz upstream-c942ea2cfaa42d9fc56e6fcdf0f60591a1548368.tar.bz2 upstream-c942ea2cfaa42d9fc56e6fcdf0f60591a1548368.zip |
[package] uhttpd: add option to reject requests from RFC1918 IPs to public server IPs (DNS rebinding countermeasure)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22589 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/uhttpd/src/uhttpd.h')
-rw-r--r-- | package/uhttpd/src/uhttpd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/package/uhttpd/src/uhttpd.h b/package/uhttpd/src/uhttpd.h index c8fdaf4846..fd2176ebdd 100644 --- a/package/uhttpd/src/uhttpd.h +++ b/package/uhttpd/src/uhttpd.h @@ -69,6 +69,7 @@ struct config { int no_symlinks; int no_dirlists; int network_timeout; + int rfc1918_filter; #ifdef HAVE_CGI char *cgi_prefix; #endif |