From 14eab6fb4d893a179c8e689769168968456e1c74 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 6 Jul 2010 16:32:09 -0400 Subject: Add a checkbox to disable DNS rebinding checks if needed. --- etc/inc/auth.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index b41b81f..ac1df6b 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -51,7 +51,7 @@ require_once("config.gui.inc"); /* If this function doesn't exist, we're being called from Captive Portal or another internal subsystem which does not include authgui.inc */ -if (function_exists("display_error_form")) { +if (function_exists("display_error_form") && !isset($config['system']['webgui']['nodnsrebindcheck'])) { /* DNS ReBinding attack prevention. http://redmine.pfsense.org/issues/708 */ $found_host = false; if(strstr($_SERVER['HTTP_HOST'], ":")) { -- cgit v1.1