This release is incompatible with previous versions of wag.
It is recommended that the systemd service file is updated to the current version in the respository.
Major Changes:
WgDevNamehas been moved into a new configuration structureWireguardand is now calledDevName- Wag will now create and populate a wireguard device using netlink, when the device specified by
DevNameis not present - Wag no longer relies on
wg-quickconfiguration for peers
Features:
- Netlink interoperability allows
wagto setup/teardown a wireguard device - Hot upgrading, the VPN now does not need to be fully stopped in order to upgrade the golang components of wag this is added with the
./wag upgradecommand - Improved
controlpackage, now every action can be done using it
Changes:
- When a user exceeds the lockout number of attempts the error message they now get is "account locked"
- Wags XDP component is now more obviously labeled as wag in tools such as
bpftool - The wag socket now allows whatever process group wag is in to read/write (allows for better integrations)
- No longer use the default http mux for the control mux just in case it becomes exposed
- Once a TOTP code is used, it cannot be reused
Bug Fixes:
- Fix firewall list command not outputting data
-configis now no longer required for every cli command- Add a minimum time to registration request completion to stop timing attacks (now will take ~1 second)