aboutsummaryrefslogtreecommitdiffstats
path: root/package/uhttpd/src/uhttpd.h
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-08-11 00:05:34 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-08-11 00:05:34 +0000
commit3d99f030820877eb84835fb1be66a7db3f5b0c68 (patch)
treeab165f9195ca06e8c8b635f0edce60ce30c5a706 /package/uhttpd/src/uhttpd.h
parenta5371dfe3909f14d45803efcfa5a85446f7954ac (diff)
downloadupstream-3d99f030820877eb84835fb1be66a7db3f5b0c68.tar.gz
upstream-3d99f030820877eb84835fb1be66a7db3f5b0c68.tar.bz2
upstream-3d99f030820877eb84835fb1be66a7db3f5b0c68.zip
uhttpd: add option to reject requests from RFC1918 IPs to public server IPs (DNS rebinding countermeasure)
SVN-Revision: 22589
Diffstat (limited to 'package/uhttpd/src/uhttpd.h')
-rw-r--r--package/uhttpd/src/uhttpd.h1
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