Keeper-Security / Commander

Keeper Commander is a python-based CLI and SDK interface to the Keeper Security platform. Provides administrative controls, reporting, import/export and vault management.
https://www.keepersecurity.com/commander.html
MIT License
182 stars 74 forks source link

Merging in Tunneling #1127

Closed miroberts closed 8 months ago

miroberts commented 8 months ago

author Sergey Kolupaev sergey@keepersecurity.com 1699059815 -0700 committer Micah Roberts mroberts@keepersecurity.com 1699391318 -0700

parent b32b4a7b90f63f99a6f5f9dd679cdc81a2fa0f2a author Sergey Kolupaev sergey@keepersecurity.com 1699059815 -0700 committer Micah Roberts mroberts@keepersecurity.com 1699391268 -0700

parent b32b4a7b90f63f99a6f5f9dd679cdc81a2fa0f2a author Sergey Kolupaev sergey@keepersecurity.com 1699059815 -0700 committer Micah Roberts mroberts@keepersecurity.com 1699391095 -0700

Release 16.9.24

Add Gateway functionality for tunnels

Implementing secure AWS Gateways (via WebSockets) for our port forwarding tunnel functionality. This includes the creation of numerous modules to handle different aspects of the connection process, including establishing, disconnecting, and monitoring the connection. The additional functionality improves tunnel security and allows for greater flexibility in client-server communication. Notably, connection configurations now can be securely stored in DynamoDB, improving connection reliability. Sharing public keys between endpoints is also now supported.

Update endpoint.py and tunnel_connected.py to enhance performance and JSON handling

Increased the read buffer size in endpoint.py to enhance performance during key exchanges. Added better handling of JSON frames in tunnel_connected.py. Included debugging-oriented print statements and logs. Updated discoveryrotation.py for improved code comprehensibility and traceability.

"Enhanced clarity in endpoint print message and added tunneling command"

This commit modified the print statement for the endpoint in order to increase readability and clarity. The name of the endpoint is now highlighted separately to make it more distinguishable in the output.

Additionally, a new command has been registered, 'tunnel', in discoveryrotation.py. This is a PAMTunnelCommand which will help manage tunnels for the application. However, some features of this command are still under development as indicated by the commented lines. This new command broadens the functionality of our application, specifically providing more control over the tunneling feature.

Release (#1116)

skip tests if not on a version of python of 3.8 or higher