diff --git a/CHANGELOG.md b/CHANGELOG.md index 28fbab4..783ce32 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ This project follows [semantic versioning](http://semver.org). -### UNRELEASED +### v0.8.0 (2016-11-25) - [added] Support for automatic port forwarding via UPnP - [added] Added `-s` shorthand for `--subnet` diff --git a/Cargo.lock b/Cargo.lock index 5a2dda1..0e346cc 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ [root] name = "vpncloud" -version = "0.7.0" +version = "0.8.0" dependencies = [ "aligned_alloc 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "bitflags 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 68ac1ef..fa4cf37 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "vpncloud" -version = "0.7.0" +version = "0.8.0" authors = ["Dennis Schwerdel "] build = "build.rs" license = "GPL-3.0" @@ -34,3 +34,6 @@ pkg-config = "0.3" [features] default = [] bench = [] + +[profile.release] +lto = true diff --git a/deb/vpncloud/debian/changelog b/deb/vpncloud/debian/changelog index e59c39d..3f9aeb9 100644 --- a/deb/vpncloud/debian/changelog +++ b/deb/vpncloud/debian/changelog @@ -1,3 +1,27 @@ +vpncloud (0.8.0) stable; urgency=medium + + * [added] Support for automatic port forwarding via UPnP + * [added] Added `-s` shorthand for `--subnet` + * [added] Support for YAML config file via `--config` + * [added] Support for running in the background + * [added] Support for dropping permissions + * [added] Support for writing a pid file + * [added] Support for writing logs to logfile + * [changed] Not overriding recently learnt addresses in switch mode + * [changed] Caching resolved addresses to increase performance + * [changed] Configurable magic header is now used instead of Network-ID (**incompatible**) + * [changed] Clarified documentation on TUN netmasks + * [changed] Added timestamps to output + * [changed] Using new YAML config instead of old config files (**incompatible**) + * [changed] Prefer IPv4 over IPv6 when possible + * [fixed] Fixed documentation of listen parameter + * [fixed] Fixed problem with multiple subnets + * [fixed] Fixed problem with interrupted poll after suspend to ram + * [fixed] Forgot to extend peer timeout on peer exchange + * [fixed] No longer broadcasting to additional addresses + + -- Dennis Schwerdel Fri, 25 Nov 2016 07:30:17 +0100 + vpncloud (0.7.0) stable; urgency=medium * [added] Added more tests diff --git a/deb/vpncloud/vpncloud@.service b/deb/vpncloud/vpncloud@.service new file mode 100644 index 0000000..73f658f --- /dev/null +++ b/deb/vpncloud/vpncloud@.service @@ -0,0 +1,12 @@ +[Unit] +Description=VpnCloud network '%I' +Before=systemd-user-sessions.service + +[Service] +Type=forking +ExecStart=/usr/bin/vpncloud --config /etc/vpncloud/%i.net --daemon --log-file /var/log/vpncloud-%i.log --pid-file /run/vpncloud-%i.run +WorkingDirectory=/etc/vpncloud +PIDFile=/run/vpncloud-%i.run + +[Install] +WantedBy=multi-user.target