~mamarley/openconnect/+git/gitlab-main:simplify_version_strings

Last commit made on 2021-05-10
Get this branch:
git clone -b simplify_version_strings https://git.launchpad.net/~mamarley/openconnect/+git/gitlab-main

Branch merges

Branch information

Name:
simplify_version_strings
Repository:
lp:~mamarley/openconnect/+git/gitlab-main

Recent commits

0086790... by Dan Lenski

centralize/simplify versioning in version.sh

Let's not make the Makefile jump through so many hoops to generate Windows-ified version strings.

Signed-off-by: Daniel Lenski <email address hidden>

60d1f09... by dwmw2

Add Wintun support

Refactor the device discovery a little bit to accommodate it. We need
to scan the registry as we did for TAP-Windows anyway, in order to
find the TUNIDX that vpnc-script-win.js will use to configure routes.

So run through the scan as before, but *if* nothing is found and the
user specified an ifname, attempt to create a Wintun device with that
name. Then scan again and presumably we'll find it this time.

This should hopefully make it relatively harmless to existing setups
using TAP-Windows.

There's lots of memcpy here as Wintun *really* wants us to use its pool.
More thought required for that one, as it can't even handle stripping
packet headers so even if we decrypt directly into its buffer that
wouldn't be enough.

The configuration is also fairly horrid, as vpnc-script-win.js seems
to depend on the Legacy IP address being set on the interface before
it will set up the routes. Which of course assumes that there *is*
Legacy IP at all, and it isn't an IPv6-only tunnel.

Signed-off-by: David Woodhouse <email address hidden>

5b7c053... by dwmw2

Import translations from GNOME

Signed-off-by: David Woodhouse <email address hidden>

49f2b65... by dwmw2

Resync translations with sources

Signed-off-by: David Woodhouse <email address hidden>

196738f... by dwmw2

Add basic docs for (or at least admit the existence of) f5/fortinet

Signed-off-by: David Woodhouse <email address hidden>

63b1dcd... by dwmw2

Merge branch 'master' of gitlab.com:openconnect/openconnect

eda431d... by dwmw2

Merge branch 'add_f5_and_fortinet' of gitlab.com:openconnect/openconnect

Add back some previously unused variables, remove another, fix more build
warnings.

Signed-off-by: David Woodhouse <email address hidden>

9dc2244... by Dan Lenski

main.c CLI: replace confusingly-used `FILE *pid_fp` with `int wrote_pid`

This was last modified in 557ac6cfa, although the use of the closed `FILE *fp`
(to signal the need to delete the pidfile) long pre-dates that commit.

Signed-off-by: Daniel Lenski <email address hidden>

a07bbbc... by Dan Lenski

bugfix !165 Juniper forms handling

I missed a small piece of my original "fix for forms with 'id' but no 'name'" (this one:
https://gitlab.com/openconnect/openconnect/-/commit/c8a6ee94180a09339eafefe0a2d889e7aa508e56#5503a3e92468be6db7c76e16b82bb5f3e9b14131_260_259)
in rebasing the ppp_core branch to merge cleanly with the changes from !171.

Caused this crash: https://gitlab.com/openconnect/openconnect/-/merge_requests/169#note_540411103

TODO: add Flask-based tests of Juniper auth to verify Juniper form handling.

Signed-off-by: Daniel Lenski <email address hidden>

20f0c2a... by dwmw2

Fix build warnings

Signed-off-by: David Woodhouse <email address hidden>