Commit Graph

11 Commits

Author SHA1 Message Date
Michael Brown
dba7051c8a openconnect: Allow reconnect timeout to be specified
Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
2022-11-10 17:38:22 +08:00
Michael Brown
6591cc5186 openconnect: Support use of a proxy server
Allow connection via a proxy server (required on some sites where
direct outbound HTTP(S) access is not permitted).

Signed-off-by: Michael Brown <mbrown@fensystems.co.uk>
2022-11-10 17:38:22 +08:00
Rui Salvaterra
adef3769f9 openconnect: make the host dependency optional
According to David Woodhouse, OpenConnect has no issues reconnecting on any
interface. Make the host dependency optional, as it can cause issues in multiple
WAN scenarios.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-06-02 17:57:55 +00:00
Rui Salvaterra
34844a7188 openconnect: avoid using the --juniper switch
The --juniper switch has been deprecated in favour of --protocol=nc. Fix the
proto script thusly, while keeping compatibility with existing configurations.

Note that, as far as UCI is concerned, if both options juniper and vpn_protocol
are specified, the latter takes precedence.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-06-02 17:57:44 +00:00
Rui Salvaterra
bd3ad015b0 openconnect: fix inclusion of netifd proto scripts
This is the preferred way, according to the wiki.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-06-02 17:57:32 +00:00
Rui Salvaterra
ca3e425691 Revert "openconnect: drop the dependency on resolveip"
Using resolveip is more robust and predictable than depending on nslookup and
awk.

This reverts commit 131ec7b3bd6895aa3f86f57169dd23c15f174fe2.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-06-02 17:57:21 +00:00
Rui Salvaterra
e2736caf3c openconnect: don't bother loading the tun module
If it exists (if it isn't built-in), it will be loaded automatically at boot.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-05-24 16:32:11 +00:00
Rui Salvaterra
9513b30f0a openconnect: drop the dependency on resolveip
We have nslookup and awk, let's use them.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2022-05-24 16:32:04 +00:00
lean
49b7495639 packages: merge upstream 2021-06-15 17:47:11 +08:00
coolsnowwolf
c36ad692b4 packages: sync to new packages 2020-07-08 14:18:52 +08:00
coolsnowwolf
d17588da1a first commit 2018-10-18 16:56:47 +08:00