OpenVPN / openvpn3-linux

OpenVPN 3 Linux client
GNU Affero General Public License v3.0
543 stars 142 forks source link

D-Bus API: requests for improvements #244

Open grzegorz-gutowski opened 3 months ago

grzegorz-gutowski commented 3 months ago

I would like to see the following changes to Python/D-Bus API:

I understand that work on these only makes sense after resolving #171 in v22.

grzegorz-gutowski commented 3 months ago

Sorry, I've learned that some of the information I need is already available via dbus, but not explicitly in Python. You can access them via Session.GetProperty().

dsommers commented 3 months ago

Feel free to send patches :wink:

dsommers commented 1 month ago
  • Multiple calls to Connect (and possibly other state-changing functions) on a session should be silently ignored and not cause any troubles. Currently, calling Connect twice kills the session. [...]
  • Adding some mechanism for applications to get notifications on added/removed configurations (similarly to notifications on added/removed sessions).

These two items should now incorporated in what will be the v22_dev release we're wrapping up. The development snapshots should already carry the functionality.

Fedora Copr: https://copr.fedorainfracloud.org/coprs/dsommers/openvpn3-devsnapshots/ Ubuntu PPA: https://launchpad.net/~djpig/+archive/ubuntu/openvpn/