summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-02-18 22:50:15 +0100
committerGitHub <noreply@github.com>2017-02-18 22:50:15 +0100
commitc4a6015b49bbf0ff2be16ccda4a71b3f95694738 (patch)
treef89e05c119314b4715afb045979a49675cef9da8 /src
parent64d53c6939c0e81cc0e53631006a1b2fc4af4b0a (diff)
downloadpfsense-c4a6015b49bbf0ff2be16ccda4a71b3f95694738.zip
pfsense-c4a6015b49bbf0ff2be16ccda4a71b3f95694738.tar.gz
Disallow IPv6 for RADIUS server.
See https://redmine.pfsense.org/issues/4154. No need for users to waste their time with debugging packets black hole.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/system_authservers.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/local/www/system_authservers.php b/src/usr/local/www/system_authservers.php
index 8a3c671..5f26fe3 100644
--- a/src/usr/local/www/system_authservers.php
+++ b/src/usr/local/www/system_authservers.php
@@ -286,6 +286,13 @@ if ($_POST['save']) {
}
}
+ // https://redmine.pfsense.org/issues/4154
+ if ($pconfig['type'] == "radius_host") {
+ if (is_ipaddrv6($_POST['radius_host'])) {
+ $input_errors[] = gettext("IPv6 does not work for RADIUS authentication, see Bug #4154.");
+ }
+ }
+
if (!$input_errors) {
$server = array();
$server['refid'] = uniqid();
OpenPOWER on IntegriCloud