use left|rightauth notation in eap scenarios
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 15 May 2009 08:39:57 +0000 (10:39 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 15 May 2009 08:40:08 +0000 (10:40 +0200)
testing/tests/ikev2/rw-eap-aka-id-rsa/hosts/carol/etc/ipsec.conf
testing/tests/ikev2/rw-eap-aka-id-rsa/hosts/moon/etc/ipsec.conf
testing/tests/ikev2/rw-eap-aka-rsa/hosts/carol/etc/ipsec.conf
testing/tests/ikev2/rw-eap-aka-rsa/hosts/moon/etc/ipsec.conf
testing/tests/ikev2/rw-eap-mschapv2-id-rsa/hosts/carol/etc/ipsec.conf
testing/tests/ikev2/rw-eap-mschapv2-id-rsa/hosts/moon/etc/ipsec.conf

index 8cffbe3..22bba57 100755 (executable)
@@ -9,15 +9,15 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       authby=eap
 
 conn home
        left=PH_IP_CAROL
-       leftnexthop=%direct
        leftid=carol@strongswan.org
        leftfirewall=yes
+       leftauth=eap
        eap_identity=carol
        right=PH_IP_MOON
        rightid=@moon.strongswan.org
        rightsubnet=10.1.0.0/16
+       rightauth=pubkey
        auto=add
index b239e77..ce047eb 100755 (executable)
@@ -12,15 +12,16 @@ conn %default
        keyexchange=ikev2
 
 conn rw-eap
-       authby=rsasig
-       eap=aka
-       eap_identity=%identity
        left=PH_IP_MOON
        leftsubnet=10.1.0.0/16
        leftid=@moon.strongswan.org
        leftcert=moonCert.pem
+       leftauth=pubkey
        leftfirewall=yes
+       right=%any
        rightid=*@strongswan.org
        rightsendcert=never
+       rightauth=eap-aka
+       eap_identity=%any       
        right=%any
        auto=add
index 2af93a3..ba9294f 100755 (executable)
@@ -9,14 +9,15 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       authby=eap
 
 conn home
        left=PH_IP_CAROL
        leftnexthop=%direct
        leftid=carol@strongswan.org
+       leftauth=eap
        leftfirewall=yes
        right=PH_IP_MOON
        rightid=@moon.strongswan.org
        rightsubnet=10.1.0.0/16
+       rightauth=pubkey
        auto=add
index 140e889..4594145 100755 (executable)
@@ -12,14 +12,14 @@ conn %default
        keyexchange=ikev2
 
 conn rw-eapaka
-       authby=rsasig
-       eap=aka
        left=PH_IP_MOON
        leftsubnet=10.1.0.0/16
        leftid=@moon.strongswan.org
        leftcert=moonCert.pem
+       leftauth=pubkey
        leftfirewall=yes
+       right=%any
        rightid=*@strongswan.org
        rightsendcert=never
-       right=%any
+       rightauth=eap-aka
        auto=add
index ec09a33..c1497ca 100755 (executable)
@@ -9,14 +9,14 @@ conn %default
        rekeymargin=3m
        keyingtries=1
        keyexchange=ikev2
-       authby=eap
 
 conn home
        left=PH_IP_CAROL
-       leftnexthop=%direct
        leftfirewall=yes
+       leftauth=eap
        eap_identity=carol
        right=PH_IP_MOON
+       rightauth=pubkey
        rightid=@moon.strongswan.org
        rightsubnet=10.1.0.0/16
        auto=add
index 57a8996..a4a45f0 100755 (executable)
@@ -12,15 +12,14 @@ conn %default
        keyexchange=ikev2
 
 conn rw-eap
-       authby=rsasig
-       eap=mschapv2
-       eap_identity=%identity
        left=PH_IP_MOON
        leftsubnet=10.1.0.0/16
        leftid=@moon.strongswan.org
        leftcert=moonCert.pem
+       leftauth=pubkey
        leftfirewall=yes
-       rightid=%any
-       rightsendcert=never
        right=%any
+       rightauth=eap-mschapv2
+       rightsendcert=never
+       eap_identity=%any
        auto=add