All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
nmcli.go
remove connections with state activating from list of active connections. It was interrapting roly-poly-vpn during connection to some new Wi-Fi point because connection was waiting for a password.
The format of settings at Keyring changed. So please remove old Keyring keys containg roly-poly-vpn
at their names. After start you will be asked for new settings.
To remove old Keyrings records I prefere to use seahorse
utillity.
main.go
recently added -noSecrets flag.main.go
-config flag in favor of -connection flag.
main.go
-connection flag as a replacement for -config flag.config.go
that contains Config type and its methods.
- The logic of working with configuration. Now it is possible to store many sets of configurations at Keyring as JSON string using separate
instance
identifiers (-instance flag). This makes old configs obsolete.
main.go
new flag -noSecrets that allows to control any connection without changing password (and anything else).
main.go
check whetherconfig
connection is active before try to get it down on termination.nmcli.go
change nmcliGetActiveConnections function logic to list all connections or only physical (wifi, ethernet). This should prevent periodic failures because of some tunnel etc.
nmcli.go
issue when password contains a single quote sign.
nmcli.go
fix the way NM VPN config is being updated.main.go
use full timestamp even when TTY is attached.
nmcli.go
new function nmcliConnectionUpdatePassword that updates NM VPN config with a generated password for only current user.nmcli.go
new function nmcliConnectionUp that only brings up a NM VPN connection with previously set password.
main.go
use nmcliConnectionUpdatePassword + nmcliConnectionUp to bring up VPN connection.systemd/roly-poly-vpn.service
update to run as per user service.README.md
update Installation section.
main.go
rewrite secret at keyring if set by flag.README.md
describe installation process.
nmcli.go
nmcliConnectionActive search of element in slice.
- Filter out bridge type of NetworkManager connection during check of active connection before VPN activation.
- First release.