diff --git a/src/etc/inc/ipsec.inc b/src/etc/inc/ipsec.inc index cad010506..feb1d10f7 100644 --- a/src/etc/inc/ipsec.inc +++ b/src/etc/inc/ipsec.inc @@ -29,7 +29,6 @@ POSSIBILITY OF SUCH DAMAGE. */ -/* IPsec defines */ $ipsec_loglevels = array("dmn" => "Daemon", "mgr" => "SA Manager", "ike" => "IKE SA", "chd" => "IKE Child SA", "job" => "Job Processing", "cfg" => "Configuration backend", "knl" => "Kernel Interface", "net" => "Networking", "asn" => "ASN encoding", "enc" => "Message encoding", @@ -45,6 +44,16 @@ $p1_ealgos = array( 'des' => array( 'name' => 'DES' ) ); +$p1_authentication_methods = array( + 'hybrid_rsa_server' => array( 'name' => 'Hybrid RSA + Xauth', 'mobile' => true ), + 'xauth_rsa_server' => array( 'name' => 'Mutual RSA + Xauth', 'mobile' => true ), + 'xauth_psk_server' => array( 'name' => 'Mutual PSK + Xauth', 'mobile' => true ), + 'eap-tls' => array( 'name' => 'EAP-TLS', 'mobile' => true), + 'eap-mschapv2' => array( 'name' => 'EAP-MSCHAPV2', 'mobile' => true), + 'rsasig' => array( 'name' => 'Mutual RSA', 'mobile' => false ), + 'pre_shared_key' => array( 'name' => 'Mutual PSK', 'mobile' => false ), +); + $p2_ealgos = array( 'aes' => array( 'name' => 'AES', 'keysel' => array( 'lo' => 128, 'hi' => 256, 'step' => 64 ) ), 'blowfish' => array( 'name' => 'Blowfish', 'keysel' => array( 'lo' => 128, 'hi' => 256, 'step' => 64 ) ), diff --git a/src/www/vpn_ipsec.php b/src/www/vpn_ipsec.php index 2a22709df..be081ac99 100644 --- a/src/www/vpn_ipsec.php +++ b/src/www/vpn_ipsec.php @@ -428,7 +428,7 @@ $( document ).ready(function() { =gettext("DH Group"); ?> =$p1_dhgroups[$ph1ent['dhgroup']];?>