]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
make F5 and Fortinet tests go through config-pulling (up to the point of tunnel conne...
authorDaniel Lenski <dlenski@gmail.com>
Mon, 22 Feb 2021 02:44:22 +0000 (18:44 -0800)
committerDaniel Lenski <dlenski@gmail.com>
Mon, 29 Mar 2021 03:57:25 +0000 (20:57 -0700)
commitdb17e88191642627eb851602523bf1cd39eff0f4
tree45f901615e69d70637ec754b4e143ac6b29c9872
parentcda045a0a6adcfaecf70b555133c59704d3cd55b
make F5 and Fortinet tests go through config-pulling (up to the point of tunnel connection), rather than stopping after authentication

The fake servers don't actually implement the tunnel, but they do implement
the pre-tunnel configuration endpoints, and then simulate a "cookie rejected"
response upon tunnel connection.

OpenConnect distinguishes “cookie rejected” errors via an exit status of 2,
whereas any other failure results in an exit status of 1.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
f5.c
ppp.c
tests/Makefile.am
tests/f5-auth-and-config [moved from tests/auth-f5 with 76% similarity]
tests/fake-f5-server.py
tests/fake-fortinet-server.py
tests/fortinet-auth-and-config [moved from tests/auth-fortinet with 84% similarity]