summaryrefslogtreecommitdiff
path: root/uhttpd.h
diff options
context:
space:
mode:
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-11 00:05:34 +0000
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-08-11 00:05:34 +0000
commit262ee5065c716d2b2c4963ce024b9471f3d6f0f5 (patch)
treebe0dd50c8730ad99adbd52f3d96e61bc83998e68 /uhttpd.h
parenteca18b19053fcd4350039ffa46c24c335f4142c4 (diff)
downloaduhttpd-262ee5065c716d2b2c4963ce024b9471f3d6f0f5.tar.gz
[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/package/uhttpd/src@22589 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'uhttpd.h')
-rw-r--r--uhttpd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/uhttpd.h b/uhttpd.h
index c8fdaf4..fd2176e 100644
--- a/uhttpd.h
+++ b/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