Revision b6022a23
Added by Scott Ullrich about 15 years ago
etc/inc/auth.inc | ||
---|---|---|
54 | 54 |
if (function_exists("display_error_form")) { |
55 | 55 |
/* DNS ReBinding attack prevention. http://redmine.pfsense.org/issues/708 */ |
56 | 56 |
$found_host = false; |
57 |
if($dyndns['host'] == "localhost") |
|
58 |
$found_host = true; |
|
57 | 59 |
if($config['dyndnses']['dyndns']) |
58 | 60 |
foreach($config['dyndnses']['dyndns'] as $dyndns) |
59 | 61 |
if($dyndns['host'] == $_SERVER['HTTP_HOST'] or $dyndns['host'] == $_SERVER['SERVER_ADDR']) |
Also available in: Unified diff
Add localhost as a valid host for SSH forwarding cases