summaryrefslogtreecommitdiffstats
path: root/package/uhttpd/files/uhttpd.config
diff options
context:
space:
mode:
Diffstat (limited to 'package/uhttpd/files/uhttpd.config')
-rw-r--r--package/uhttpd/files/uhttpd.config5
1 files changed, 5 insertions, 0 deletions
diff --git a/package/uhttpd/files/uhttpd.config b/package/uhttpd/files/uhttpd.config
index acdd62ea4..534e8f8b2 100644
--- a/package/uhttpd/files/uhttpd.config
+++ b/package/uhttpd/files/uhttpd.config
@@ -12,6 +12,11 @@ config uhttpd main
# Server document root
option home /www
+ # Reject requests from RFC1918 IP addresses
+ # directed to the servers public IP(s).
+ # This is a DNS rebinding countermeasure.
+ option rfc1918_filter 1
+
# Certificate and private key for HTTPS.
# If no listen_https addresses are given,
# the key options are ignored.