From b6022a23920008186cb0e5e9206b43f4a84b3f37 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 6 Jul 2010 14:35:11 -0400 Subject: Add localhost as a valid host for SSH forwarding cases --- etc/inc/auth.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'etc') diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index 2aca48f..462459f 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -54,6 +54,8 @@ require_once("config.gui.inc"); if (function_exists("display_error_form")) { /* DNS ReBinding attack prevention. http://redmine.pfsense.org/issues/708 */ $found_host = false; + if($dyndns['host'] == "localhost") + $found_host = true; if($config['dyndnses']['dyndns']) foreach($config['dyndnses']['dyndns'] as $dyndns) if($dyndns['host'] == $_SERVER['HTTP_HOST'] or $dyndns['host'] == $_SERVER['SERVER_ADDR']) -- cgit v1.1