mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	Release 2.3.6
This commit is contained in:
		
							
								
								
									
										14
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										14
									
								
								Cargo.lock
									
									
									
										generated
									
									
									
								
							| @@ -570,7 +570,7 @@ dependencies = [ | ||||
|  | ||||
| [[package]] | ||||
| name = "common" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| dependencies = [ | ||||
|  "is_executable", | ||||
| ] | ||||
| @@ -1430,7 +1430,7 @@ dependencies = [ | ||||
|  | ||||
| [[package]] | ||||
| name = "gpapi" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| dependencies = [ | ||||
|  "anyhow", | ||||
|  "base64 0.21.5", | ||||
| @@ -1465,7 +1465,7 @@ dependencies = [ | ||||
|  | ||||
| [[package]] | ||||
| name = "gpauth" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| dependencies = [ | ||||
|  "anyhow", | ||||
|  "clap", | ||||
| @@ -1486,7 +1486,7 @@ dependencies = [ | ||||
|  | ||||
| [[package]] | ||||
| name = "gpclient" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| dependencies = [ | ||||
|  "anyhow", | ||||
|  "clap", | ||||
| @@ -1508,7 +1508,7 @@ dependencies = [ | ||||
|  | ||||
| [[package]] | ||||
| name = "gpgui-helper" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| dependencies = [ | ||||
|  "anyhow", | ||||
|  "clap", | ||||
| @@ -1526,7 +1526,7 @@ dependencies = [ | ||||
|  | ||||
| [[package]] | ||||
| name = "gpservice" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| dependencies = [ | ||||
|  "anyhow", | ||||
|  "axum", | ||||
| @@ -2549,7 +2549,7 @@ dependencies = [ | ||||
|  | ||||
| [[package]] | ||||
| name = "openconnect" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| dependencies = [ | ||||
|  "cc", | ||||
|  "common", | ||||
|   | ||||
| @@ -5,7 +5,7 @@ members = ["crates/*", "apps/gpclient", "apps/gpservice", "apps/gpauth", "apps/g | ||||
|  | ||||
| [workspace.package] | ||||
| rust-version = "1.70" | ||||
| version = "2.3.5" | ||||
| version = "2.3.6" | ||||
| authors = ["Kevin Yue <k3vinyue@gmail.com>"] | ||||
| homepage = "https://github.com/yuezk/GlobalProtect-openconnect" | ||||
| edition = "2021" | ||||
|   | ||||
							
								
								
									
										12
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								README.md
									
									
									
									
									
								
							| @@ -44,12 +44,20 @@ Options: | ||||
| See 'gpclient help <command>' for more information on a specific command. | ||||
| ``` | ||||
|  | ||||
| To use the default browser for authentication with the CLI version, you need to use the following command: | ||||
| To use the external browser for authentication with the CLI version, you need to use the following command: | ||||
|  | ||||
| ```bash | ||||
| sudo -E gpclient connect --default-browser <portal> | ||||
| sudo -E gpclient connect --browser default <portal> | ||||
| ``` | ||||
|  | ||||
| Or you can try the following command if the above command does not work: | ||||
|  | ||||
| ```bash | ||||
| gpauth <portal> --browser default 2>/dev/null | sudo gpclient connect <portal> --cookie-on-stdin | ||||
| ``` | ||||
|  | ||||
| You can specify the browser with the `--browser <browser>` option, e.g., `--browser firefox`, `--browser chrome`, etc. | ||||
|  | ||||
| ### GUI | ||||
|  | ||||
| The GUI version is also available after you installed it. You can launch it from the application menu or run `gpclient launch-gui` in the terminal. | ||||
|   | ||||
| @@ -1,5 +1,12 @@ | ||||
| # Changelog | ||||
|  | ||||
| ## 2.3.6 - 2024-08-15 | ||||
|  | ||||
| - CLI: enhance the `gpauth` command to support external browser authentication | ||||
| - CLI: add the `--cookie-on-stdin` option to support read the cookie from stdin | ||||
| - CLI: support usage: `gpauth <portal> --browser <browser> 2>/dev/null | sudo gpclient connect <portal> --cookie-on-stdin` | ||||
| - CLI: fix the `--browser <browser>` option not working | ||||
|  | ||||
| ## 2.3.5 - 2024-08-14 | ||||
|  | ||||
| - Support configure `no-dtls` option | ||||
|   | ||||
		Reference in New Issue
	
	Block a user