Replies: 4 comments
-
Here's how the problem manifests itself:
because the negotiation shunt is a no-op the code trips up when it tries to delete it |
Beta Was this translation helpful? Give feedback.
-
Here's the command (where
in mainline, Should the UNROUTED permanent connection instead transition to UNROUTED_NEGOTIATION (nee UNROUTED_HOLD) while negotiating? And if yes, should a policy be installed? Currently NEGOTIATION=HOLD is a no-op.
at this point things fail so the code tries to tear down the policy.
|
Beta Was this translation helpful? Give feedback.
-
this, from old code was the intent:
but this will only work when there's a trap installed (for instance when the connection is in state ROUTED_ONDEMAND, something that isn't true here). So ..., what would KLIPS do?
And more interestingly, in
so it looks like NEGOTIATION=HOLD should be interpreted as NEGOTIATION=BLOCK |
Beta Was this translation helpful? Give feedback.
-
The problem is that the permanent connection may not yet know its selectors (for instance it is going to acquire them via a CP payload). Installing a HOLD would block all traffic. If the intent is to block traffic until things establish then the connection should be routed. |
Beta Was this translation helpful? Give feedback.
-
For instance, in linux-audit-02-ike-fail-ikev2:
Beta Was this translation helpful? Give feedback.
All reactions