mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-15 00:00:16 -04:00
adapted pfkey alg and esp scenarios
This commit is contained in:
parent
8e7e81451b
commit
4c8f3dff9c
@ -1,4 +1,4 @@
|
|||||||
Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the ESP cipher suite
|
Roadwarrior <b>carol</b> proposes to gateway <b>moon</b> the ESP cipher suite
|
||||||
<b>AES_CBC_256 / AES_XCBC_96</b> by defining <b>esp=aes256-aesxcbc-modp2048</b>
|
<b>AES_CBC_128 / AES_XCBC_96</b> by defining <b>esp=aes128-aesxcbc-modp2048!</b>
|
||||||
in ipsec.conf. The same cipher suite is used for IKE: <b>ike=aes256-aesxcbc-modp2048</b>.
|
in ipsec.conf. The same cipher suite is used for IKE.
|
||||||
A ping from <b>carol</b> to <b>alice</b> successfully checks the established tunnel.
|
A ping from <b>carol</b> to <b>alice</b> successfully checks the established tunnel.
|
||||||
|
@ -1,9 +1,12 @@
|
|||||||
moon::ipsec statusall::rw.*INSTALLED::YES
|
moon::ipsec statusall::rw.*INSTALLED::YES
|
||||||
carol::ipsec statusall::home.*INSTALLED::YES
|
carol::ipsec statusall::home.*INSTALLED::YES
|
||||||
moon::ipsec statusall::rw.*IKE proposal.*AES_CBC_256/AES_XCBC_96/PRF_AES128_XCBC/MODP_2048::YES
|
moon::ipsec statusall::rw.*IKE proposal.*AES_CBC_128/AES_XCBC_96/PRF_AES128_XCBC/MODP_2048::YES
|
||||||
carol::ipsec statusall::home.*IKE proposal.*AES_CBC_256/AES_XCBC_96/PRF_AES128_XCBC/MODP_2048::YES
|
carol::ipsec statusall::home.*IKE proposal.*AES_CBC_128/AES_XCBC_96/PRF_AES128_XCBC/MODP_2048::YES
|
||||||
moon::ipsec statusall::rw.*AES_CBC_256/AES_XCBC_96,::YES
|
carol::ping -c 1 -s 120 -p deadbeef 10.1.0.10::128 bytes from 10.1.0.10: icmp_seq=1::YES
|
||||||
carol::ipsec statusall::home.*AES_CBC_256/AES_XCBC_96,::YES
|
moon::ipsec statusall::rw.*AES_CBC_128/AES_XCBC_96,::YES
|
||||||
|
carol::ipsec statusall::home.*AES_CBC_128/AES_XCBC_96,::YES
|
||||||
moon::ip xfrm state::auth xcbc(aes)::YES
|
moon::ip xfrm state::auth xcbc(aes)::YES
|
||||||
carol::ip xfrm state::auth xcbc(aes)::YES
|
carol::ip xfrm state::auth xcbc(aes)::YES
|
||||||
carol::ping -c 1 -s 120 -p deadbeef 10.1.0.10::128 bytes from 10.1.0.10: icmp_seq=1::YES
|
moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP.*length 196::YES
|
||||||
|
moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP.*length 196::YES
|
||||||
|
|
||||||
|
@ -11,8 +11,8 @@ conn %default
|
|||||||
rekeymargin=3m
|
rekeymargin=3m
|
||||||
keyingtries=1
|
keyingtries=1
|
||||||
keyexchange=ikev2
|
keyexchange=ikev2
|
||||||
ike=aes256-aesxcbc-modp2048!
|
ike=aes128-aesxcbc-modp2048!
|
||||||
esp=aes256-aesxcbc-modp2048!
|
esp=aes128-aesxcbc-modp2048!
|
||||||
|
|
||||||
conn home
|
conn home
|
||||||
left=PH_IP_CAROL
|
left=PH_IP_CAROL
|
||||||
|
@ -11,8 +11,8 @@ conn %default
|
|||||||
rekeymargin=3m
|
rekeymargin=3m
|
||||||
keyingtries=1
|
keyingtries=1
|
||||||
keyexchange=ikev2
|
keyexchange=ikev2
|
||||||
ike=aes256-aesxcbc-modp2048!
|
ike=aes128-aesxcbc-modp2048!
|
||||||
esp=aes256-aesxcbc-modp2048!
|
esp=aes128-aesxcbc-modp2048!
|
||||||
|
|
||||||
conn rw
|
conn rw
|
||||||
left=PH_IP_MOON
|
left=PH_IP_MOON
|
||||||
|
@ -13,7 +13,7 @@ DIAGRAM="m-c-w.png"
|
|||||||
|
|
||||||
# UML instances on which tcpdump is to be started
|
# UML instances on which tcpdump is to be started
|
||||||
#
|
#
|
||||||
TCPDUMPHOSTS=""
|
TCPDUMPHOSTS="moon"
|
||||||
|
|
||||||
# UML instances on which IPsec is started
|
# UML instances on which IPsec is started
|
||||||
# Used for IPsec logging purposes
|
# Used for IPsec logging purposes
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
moon::ipsec statusall::rw.*INSTALLED::YES
|
moon::ipsec statusall::rw.*INSTALLED::YES
|
||||||
carol::ipsec statusall::home.*INSTALLED::YES
|
carol::ipsec statusall::home.*INSTALLED::YES
|
||||||
|
carol::ping -c 1 -s 120 -p deadbeef PH_IP_ALICE::128 bytes from PH_IP_ALICE: icmp_seq=1::YES
|
||||||
moon::ipsec statusall::NULL/HMAC_SHA1_96::YES
|
moon::ipsec statusall::NULL/HMAC_SHA1_96::YES
|
||||||
carol::ipsec statusall::NULL/HMAC_SHA1_96::YES
|
carol::ipsec statusall::NULL/HMAC_SHA1_96::YES
|
||||||
moon::ip xfrm state::enc ecb(cipher_null)::YES
|
moon::ip xfrm state::enc ecb(cipher_null)::YES
|
||||||
carol::ip xfrm state::enc ecb(cipher_null)::YES
|
carol::ip xfrm state::enc ecb(cipher_null)::YES
|
||||||
carol::ping -c 1 -s 120 -p deadbeef 10.1.0.10::128 bytes from 10.1.0.10: icmp_seq=1::YES
|
moon::tcpdump::IP carol.strongswan.org > moon.strongswan.org: ESP.*length::YES
|
||||||
|
moon::tcpdump::IP moon.strongswan.org > carol.strongswan.org: ESP.*length::YES
|
||||||
|
@ -13,7 +13,7 @@ DIAGRAM="m-c-w.png"
|
|||||||
|
|
||||||
# UML instances on which tcpdump is to be started
|
# UML instances on which tcpdump is to be started
|
||||||
#
|
#
|
||||||
TCPDUMPHOSTS=""
|
TCPDUMPHOSTS="moon"
|
||||||
|
|
||||||
# UML instances on which IPsec is started
|
# UML instances on which IPsec is started
|
||||||
# Used for IPsec logging purposes
|
# Used for IPsec logging purposes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user