]> www.infradead.org Git - users/dwmw2/openconnect.git/commit
Add a fake IPSEC/ESP configuration to fake-gp-server.py
authorDaniel Lenski <dlenski@gmail.com>
Sat, 27 Jul 2024 22:04:58 +0000 (15:04 -0700)
committerDaniel Lenski <dlenski@gmail.com>
Sun, 28 Jul 2024 23:02:03 +0000 (16:02 -0700)
commit0eb82a1428fe709e93f92cec80082be4ca46daf7
tree183bf7c94820f218fd0a0a2cbeaf8a62ff2f0a51
parentbbcbd778c726e873688e2b784d784054998d7c40
Add a fake IPSEC/ESP configuration to fake-gp-server.py

This allows testing for correct interpretation of the ESP configuration, as in
https://lists.infradead.org/pipermail/openconnect-devel/2024-July/005447.html

Also needed to fix a mistake in the logout handler of fake-gp-server.py
("POST not GET"), and an oversight in how GP propagated errors when falling
back to TLS tunnel from ESP.

Signed-off-by: Daniel Lenski <dlenski@gmail.com>
gpst.c
tests/fake-gp-server.py