Commit Graph

6 Commits

Author SHA1 Message Date
Nikos Mavrogiannopoulos
fca41e2fa2 Distinguish the bye packet interpretation
In openconnect client the BYE packet indicates an explicit
user disconnect by sending 0x0b as payload. In anyconnect clients it
may indicate an intention to reconnect (e.g., because network was changed).
We introduce a check for 0x0b to identify the user disconnect and
add debugging output for other disconnect reasons.

Relates: #281

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2020-04-08 21:07:36 +02:00
Nikos Mavrogiannopoulos
03bccbcaef main/sec-mod: handle sec-mod reload via synchronous communication
This eliminates race-conditions related to signal handling and potential
main/sec-mod desynchronizations related to cert/key pairs.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-04-15 09:25:55 +02:00
Nikos Mavrogiannopoulos
af2a64df2f ocserv: handle RSA-PSS and ed25519 key types when compiled with gnutls 3.6.0
That is, enhance the security module to accept and understand
more elaborate signing commands.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
2017-08-23 12:00:15 +02:00
Nikos Mavrogiannopoulos
d6ff620487 secmod sends periodically stats to main
That ensures that statistics will reach main even if no
users are logged in/logged out.

Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-04-14 16:39:00 +03:00
Nikos Mavrogiannopoulos
aa28f0b9d2 doc update
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-03-11 21:27:32 +01:00
Nikos Mavrogiannopoulos
646449743c added defs.h containing definitions from vpn.h
These are the definitions used by common/ library and
a split from vpn.h to reduce the dependencies (in headers)
to common library.
2016-09-14 11:18:35 +02:00