~mamarley/openconnect/+git/gitlab-main:ipv6-tests

Last commit made on 2024-04-05
Get this branch:
git clone -b ipv6-tests https://git.launchpad.net/~mamarley/openconnect/+git/gitlab-main

Branch merges

Branch information

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

Recent commits

e2b62eb... by dwmw2

Allow tests to run over IPv6 as well as Legacy IP

When run in an environment with no Legacy IP addresses, or no IPv6 addresses,
AI_ADDRCONFIG will cause getaddrinfo() not to return addresses of that type.

So when running in an IPv6-only environment, ocserv doesn't listen on Legacy
IP. And thus the tests fail. Fix this by using a hostname 'sockwrap' for the
test connections, and providing '--resolve' arguments for both the Legacy IP
and IPv6 addresses handled by libsocket_wrapper.

Some of the python test servers which don't use AI_ADDRCONFIG do still work
on Legacy IP, so leave those alone for now.

We recently added '-4' to the socat invocation for the nullppp tests, for
similar reasons (becaose socat started listening on IPv6 by default). We
can remove that now too.

Closes #721

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

af30136... by dwmw2

Use libsocket_wrapper for juniper-sso-auth test

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

16ceea7... by dwmw2

Accept multiple --resolve arguments

e.g. --resolve sockwrap:fd00:5357:5f02 --resolve sockwrap:127.0.0.2 to
try reaching the socket wrapper tests over both IPv6 and Legacy IP.

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

690262e... by dwmw2

Merge branch 'Fedora_ppp-over-tls' into 'master'

Verbose logs to debug and fix ppp-over-tls

Closes #720

See merge request openconnect/openconnect!548

d756e2a... by Dimitri Papadopoulos Orfanos <email address hidden>

Verbose socat logs for debugging, Add '-4' to listen on Legacy IP (for sockwrap)

Signed-off-by: Dimitri Papadopoulos Orfanos <email address hidden>

d7a524a... by Dimitri Papadopoulos Orfanos <email address hidden>

Merge branch 'LOAD_LIBRARY_SEARCH_SYSTEM32' into 'master'

Search wintun.dll in the application directory only

See merge request openconnect/openconnect!541

5d228bb... by Dimitri Papadopoulos <email address hidden>

Search wintun.dll in the application directory only

Now that wintun.dll is installed in the application directory by
both openconnect and openconnect-gui packages, we can get rid of
LOAD_LIBRARY_SEARCH_SYSTEM32.

Signed-off-by: Dimitri Papadopoulos <email address hidden>

d2025f9... by Dan Lenski

Merge branch 'rekey' into master

Fix logging of rekey / trojan invocation delay

See merge request openconnect/openconnect!539

29815ae... by Dan Lenski

Update changelog

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

17b45cd... by Wade Cline

Fix logging of rekey / trojan invocation delay

Closes #677

The rekey / trojan invocation is supposed to happen in the future.
Therefore subtract current time from expected time of rekey / invocation,
not the reverse.

These delays have been shown incorrectly ever since the SIGUSR1 handler was
added in b156b581e894b03e7169827b9e293ca2f13e1366.

Originally submitted at
https://lists.infradead.org/pipermail/openconnect-devel/2024-February/005400.html

Signed-off-by: Cline, Wade <email address hidden>
Signed-off-by: Dimitri Papadopoulos <email address hidden>
Signed-off-by: Daniel Lenski <email address hidden>