[package] uhttpd: fix segmentation fault triggered by invalid header line
[openwrt.git] / package / uhttpd / files / uhttpd.config
index acdd62e..534e8f8 100644 (file)
@@ -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.
This page took 0.024376 seconds and 4 git commands to generate.