mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-27 07:18:04 +08:00
occtl: add terminate commands for session cookie invalidation
Add 'terminate user', 'terminate id' and 'terminate session' commands to occtl that disconnect users and invalidate their session cookies, preventing reconnection with cached credentials. Short session IDs are resolved to full safe_id by fetching the cookie list from sec-mod via CTL_CMD_LIST_COOKIES with prefix matching and ambiguity detection. Active sessions trigger a warning before invalidation. Add integration tests for all three terminate commands. Signed-off-by: Ivan Verbin <verbinivan@gmail.com>
This commit is contained in:
5
NEWS
5
NEWS
@@ -1,9 +1,12 @@
|
||||
* Version 1.4.2 (unreleased)
|
||||
- The bundled llhttp was updated to 9.3.1.
|
||||
- occtl: Added 'terminate user', 'terminate id', and 'terminate session'
|
||||
commands that disconnect users and invalidate their session cookies,
|
||||
preventing automatic reconnection (#689)
|
||||
|
||||
|
||||
* Version 1.4.1 (released 2026-02-28)
|
||||
- [SECURITY] Fixed authentication bypass (medium severity) when combined
|
||||
- [SECURITY] Fixed authentication bypass (medium severity) when combined
|
||||
password with certificate authentication with cert-user-oid set to SAN(rfc822name):
|
||||
a client presenting a valid CA-signed certificate without the expected
|
||||
RFC822 SAN field could authenticate using password credentials alone,
|
||||
|
||||
Reference in New Issue
Block a user