Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
GP: Pass 'preferred-ipv6' parameter among auth requests, just like 'p…
…referred-ip' Testing against a real GP server with IPv6 support shows that the "preferred" IPv6 address can be passed in the /ssl-vpn/login.esp request arguments, as well as returned by it. (Even if unprompted; some GP VPNs seem to track a persistent mapping of user accounts to IP addresses on the server side.) We should save the 'preferred-ipv6' parameter from the login results in vpninfo->cookie, just as we do with its Legacy IP counterpart, 'preferred-ip'. Also adds Flask tests to verify the correct passing of 'preferred-ip'/'-ipv6'. Signed-off-by: Daniel Lenski <dlenski@gmail.com>
- Loading branch information
Showing
4 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters