Initial IPv6 support
- IPv6 is now supported inside the tunnel, but not outside the tunnel.
AutoPay proof of concept
- Add
AutoPay
mode that automatically rents, sets up, and continuously maintains Credit. - Made
GetConf
ask if you want to automatically setup the tunnel interface using NetworkManager or wg-quick. - Instead of asking, automatically write wireguard configuration files to
$HOME/.StaticWire/WireGuardConfigFiles/
and also soft link them to/etc/wireguard/
if possible. - Catch shutdown signals and cleanly shutdown.
- Only allow one instance of
staticIP
to run at a time. - Use the python
logging
module, writing to both standard output and to a file. - Updated
AddCredit
to use the new rental server API that accommodatesAutoPay
. - The
docker-compose.yml
file now includes theNET_ADMIN
capability in order to allowstaticIP
to automatically create the wireguard network interface.
Minor Improvements
- Remove the
RentNewIP
andRenew
actions and combined them into a single actionAddCredit
that automatically rents a new IP if no existing rentals are found associated with the user's wireguard public key. - Allow custom rental credit amounts to be specified within minimum and maximum limits defined by the rental server. This now allows users to test the service with less investment and also allows them to choose their payment frequency.
- More descriptive status and terms of sale messages in the console output.
- Parse command line arguments before processing the config file.
- Better error reporting and handling.
Initial Release