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

Feature request: SPNEGO Authentication #555

Open
greskom opened this issue Feb 24, 2024 · 5 comments
Open

Feature request: SPNEGO Authentication #555

greskom opened this issue Feb 24, 2024 · 5 comments

Comments

@greskom
Copy link

greskom commented Feb 24, 2024

Hello,

would it be possible to add SPNEGO Authentication to proxychains-ng? We are behind proxy requesting SPNEGO authentication using kerberos.

Thanks

Marek

@rofl0r
Copy link
Owner

rofl0r commented Feb 24, 2024

this mechanism appears to be very complex. if someone is interested in implementing this, m$ provides some example code and test data here: https://learn.microsoft.com/en-us/previous-versions/ms995331(v=msdn.10)

@greskom
Copy link
Author

greskom commented Feb 25, 2024

Maybe as a first step kerberos only support would be sufficient. The kerberos probably is not so complex as NTLM is. We have squid with kerberos auth here, so no need for NTLM.

@greskom
Copy link
Author

greskom commented Feb 28, 2024

The curl implements SPNEGO when using --negotiate parameter. Maybe this could be used as an inspiration?

@rofl0r
Copy link
Owner

rofl0r commented Feb 28, 2024

it's hard to develop stuff for systems you don't have access to. if you can describe how to setup a test environment, it's more likely someone interested shows up and implements your feature. personally, i've never come across a socks server implementation with GSSAPI support, probably because it's so complex despite having "simple" in the name.

@greskom
Copy link
Author

greskom commented Feb 28, 2024

You can setup kerberos using this guide: https://fedoraproject.org/wiki/Infrastructure/Kerberos
Then make squid to authenticate against kerberos: https://wiki.squid-cache.org/ConfigExamples/Authenticate/Kerberos

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

No branches or pull requests

2 participants