-
-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow one/many connection per TLS-Crypt-V2 key #213
Comments
This cannot be done because there is no way to track the TLS-Key serial number when a client disconnects. |
This may be possible by |
This is required by TLS-Crypt-V2 key connection tracking, which is disabled by default. (WIP) Signed-off-by: Richard T Bonhomme <[email protected]>
This script only adds to conn-trac. (Disabled) Signed-off-by: Richard T Bonhomme <[email protected]>
This script only renoves from conn-trac. (Disabled) Signed-off-by: Richard T Bonhomme <[email protected]>
This script adds to and removes from conn-trac. A conn-trac can be lost by client-disconnect if --reneg-* and --float occur during the same --ping interval. There may be other reasons as well. (Disabled) Signed-off-by: Richard T Bonhomme <[email protected]>
Requires |
Due to
It's a pain in the ass but is possible |
If metadata files exist then delete them if stale (older than stale_sec: defaullt 3 seconds) Otherwise, fail without kill-client, client will try again. conn-trac is not done for TLS-Crypt-V2 keys. Signed-off-by: Richard T Bonhomme <[email protected]>
conn-trac is used only to unregister a previous connection, which now fails to connect. Signed-off-by: Richard T Bonhomme <[email protected]>
Use conn-trac lib to register new connections and unregister failing connections. Includes loading c_ext_md_file. Stop abusing Openvpn auth_control_file. Remove TLS-Crypt-V2 key serial file. Signed-off-by: Richard T Bonhomme <[email protected]>
After extensive testing, early indicators suggest that |
The only item remaining, is to decide what action to take if a new connection is the same as a current connection. |
Details: * #213 * https://community.openvpn.net/openvpn/ticket/160 Signed-off-by: Richard T Bonhomme <[email protected]>
This requires some form of TLS-Crypt-V2 key connection tracking.
The text was updated successfully, but these errors were encountered: