[Openswan Users] IPSEC(epa_des_crypt): decrypted packet failed SA identity

Markus Locher ml at as-support.com
Mon Jan 12 09:05:15 EST 2009


Maybe something is wrong with the 3des loaded : see lines in "ipsec
whack --status" output:

+++++++++++++++++++++++++
000 "L2TPPSKCLIENT":   IKE algorithms wanted:
3DES_CBC(5)_000-SHA1(2)-MODP1024(2); flags=-strict
000 "L2TPPSKCLIENT":   IKE algorithms found: 
3DES_CBC(5)_192-SHA1(2)_160-2,
000 "L2TPPSKCLIENT":   IKE algorithm newest: 3DES_CBC_192-SHA1-MODP1024
000 "L2TPPSKCLIENT":   ESP algorithms wanted: 3DES(3)_000-SHA1(2);
flags=-strict
000 "L2TPPSKCLIENT":   ESP algorithms loaded: 3DES(3)_192-SHA1(2)_160
000 "L2TPPSKCLIENT":   ESP algorithm newest: 3DES_0-HMAC_SHA1;
pfsgroup=<N/A>
000 
++++++++++++++++++++++++++

------------------------------------------------
# ipsec whack --status
000 using kernel interface: netkey
000 interface lo/lo ::1
000 interface lo/lo 127.0.0.1
000 interface eth0/eth0 87.106.244.79
000 %myid = (none)
000 debug none
000 
000 virtual_private (%priv):
000 - allowed 1 subnet: 192.168.0.0/24
000 - disallowed 0 subnets:
000 WARNING: Either virtual_private= was not specified, or there was a
syntax
000          error in that line. 'left/rightsubnet=%priv' will not work!
000 
000 algorithm ESP encrypt: id=2, name=ESP_DES, ivlen=8, keysizemin=64,
keysizemax=64
000 algorithm ESP encrypt: id=3, name=ESP_3DES, ivlen=8, keysizemin=192,
keysizemax=192
000 algorithm ESP encrypt: id=7, name=ESP_BLOWFISH, ivlen=8,
keysizemin=40, keysizemax=448
000 algorithm ESP encrypt: id=12, name=ESP_AES, ivlen=8, keysizemin=128,
keysizemax=256
000 algorithm ESP encrypt: id=13, name=ESP_AES_CTR, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP encrypt: id=14, name=ESP_AES_CCM_A, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP encrypt: id=15, name=ESP_AES_CCM_B, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP encrypt: id=16, name=ESP_AES_CCM_C, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP encrypt: id=18, name=ESP_AES_GCM_A, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP encrypt: id=19, name=ESP_AES_GCM_B, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP encrypt: id=20, name=ESP_AES_GCM_C, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP encrypt: id=22, name=ESP_CAMELLIA, ivlen=8,
keysizemin=128, keysizemax=256
000 algorithm ESP auth attr: id=1, name=AUTH_ALGORITHM_HMAC_MD5,
keysizemin=128, keysizemax=128
000 algorithm ESP auth attr: id=2, name=AUTH_ALGORITHM_HMAC_SHA1,
keysizemin=160, keysizemax=160
000 algorithm ESP auth attr: id=5, name=AUTH_ALGORITHM_HMAC_SHA2_256,
keysizemin=256, keysizemax=256
000 algorithm ESP auth attr: id=8, name=AUTH_ALGORITHM_HMAC_RIPEMD,
keysizemin=160, keysizemax=160
000 algorithm ESP auth attr: id=9, name=AUTH_ALGORITHM_AES_CBC,
keysizemin=128, keysizemax=128
000 
000 algorithm IKE encrypt: id=0, name=(null), blocksize=16, keydeflen=131
000 algorithm IKE encrypt: id=3, name=OAKLEY_BLOWFISH_CBC, blocksize=8,
keydeflen=128
000 algorithm IKE encrypt: id=5, name=OAKLEY_3DES_CBC, blocksize=8,
keydeflen=192
000 algorithm IKE encrypt: id=7, name=OAKLEY_AES_CBC, blocksize=16,
keydeflen=128
000 algorithm IKE encrypt: id=65004, name=OAKLEY_SERPENT_CBC,
blocksize=16, keydeflen=128
000 algorithm IKE encrypt: id=65005, name=OAKLEY_TWOFISH_CBC,
blocksize=16, keydeflen=128
000 algorithm IKE encrypt: id=65289, name=OAKLEY_TWOFISH_CBC_SSH,
blocksize=16, keydeflen=128
000 algorithm IKE hash: id=1, name=OAKLEY_MD5, hashsize=16
000 algorithm IKE hash: id=2, name=OAKLEY_SHA1, hashsize=20
000 algorithm IKE hash: id=4, name=OAKLEY_SHA2_256, hashsize=32
000 algorithm IKE hash: id=6, name=OAKLEY_SHA2_512, hashsize=64
000 algorithm IKE dh group: id=2, name=OAKLEY_GROUP_MODP1024, bits=1024
000 algorithm IKE dh group: id=5, name=OAKLEY_GROUP_MODP1536, bits=1536
000 algorithm IKE dh group: id=14, name=OAKLEY_GROUP_MODP2048, bits=2048
000 algorithm IKE dh group: id=15, name=OAKLEY_GROUP_MODP3072, bits=3072
000 algorithm IKE dh group: id=16, name=OAKLEY_GROUP_MODP4096, bits=4096
000 algorithm IKE dh group: id=17, name=OAKLEY_GROUP_MODP6144, bits=6144
000 algorithm IKE dh group: id=18, name=OAKLEY_GROUP_MODP8192, bits=8192
000 
000 stats db_ops: {curr_cnt, total_cnt, maxsz} :context={0,2,64}
trans={0,2,1440} attrs={0,2,960}
000 
000 "L2TPPSKCLIENT":
87.106.244.79<87.106.244.79>[%myid,+S=C]:17/1701...217.91.16.223<217.91.16.223>[+S=C]:17/1701;
erouted; eroute owner: #2
000 "L2TPPSKCLIENT":     myip=unset; hisip=unset;
000 "L2TPPSKCLIENT":   ike_life: 3600s; ipsec_life: 600s; rekey_margin:
540s; rekey_fuzz: 100%; keyingtries: 3
000 "L2TPPSKCLIENT":   policy: PSK+ENCRYPT+UP+IKEv2ALLOW+lKOD+rKOD;
prio: 32,32; interface: eth0;
000 "L2TPPSKCLIENT":   dpd: action:clear; delay:30; timeout:120;
000 "L2TPPSKCLIENT":   newest ISAKMP SA: #1; newest IPsec SA: #2;
000 "L2TPPSKCLIENT":   IKE algorithms wanted:
3DES_CBC(5)_000-SHA1(2)-MODP1024(2); flags=-strict
000 "L2TPPSKCLIENT":   IKE algorithms found: 
3DES_CBC(5)_192-SHA1(2)_160-2,
000 "L2TPPSKCLIENT":   IKE algorithm newest: 3DES_CBC_192-SHA1-MODP1024
000 "L2TPPSKCLIENT":   ESP algorithms wanted: 3DES(3)_000-SHA1(2);
flags=-strict
000 "L2TPPSKCLIENT":   ESP algorithms loaded: 3DES(3)_192-SHA1(2)_160
000 "L2TPPSKCLIENT":   ESP algorithm newest: 3DES_0-HMAC_SHA1;
pfsgroup=<N/A>
000 
000 #2: "L2TPPSKCLIENT":500 STATE_QUICK_I2 (sent QI2, IPsec SA
established); EVENT_SA_EXPIRE in 444s; newest IPSEC; eroute owner;
isakmp#1; idle; import:admin initiate
000 #2: "L2TPPSKCLIENT" esp.993286ec at 217.91.16.223
esp.b5f40357 at 87.106.244.79 ref=0 refhim=4294901761
000 #1: "L2TPPSKCLIENT":500 STATE_MAIN_I4 (ISAKMP SA established);
EVENT_SA_REPLACE in 2730s; newest ISAKMP; lastdpd=6s(seq in:10152
out:0); idle; import:admin initiate
000 
---------------------------------------

markus


More information about the Users mailing list