test(ipsec): закрепить отсутствие proposal-ключей в .sswan
Co-authored-by: Cursor <[email protected]>
This commit is contained in:
@@ -101,6 +101,10 @@ import { identityRosBody } from "./ipsec-ros.js"
|
|||||||
assert.equal(remote.addr, "vpn.example.com")
|
assert.equal(remote.addr, "vpn.example.com")
|
||||||
assert.equal(remote.id, "vpn.example.com")
|
assert.equal(remote.id, "vpn.example.com")
|
||||||
assert.equal(local.p12, "cDEy")
|
assert.equal(local.p12, "cDEy")
|
||||||
|
// ike-proposal/esp-proposal не задаём: верхний регистр strongSwan не парсит,
|
||||||
|
// а его defaults совместимы с профилем MikroTik.
|
||||||
|
assert.equal("ike-proposal" in parsed, false)
|
||||||
|
assert.equal("esp-proposal" in parsed, false)
|
||||||
}
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user