chore(test): подтвердить границы аутентификации сертификатов IPsec
This commit is contained in:
1 parent
67644c50cb
commit
cad01853e1
7 files changed
+176
-11
No files matched your search
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"date": "2026-10-11",
|
||||
"block": "12.5.123",
|
||||
"runtime": {
|
||||
"backend": "ux-san121",
|
||||
"frontend": "ux-bound116"
|
||||
},
|
||||
"native": {
|
||||
"date": "2026-10-11",
|
||||
"block": "12.5.123",
|
||||
"name": "mm-ipsec123-1791660163121",
|
||||
"linux": [
|
||||
{
|
||||
"variant": "control",
|
||||
"initiated": true,
|
||||
"vip": "198.18.123.249",
|
||||
"ping3of3": true,
|
||||
"native": [
|
||||
{
|
||||
"id": "CN=mm-ipsec123-1791660163121-client",
|
||||
"state": "established",
|
||||
"vip": "198.18.123.249"
|
||||
}
|
||||
],
|
||||
"catalog": {
|
||||
"online": true,
|
||||
"activeAddress": "198.18.123.249"
|
||||
},
|
||||
"catalogAfterTerminationOnline": 0
|
||||
},
|
||||
{
|
||||
"variant": "wrong-server-pin",
|
||||
"initiated": false,
|
||||
"failure": "t 1 [ EF(2/2) ]\n[NET] sending packet: from 172.19.0.2[4500] to 194.226.121.150[4500] (1236 bytes)\n[NET] sending packet: from 172.19.0.2[4500] to 194.226.121.150[4500] (276 bytes)\n[NET] received packet: from 194.226.121.150[4500] to 172.19.0.2[4500] (1204 bytes)\n[ENC] parsed IKE_AUTH response 1 [ EF(1/2) ]\n[ENC] received fragment #1 of 2, waiting for complete IKE message\n[IKE] retransmit 1 of request with message ID 1\n[NET] sending packet: from 172.19.0.2[4500] to 194.226.121.150[4500] (1236 bytes)\n[NET] sending packet: from 172.19.0.2[4500] to 194.226.121.150[4500] (276 bytes)\n[NET] received packet: from 194.226.121.150[4500] to 172.19.0.2[4500] (1204 bytes)\n[ENC] parsed IKE_AUTH response 1 [ EF(1/2) ]\n[ENC] received duplicate fragment #1\n[NET] received packet: from 194.226.121.150[4500] to 172.19.0.2[4500] (548 bytes)\n[ENC] parsed IKE_AUTH response 1 [ EF(2/2) ]\n[ENC] received fragment #2 of 2, reassembled fragmented IKE message (1312 bytes)\n[ENC] parsed IKE_AUTH response 1 [ IDr AUTH CERT CPRP(ADDR MASK DNS DNS) TSi TSr SA ]\n[IKE] received end entity cert \"CN=194.226.121.150\"\n[CFG] using certificate \"CN=194.226.121.150\"\n[CFG] using trusted ca certificate \"CN=mm-ipsec123-1791660163121-ca\"\n[CFG] reached self-signed root ca with a path length of 0\n[CFG] checking certificate status of \"CN=194.226.121.150\"\n[CFG] certificate status is not available\n[IKE] authentication of '194.226.121.150' with RSA signature successful\n[CFG] constraint check failed: peer not authenticated with peer cert 'CN=mm-ipsec123-1791660163121-client'\n[CFG] selected peer config 'lab' unacceptable: constraint checking failed\n[CFG] no alternative config found\n[ENC] generating INFORMATIONAL request 2 [ N(AUTH_FAILED) ]\n[NET] sending packet: from 172.19.0.2[4500] to 194.226.121.150[4500] (80 bytes)\n",
|
||||
"catalogAfterTerminationOnline": 0
|
||||
},
|
||||
{
|
||||
"variant": "unbound-client",
|
||||
"initiated": false,
|
||||
"failure": " failed to load - ctr_plugin_create not found and no plugin file available\nplugin 'ccm': failed to load - ccm_plugin_create not found and no plugin file available\nplugin 'curl': failed to load - curl_plugin_create not found and no plugin file available\ninitiate failed: establishing CHILD_SA 'private' failed\n[IKE] initiating IKE_SA lab[1] to 194.226.121.150\n[ENC] generating IKE_SA_INIT request 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) N(HASH_ALG) N(REDIR_SUP) ]\n[NET] sending packet: from 172.19.0.2[500] to 194.226.121.150[500] (464 bytes)\n[NET] received packet: from 194.226.121.150[500] to 172.19.0.2[500] (437 bytes)\n[ENC] parsed IKE_SA_INIT response 0 [ SA KE No N(NATD_S_IP) N(NATD_D_IP) N(FRAG_SUP) CERTREQ ]\n[CFG] selected proposal: IKE:AES_CBC_256/HMAC_SHA2_256_128/PRF_HMAC_SHA2_256/MODP_2048\n[IKE] local host is behind NAT, sending keep alives\n[IKE] sending cert request for \"CN=mm-ipsec123-1791660163121-ca\"\n[IKE] authentication of 'CN=mm-ipsec123-1791660163121-other-client' (myself) with RSA signature successful\n[IKE] sending end entity cert \"CN=mm-ipsec123-1791660163121-other-client\"\n[IKE] establishing CHILD_SA private{1}\n[ENC] generating IKE_AUTH request 1 [ IDi CERT CERTREQ AUTH CPRQ(ADDR DNS) SA TSi TSr N(MOBIKE_SUP) N(NO_ADD_ADDR) N(EAP_ONLY) N(MSG_ID_SYN_SUP) ]\n[ENC] splitting IKE message (1456 bytes) into 2 fragments\n[ENC] generating IKE_AUTH request 1 [ EF(1/2) ]\n[ENC] generating IKE_AUTH request 1 [ EF(2/2) ]\n[NET] sending packet: from 172.19.0.2[4500] to 194.226.121.150[4500] (1236 bytes)\n[NET] sending packet: from 172.19.0.2[4500] to 194.226.121.150[4500] (292 bytes)\n[NET] received packet: from 194.226.121.150[4500] to 172.19.0.2[4500] (256 bytes)\n[ENC] parsed IKE_AUTH response 1 [ N(AUTH_FAILED) ]\n[IKE] received AUTHENTICATION_FAILED notify error\n",
|
||||
"catalogAfterTerminationOnline": 0
|
||||
}
|
||||
],
|
||||
"cleanup": [
|
||||
{
|
||||
"serverId": 1,
|
||||
"/system/logging": true,
|
||||
"/ip/ipsec/identity": true,
|
||||
"/ip/ipsec/peer": true,
|
||||
"/ip/ipsec/policy": true,
|
||||
"/ip/ipsec/policy/group": true,
|
||||
"/ip/ipsec/mode-config": true,
|
||||
"/ip/ipsec/proposal": true,
|
||||
"/ip/ipsec/profile": true,
|
||||
"/certificate": true,
|
||||
"/file": true,
|
||||
"/ip/address": true,
|
||||
"/ip/route": true,
|
||||
"/ip/firewall/nat": true,
|
||||
"/ip/pool": true,
|
||||
"/interface/bridge": true,
|
||||
"/ipv6/address": true
|
||||
},
|
||||
{
|
||||
"serverId": 2,
|
||||
"/system/logging": true,
|
||||
"/ip/ipsec/identity": true,
|
||||
"/ip/ipsec/peer": true,
|
||||
"/ip/ipsec/policy": true,
|
||||
"/ip/ipsec/policy/group": true,
|
||||
"/ip/ipsec/mode-config": true,
|
||||
"/ip/ipsec/proposal": true,
|
||||
"/ip/ipsec/profile": true,
|
||||
"/certificate": true,
|
||||
"/file": true,
|
||||
"/ip/address": true,
|
||||
"/ip/route": true,
|
||||
"/ip/firewall/nat": true,
|
||||
"/ip/pool": true,
|
||||
"/interface/bridge": true,
|
||||
"/ipv6/address": true
|
||||
}
|
||||
],
|
||||
"clientImage": "sha256:c9d01c801de88b2349f685c1cb631e67a8b1c697439a00148d4045c23a584054",
|
||||
"subject": {
|
||||
"derHex": "302b3129302706035504030c206d6d2d69707365633132332d313739313636303136333132312d636c69656e74",
|
||||
"attributes": [
|
||||
{
|
||||
"oidHex": "550403",
|
||||
"stringTag": 12,
|
||||
"value": "mm-ipsec123-1791660163121-client"
|
||||
}
|
||||
],
|
||||
"san": "X509v3 Subject Alternative Name: \n DNS:mm-ipsec123-1791660163121.example"
|
||||
},
|
||||
"dockerCleanup": true,
|
||||
"credentialFilesRemoved": true
|
||||
},
|
||||
"bounds": [
|
||||
"Own CA and RSA certificates only; not full PKI/revocation/expiry acceptance",
|
||||
"Wrong server certificate pin rejected by client; second same-CA client certificate rejected by exact RouterOS remote-certificate binding",
|
||||
"No private keys, archives or passphrases persisted",
|
||||
"One Linux client at a time, one WAN/NAT, no OS compatibility/scale claims"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user