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

Hi,

in the past I have heard of people grepping the log file for:
'MULTI_sva: pool returned IPv4'
to keep some sort of log regarding connections/disconnections.

The idea is that 'pool returned IPv4' is believed to be logged when
the client disconnects and their IPv4 is release back to the pool.

However, that is not the case!

'MULTI_sva: pool returned IPv4' is issued when a client connects
not when it disconnects.

I grepped the source and there is only one occurrence of 'pool returned':
multi.c:1477:            msg( M_INFO, "MULTI_sva: pool returned IPv4=%s, 
IPv6=%s",

I presume then that the function using it is, in fact, querying the pool
for a usable address and the pool "returns" the address for use.
(This msg is even printed at --verb 1)

Further grepping gave me the impression that IPs being released by clients
disconnecting is not logged at any verb setting.

My point here is:
* The 'pool returned' message may be misunderstood by users.
* There is no 'IP returned to pool' message at all.

I don't use this myself but I have been asked about it in the past and
the advice I gave was incorrect (Sorry about that).

Could this be improved by rewording the current message and having a
corresponding message for IPs actually being returned to the pool ?

Thanks
R

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

wsBzBAEBCAAGBQJgy4yZACEJEE+XnPZrkLidFiEECbw9RGejjXJ5xVVVT5ec
9muQuJ2/8AgApTqjj2zTNM6Z5D2pDYiMA1L2bK31ElnbZ68sb6iiSOqn8/qG
3GDSNyHWLsXTH422zoMkzy5AGLifqQO7KcApsvSMiXzMtDQjdxqSs2DmAi2L
NE6yr5Ev5fcgPee38jbCsZlMdY22qGFfuimKpxz6MnMXEYQPKnAEPbgkW6M/
tpNz4CjpoCteprigqh5cbsQp1YrTb8u9fNjLAUQx7k48hoUP0gCnyVu3liam
aEZb/JJFRYRG+sEGzHEqtl/6KWkCcmz3DP+i+NeRDxWApdDegB+K1XOg2ock
plY6a1oYrNdQKXs15nZfyo/zUXyggVcmZ8huD3nBvlskl6y722RgLw==
=tMm+
-----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