]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
implement `auth_expiration` for Pulse protocol
authorDaniel Lenski <dlenski@gmail.com>
Wed, 9 Dec 2020 03:24:00 +0000 (19:24 -0800)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 14 Dec 2020 22:44:03 +0000 (14:44 -0800)
commite646bf0f65c4f9f1cc7d1b4e3f038cf57a932b12
treefa7162294b2f683daa24f859b3565dda59584a2a
parentf152cf7d43cf3c288c0c915c47141b6dce68b3d1
implement `auth_expiration` for Pulse protocol

We have many examples of this field (AVP 0x583/0xd5c) being multiples of 60 or 3600,
strongly suggesting that it's the remaining auth lifetime:

- https://gitlab.com/openconnect/openconnect/-/issues/98: `AVP 0x583/0xd5c: 00 01 fa 40` (0x1fa40 seconds = 36 hours)
- private communication: `AVP 0x583/0xd5c: 00 00 a9 ec` (0xa9ec seconds = 12 hours)
- private communication: `AVP 0x583/0xd5c: 00 00 0a 70` (0xa70 seconds = 44 minutes)

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
pulse.c