Skip to content

Commit

Permalink
Version 3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ancwrd1 committed Feb 4, 2025
1 parent 86c2781 commit 3983dd1
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 16 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## v3.0.3 (2025-02-05)
- Only do a signout call when manually disconnecting an IPSec tunnel

## v3.0.2 (2025-02-04)
- Fixed a problem with persistent IKE session which wasn't restored for some VPN servers

Expand Down
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ members = ["snxcore", "snxctl", "snx-rs", "snx-rs-gui"]
resolver = "2"

[workspace.package]
version = "3.0.2"
version = "3.0.3"
license = "AGPL-3.0"
edition = "2021"
authors = ["Dmitry Pankratov <dmitry@pankratov.net>"]
Expand Down
2 changes: 1 addition & 1 deletion snxcore/src/tunnel/ipsec/native.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl VpnTunnel for NativeIpsecTunnel {
while let Some(cmd) = command_receiver.recv().await {
match cmd {
TunnelCommand::Terminate(signout) => {
if signout {
if signout || !self.params.ike_persist {
debug!("Signing out");
let client = CccHttpClient::new(self.params.clone(), Some(self.session.clone()));
let _ = client.signout().await;
Expand Down
2 changes: 1 addition & 1 deletion snxcore/src/tunnel/ipsec/tcpt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ impl VpnTunnel for TcptIpsecTunnel {
while let Some(cmd) = command_receiver.recv().await {
match cmd {
TunnelCommand::Terminate(signout) => {
if signout {
if signout || !params.ike_persist {
debug!("Signing out");
let client = CccHttpClient::new(params.clone(), Some(session.clone()));
let _ = client.signout().await;
Expand Down

0 comments on commit 3983dd1

Please sign in to comment.