chore(test): проверить смену ключей и восстановление IPsec
This commit is contained in:
1 parent
d4f5746325
commit
67644c50cb
7 files changed
+480
-11
No files matched your search
@@ -0,0 +1,399 @@
|
||||
{
|
||||
"date": "2026-10-11",
|
||||
"block": "12.5.122",
|
||||
"runtime": {
|
||||
"backend": "ux-san121",
|
||||
"frontend": "ux-bound116"
|
||||
},
|
||||
"native": {
|
||||
"date": "2026-10-11",
|
||||
"block": "12.5.122",
|
||||
"name": "mm-ipsec122-1791660059681",
|
||||
"linux": [
|
||||
{
|
||||
"variant": "certificate-derived",
|
||||
"initiated": true,
|
||||
"vip": "198.18.122.248",
|
||||
"ping3of3": true,
|
||||
"native": [
|
||||
{
|
||||
"id": "CN=mm-ipsec122-1791660059681-client",
|
||||
"state": "established",
|
||||
"vip": "198.18.122.248"
|
||||
}
|
||||
],
|
||||
"catalog": {
|
||||
"online": true,
|
||||
"activeAddress": "198.18.122.248"
|
||||
}
|
||||
}
|
||||
],
|
||||
"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": "302b3129302706035504030c206d6d2d69707365633132322d313739313636303035393638312d636c69656e74",
|
||||
"attributes": [
|
||||
{
|
||||
"oidHex": "550403",
|
||||
"stringTag": 12,
|
||||
"value": "mm-ipsec122-1791660059681-client"
|
||||
}
|
||||
],
|
||||
"san": "X509v3 Subject Alternative Name: \n DNS:mm-ipsec122-1791660059681.example"
|
||||
},
|
||||
"lifecycle": [
|
||||
{
|
||||
"phase": "initial",
|
||||
"established": 1,
|
||||
"online": true,
|
||||
"vip": "198.18.122.248",
|
||||
"addressList": [
|
||||
"127.0.0.1",
|
||||
"::1",
|
||||
"172.19.0.2",
|
||||
"198.18.122.248"
|
||||
],
|
||||
"ping3of3": true,
|
||||
"sas": [
|
||||
{
|
||||
"spi": "0x621D07C",
|
||||
"state": "mature",
|
||||
"src": "161.104.46.222:4500",
|
||||
"dst": "194.226.121.150:4500"
|
||||
},
|
||||
{
|
||||
"spi": "0xCE7D9086",
|
||||
"state": "mature",
|
||||
"src": "194.226.121.150:4500",
|
||||
"dst": "161.104.46.222:4500"
|
||||
}
|
||||
],
|
||||
"attempts": [
|
||||
{
|
||||
"attempt": 1,
|
||||
"success": true,
|
||||
"output": "PING 198.18.122.1 (198.18.122.1) from 198.18.122.248 : 56(84) bytes of data.\n64 bytes from 198.18.122.1: icmp_seq=1 ttl=64 time=2.73 ms\n64 bytes from 198.18.122.1: icmp_seq=2 ttl=64 time=3.20 ms\n64 bytes from 198.18.122.1: icmp_seq=3 ttl=64 time=2.42 ms\n\n--- 198.18.122.1 ping statistics ---\n3 packets transmitted, 3 received, 0% packet loss, time 2003ms\nrtt min/avg/max/mdev = 2.417/2.779/3.196/0.320 ms\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "child-rekey",
|
||||
"established": 1,
|
||||
"online": true,
|
||||
"vip": "198.18.122.248",
|
||||
"addressList": [
|
||||
"127.0.0.1",
|
||||
"::1",
|
||||
"172.19.0.2",
|
||||
"198.18.122.248"
|
||||
],
|
||||
"ping3of3": true,
|
||||
"sas": [
|
||||
{
|
||||
"spi": "0x49AD56EF",
|
||||
"state": "mature",
|
||||
"src": "161.104.46.222:4500",
|
||||
"dst": "194.226.121.150:4500"
|
||||
},
|
||||
{
|
||||
"spi": "0xC6CB5CD2",
|
||||
"state": "mature",
|
||||
"src": "194.226.121.150:4500",
|
||||
"dst": "161.104.46.222:4500"
|
||||
}
|
||||
],
|
||||
"attempts": [
|
||||
{
|
||||
"attempt": 1,
|
||||
"success": true,
|
||||
"output": "PING 198.18.122.1 (198.18.122.1) from 198.18.122.248 : 56(84) bytes of data.\n64 bytes from 198.18.122.1: icmp_seq=1 ttl=64 time=2.81 ms\n64 bytes from 198.18.122.1: icmp_seq=2 ttl=64 time=3.72 ms\n64 bytes from 198.18.122.1: icmp_seq=3 ttl=64 time=3.97 ms\n\n--- 198.18.122.1 ping statistics ---\n3 packets transmitted, 3 received, 0% packet loss, time 2004ms\nrtt min/avg/max/mdev = 2.811/3.498/3.968/0.496 ms\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ike-rekey",
|
||||
"established": 1,
|
||||
"online": true,
|
||||
"vip": "198.18.122.248",
|
||||
"addressList": [
|
||||
"127.0.0.1",
|
||||
"::1",
|
||||
"172.19.0.2",
|
||||
"198.18.122.248"
|
||||
],
|
||||
"ping3of3": true,
|
||||
"sas": [
|
||||
{
|
||||
"spi": "0x49AD56EF",
|
||||
"state": "mature",
|
||||
"src": "161.104.46.222:4500",
|
||||
"dst": "194.226.121.150:4500"
|
||||
},
|
||||
{
|
||||
"spi": "0xC6CB5CD2",
|
||||
"state": "mature",
|
||||
"src": "194.226.121.150:4500",
|
||||
"dst": "161.104.46.222:4500"
|
||||
}
|
||||
],
|
||||
"attempts": [
|
||||
{
|
||||
"attempt": 1,
|
||||
"success": true,
|
||||
"output": "PING 198.18.122.1 (198.18.122.1) from 198.18.122.248 : 56(84) bytes of data.\n64 bytes from 198.18.122.1: icmp_seq=1 ttl=64 time=2.52 ms\n64 bytes from 198.18.122.1: icmp_seq=2 ttl=64 time=2.66 ms\n64 bytes from 198.18.122.1: icmp_seq=3 ttl=64 time=2.56 ms\n\n--- 198.18.122.1 ping statistics ---\n3 packets transmitted, 3 received, 0% packet loss, time 2004ms\nrtt min/avg/max/mdev = 2.516/2.579/2.663/0.061 ms\n"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "terminated",
|
||||
"established": 0,
|
||||
"online": false
|
||||
},
|
||||
{
|
||||
"phase": "reconnected",
|
||||
"established": 1,
|
||||
"online": true,
|
||||
"vip": "198.18.122.248",
|
||||
"addressList": [
|
||||
"127.0.0.1",
|
||||
"::1",
|
||||
"172.19.0.2",
|
||||
"198.18.122.248"
|
||||
],
|
||||
"ping3of3": true,
|
||||
"sas": [
|
||||
{
|
||||
"spi": "0x2CE416B0",
|
||||
"state": "mature",
|
||||
"src": "161.104.46.222:4500",
|
||||
"dst": "194.226.121.150:4500"
|
||||
},
|
||||
{
|
||||
"spi": "0xC209BC5C",
|
||||
"state": "mature",
|
||||
"src": "194.226.121.150:4500",
|
||||
"dst": "161.104.46.222:4500"
|
||||
}
|
||||
],
|
||||
"attempts": [
|
||||
{
|
||||
"attempt": 1,
|
||||
"success": true,
|
||||
"output": "PING 198.18.122.1 (198.18.122.1) from 198.18.122.248 : 56(84) bytes of data.\n64 bytes from 198.18.122.1: icmp_seq=1 ttl=64 time=3.14 ms\n64 bytes from 198.18.122.1: icmp_seq=2 ttl=64 time=2.81 ms\n64 bytes from 198.18.122.1: icmp_seq=3 ttl=64 time=2.77 ms\n\n--- 198.18.122.1 ping statistics ---\n3 packets transmitted, 3 received, 0% packet loss, time 2003ms\nrtt min/avg/max/mdev = 2.768/2.904/3.138/0.165 ms\n"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"childSpisChanged": true,
|
||||
"ikeIds": {
|
||||
"before": "1",
|
||||
"after": "2"
|
||||
},
|
||||
"dockerCleanup": true,
|
||||
"credentialFilesRemoved": true
|
||||
},
|
||||
"firstFailure": {
|
||||
"date": "2026-10-11",
|
||||
"block": "12.5.122",
|
||||
"name": "mm-ipsec122-1791659946463",
|
||||
"linux": [
|
||||
{
|
||||
"variant": "certificate-derived",
|
||||
"initiated": true,
|
||||
"vip": "198.18.122.249",
|
||||
"ping3of3": true,
|
||||
"native": [
|
||||
{
|
||||
"id": "CN=mm-ipsec122-1791659946463-client",
|
||||
"state": "established",
|
||||
"vip": "198.18.122.249"
|
||||
}
|
||||
],
|
||||
"catalog": {
|
||||
"online": true,
|
||||
"activeAddress": "198.18.122.249"
|
||||
}
|
||||
}
|
||||
],
|
||||
"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": "302b3129302706035504030c206d6d2d69707365633132322d313739313635393934363436332d636c69656e74",
|
||||
"attributes": [
|
||||
{
|
||||
"oidHex": "550403",
|
||||
"stringTag": 12,
|
||||
"value": "mm-ipsec122-1791659946463-client"
|
||||
}
|
||||
],
|
||||
"san": "X509v3 Subject Alternative Name: \n DNS:mm-ipsec122-1791659946463.example"
|
||||
},
|
||||
"lifecycle": [
|
||||
{
|
||||
"phase": "initial",
|
||||
"established": 1,
|
||||
"online": true,
|
||||
"vip": "198.18.122.249",
|
||||
"ping3of3": true,
|
||||
"sas": [
|
||||
{
|
||||
"spi": "0xAA16E5D5",
|
||||
"state": "mature",
|
||||
"src": "161.104.46.222:4500",
|
||||
"dst": "194.226.121.150:4500"
|
||||
},
|
||||
{
|
||||
"spi": "0xC1521FA7",
|
||||
"state": "mature",
|
||||
"src": "194.226.121.150:4500",
|
||||
"dst": "161.104.46.222:4500"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "child-rekey",
|
||||
"established": 1,
|
||||
"online": true,
|
||||
"vip": "198.18.122.249",
|
||||
"ping3of3": true,
|
||||
"sas": [
|
||||
{
|
||||
"spi": "0x50F5F25",
|
||||
"state": "mature",
|
||||
"src": "161.104.46.222:4500",
|
||||
"dst": "194.226.121.150:4500"
|
||||
},
|
||||
{
|
||||
"spi": "0xCBD549AD",
|
||||
"state": "mature",
|
||||
"src": "194.226.121.150:4500",
|
||||
"dst": "161.104.46.222:4500"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "ike-rekey",
|
||||
"established": 1,
|
||||
"online": true,
|
||||
"vip": "198.18.122.249",
|
||||
"ping3of3": true,
|
||||
"sas": [
|
||||
{
|
||||
"spi": "0x50F5F25",
|
||||
"state": "mature",
|
||||
"src": "161.104.46.222:4500",
|
||||
"dst": "194.226.121.150:4500"
|
||||
},
|
||||
{
|
||||
"spi": "0xCBD549AD",
|
||||
"state": "mature",
|
||||
"src": "194.226.121.150:4500",
|
||||
"dst": "161.104.46.222:4500"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"phase": "terminated",
|
||||
"established": 0,
|
||||
"online": false
|
||||
}
|
||||
],
|
||||
"childSpisChanged": true,
|
||||
"ikeIds": {
|
||||
"before": "1",
|
||||
"after": "2"
|
||||
},
|
||||
"error": "The expression evaluated to a falsy value:\n\n assert(ping.code===0&&/3 received/.test(ping.output))\n",
|
||||
"routerAuthLogs": [
|
||||
"ipsec identity added by api:admin@:: (*A = /ip ipsec identity add auth-method=digital-signature certificate=mm-ipsec122-1791659946463-server comment=mm-ipsec122-1791659946463 generate-policy=port-strict match-by=certificate mode-config=mm-ipsec122-1791659946463 peer=mm-ipsec122-1791659946463 policy-template-group=mm-ipsec122-1791659946463 remote-certificate=mm-ipsec122-1791659946463-client)",
|
||||
"mm-ipsec122-1791659946463: => certificate (size 0x36f)",
|
||||
"mm-ipsec122-1791659946463: => certificate (size 0x36f)"
|
||||
],
|
||||
"dockerCleanup": true,
|
||||
"credentialFilesRemoved": true
|
||||
},
|
||||
"bounds": [
|
||||
"First reconnect Ping failed with insufficient diagnostics; exact cause remains unproven",
|
||||
"Final run binds Ping to native issued VIP, all four connected phases pass first Ping3/3",
|
||||
"Not proof of zero packet loss during rekey, timed SLA, physical WAN failure, sustained renewal or all client OS",
|
||||
"Public SPI/state/address only retained; no installed-SA keys persisted"
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user