-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256





Sent with Proton Mail secure email.

On Saturday, January 20th, 2024 at 11:05 PM, tincantech via Openvpn-users 
<openvpn-users@lists.sourceforge.net> wrote:


> Hi,
> 
> On Saturday, January 20th, 2024 at 6:57 PM, Bo Berglund bo.bergl...@gmail.com 
> wrote:
> 
> > On Sat, 20 Jan 2024 18:41:17 +0100, Gert Doering g...@greenie.muc.de wrote:
> > 
> > > > Is it possible to notify the previous user via email or SMS when another
> > > > user connects to the server with the same key?
> > > 
> > > Anything can be done via --client-connect / --client-disconnect scripts.
> > 
> > Very interesting, I did not know about this....
> 
> 
> "Anything" is absolutely NOT correct, in this context.
> 
> Certain things may (or may not) be achievable via --client-connect/disconnect.
> 
> While the man page does not make this clear, I am quite certain that duplicate
> client connections are dropped before --client-connect fires.
> 
> Regards
> tct
> --

For posterity:

Server log --verb 4:

<verbatim>

2024-01-21 03:06:59 us=764987 10.1.101.36:33510 [tct.66.c.w10.dan] Peer 
Connection Initiated with [AF_INET]10.1.101.36:33510
2024-01-21 03:06:59 us=765204 MULTI: new connection by client 
'tct.66.c.w10.dan' will cause previous active sessions by this client to be 
dropped.  Remember to use the --duplicate-cn option if you want multiple 
clients using the same certificate or username to concurrently connect.
2024-01-21 03:06:59 us=765233 MULTI_sva: pool returned IPv4=10.126.66.121, 
IPv6=(Not enabled)
2024-01-21 03:06:59 us=765311 OPTIONS IMPORT: reading client specific options 
from: tuns_12666u/CCD_subnet/tct.66.c.w10.dan
TEST --client-connect script

</verbatim>

'TEST --client-connect script' is the configure --client-connect script output.

Feed the machine.
tct
-- 



-----BEGIN PGP SIGNATURE-----
Version: ProtonMail

wsBzBAEBCAAnBYJlrI2pCZBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr
kLidAABdtQf8Ddf5p2Y5p9eAvlvK+tjS14GyKs1XXzVs5zFKxPGzxCmwsr1o
815ocEj3WZSQDE23oHz4WaiCPZ3nxEGn8euCDrY3czC7IVHlkBEle8Ev/pfR
WTGDnP/W9QnBdmBPP0trsjKfrg+nVfldCf/OY63Ji3E4a0IiQzAztUMVT6s4
VlZ7Y7qth/r8NVwwguXJRsS/8LOUxKRIBflTh/0HfFhEIMrHq2Xx3MplcHBD
zWup0pFS2Tw02hpnFBZZdE5LX1vWHMYlZnRdf5/1JQsgB4IXghMnDsddjZCl
Pxg8y/6iwPQZpWeztg778RJ4c6zWXkQcJFfmr/mGiGyCGcJQdGcgqw==
=In9O
-----END PGP SIGNATURE-----

Attachment: publickey - tincantech@protonmail.com - 0x09BC3D44.asc
Description: application/pgp-keys

Attachment: publickey - tincantech@protonmail.com - 0x09BC3D44.asc.sig
Description: PGP signature

_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to