Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse f5vpn urls #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Parse f5vpn urls #44

wants to merge 1 commit into from

Conversation

fwiesel
Copy link

@fwiesel fwiesel commented Mar 11, 2022

After an endpoint-inspection, the webpage forwards
to an f5vpn url, which can now be passed on to
gof5 to extract the session-id itself.

Only missing to be a proper f5vpn handler is
logging

@kayrus
Copy link
Owner

kayrus commented Mar 26, 2022

@fwiesel can you provide an f5vpn URL example? I haven't seen it before.

@fwiesel
Copy link
Author

fwiesel commented Mar 28, 2022

Sure, it seems to have the following pattern:
f5-vpn://<server-fqdn>?server=<server-fqdn>&resourcename=<resource-path-with-slashes>&resourcetype=network_access&cmd=launch&protocol=https&port=443&sid=<32*n>&token=<32-hex>&otc=<32-hex>&otc=<32-hex>

I assume, OTC seems to stand for one-time-code, and we get two of them. The sid is presumably session-id, and it is bogus, as we provide it.

After an endpoint-inspection, the webpage forwards
to an f5vpn url, which can now be passed on to
gof5 to extract the session-id itself.

Only missing to be a proper f5vpn handler is
logging
@chadcatlett
Copy link

Just as a voice of support for this PR. For nearly two months I've been using this PR to enable me to use gof5 with a F5 VPN endpoint that uses a web page based authentication flow.

It has consistently worked 100% of the time.

@Danyc0 Danyc0 mentioned this pull request Jul 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants