Re: Two questions about key generation for clients
Gert Doering <[email protected]>
| Newsgroups | gmane.network.openvpn.user |
|---|---|
| Message-ID | <[email protected]> |
Hi,
On Sat, Jan 20, 2024 at 11:05:41PM +0000, tincantech via Openvpn-users 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.
Since duplicate client connections are *not* dropped (but the previus
instance is kicked out), I am very very sure --client-connect fires.
I'm not 100% sure on --client-disconnect, as our server behaviour regarding
EEN in this case seems a bit inconsistent - so maybe --client-disconnect is
also not called. But I have not tested yet.
gert
--
"If was one thing all people took for granted, was conviction that if you
feed honest figures into a computer, honest figures come out. Never doubted
it myself till I met a computer with a sense of humor."
Robert A. Heinlein, The Moon is a Harsh Mistress
Gert Doering - Munich, Germany [email protected]
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users
signature.asc
(application/pgp-signature, 630 B)
-----BEGIN PGP SIGNATURE----- iQGcBAEBAgAGBQJlrN/EAAoJEB2Cnv7KVigSZxkMAIAFmBkdQdCyu6LRS1QVSUxx vaMoA4sAs3JiSUMUpwb5AN/hafY22qtDnMZqiKaDKoSTwUlX5HVtYljqV5oK+uvy Con0ksuC4MRzavcwwXd4tAi0bAepCGaIHqyGptS994u/zilTL7VuLiY+W73dy4TE SRNsb4TH0UIgXa4qKmB+PEnN98OtFcn8mUz0NzNcsaqOGQFmut8kpC3kXCZH9d2o ouIpNHLX0ZhzNE71de4oFOXFDs0aOh9QenlTcfLRHruhrXztaawYS33zMA7QAQzQ t6zVd5hkbHGcvd2YoS7q0fN70GkK99u2mTpjS3+7fqVZy0rKWkVQvtOPZC4uCoMm h3WeH/3+eiSeRYLJYp/pDYDSz4M+cyV9GwM54CO+CRSUZ6MIvalEabi2ifgSKhCn mVOTmh2O5tBQz1nZm+xoKML31Gs1zkUe3PEhBY5tkuP3qZUXbF6qgm4gLozrEPiN uRxnDToX96pTwKfM1/bU0FVZMgyVSKq8kaCW5C8Hqg== =ITtM -----END PGP SIGNATURE-----