From 96aeaed994b3a07dd772d2c6ebdabbbb0cff8110 Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Wed, 4 Jan 2012 14:41:05 +0100 Subject: freeradius2 updates pkg v1.4.3 --- config/freeradius2/freeradius.inc | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc index 356f4229..816eb984 100755 --- a/config/freeradius2/freeradius.inc +++ b/config/freeradius2/freeradius.inc @@ -521,7 +521,20 @@ function freeradius_eapconf_resync() { $vareapconfpeapdefaulteaptype = ($eapconf['vareapconfpeapdefaulteaptype']?$eapconf['vareapconfpeapdefaulteaptype']:'mschapv2'); $vareapconfpeapcopyrequesttotunnel = ($eapconf['vareapconfpeapcopyrequesttotunnel']?$eapconf['vareapconfpeapcopyrequesttotunnel']:'no'); $vareapconfpeapusetunneledreply = ($eapconf['vareapconfpeapusetunneledreply']?$eapconf['vareapconfpeapusetunneledreply']:'no'); - + $vareapconfpeapsohenable = ($eapconf['vareapconfpeapsohenable']?$eapconf['vareapconfpeapsohenable']:'Disable'); + + // This is for enable/disbable MS SoH in EAP-PEAP and the virtuial-server "soh-server" + if ($eapconf['vareapconfpeapsohenable'] == 'Enable') { + $vareapconfpeapsoh = 'soh = yes' . "\n\t\t\tsoh_virtual_server = " . '"' . "soh-server" . '"'; + exec("ln -s /usr/local/etc/raddb/sites-available/soh /usr/local/etc/raddb/sites-enabled/"); + } + else { + $vareapconfpeapsoh = '### MS SoH Server is disabled ###'; + if (file_exists("/usr/local/etc/raddb/sites-enabled/soh")) { + exec("rm -f /usr/local/etc/raddb/sites-enabled/soh"); + } + } + // The filenames of pfsense cert manager are different from freeradius cert manager so it is possible to store both in the same folder at any time. // This is for the pfsense cert manager @@ -653,8 +666,7 @@ if ($vareapconfchoosecertmanager == 'radiuscertmgr') { copy_request_to_tunnel = $vareapconfpeapcopyrequesttotunnel use_tunneled_reply = $vareapconfpeapusetunneledreply # proxy_tunneled_request_as_eap = yes - soh = yes - soh_virtual_server = "soh" + $vareapconfpeapsoh } mschapv2 { # send_error = no -- cgit v1.2.3 From 8fa346d3fddf6305255f9f4165598a50a0aa253c Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Wed, 4 Jan 2012 14:41:43 +0100 Subject: freeradius2 updates pkg v1.4.3 --- config/freeradius2/freeradius.xml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/freeradius2/freeradius.xml b/config/freeradius2/freeradius.xml index 2f37b067..bcff9b17 100755 --- a/config/freeradius2/freeradius.xml +++ b/config/freeradius2/freeradius.xml @@ -55,10 +55,10 @@ /pkg.php?xml=freeradius.xml - FreeRADIUS + radiusd radiusd.sh radiusd - + @@ -332,7 +332,6 @@ freeradius_sqlconf_resync(); exec("rm -f /usr/local/etc/raddb/sites-enabled/control-socket"); exec("rm -f /usr/local/etc/raddb/sites-enabled/inner-tunnel"); - exec("ln -s /usr/local/etc/raddb/sites-available/soh /usr/local/etc/raddb/sites-enabled/"); freeradius_deinstall_command(); -- cgit v1.2.3 From 70c1e82d84b3083ecd534f07aacb5be157e3ac72 Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Wed, 4 Jan 2012 14:42:32 +0100 Subject: freeradius2 updates pkg v1.4.3 --- config/freeradius2/freeradiuseapconf.xml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/config/freeradius2/freeradiuseapconf.xml b/config/freeradius2/freeradiuseapconf.xml index 759c6065..dd70a959 100755 --- a/config/freeradius2/freeradiuseapconf.xml +++ b/config/freeradius2/freeradiuseapconf.xml @@ -289,7 +289,18 @@ - + + + Microsoft Statement of Health (SoH) Support + vareapconfpeapsohenable + + select + Disable + + + + + freeradius_eapconf_resync(); -- cgit v1.2.3 From 72757820a985dc7f444d633b59fec2fb69dd809d Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Wed, 4 Jan 2012 14:43:10 +0100 Subject: freeradius2 updates pkg v1.4.3 --- pkg_config.8.xml.amd64 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index 87336991..4d820cc2 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -834,7 +834,7 @@ Do not use together with freeradius package. Both are using the same XML files.]]> http://forum.pfsense.org/index.php/topic,43675.0.html System - 2.1.12 pkg v1.4.2 + 2.1.12 pkg v1.4.3 BETA 2.0 nachtfalkeaw@web.de -- cgit v1.2.3 From 23a2a02fa937a2a839e8348c276226956aed16a9 Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Wed, 4 Jan 2012 14:43:40 +0100 Subject: freeradius2 updates pkg v1.4.3 --- pkg_config.8.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 016e675a..0be2493b 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -792,7 +792,7 @@ Do not use together with freeradius package. Both are using the same XML files.]]> http://forum.pfsense.org/index.php/topic,43675.0.html System - 2.1.12 pkg v1.4.2 + 2.1.12 pkg v1.4.3 BETA 2.0 nachtfalkeaw@web.de -- cgit v1.2.3