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

Authentication not working with clients #30

Open
timothymiller opened this issue Aug 13, 2019 · 4 comments
Open

Authentication not working with clients #30

timothymiller opened this issue Aug 13, 2019 · 4 comments
Assignees

Comments

@timothymiller
Copy link

Authentication in examples/createServerWithAuthentication works using the curl command in the README, but providing the same credentials in macOS system preferences for SOCKS Proxy config, nor Electron webview proxy authentication does not work. The error "invalid credentials" is printed to the console.

@brozeph brozeph self-assigned this Aug 17, 2019
@brozeph
Copy link
Owner

brozeph commented Aug 25, 2019

@timothymiller - can you provide more info about your configuration in System Preferences (perhaps a screen shot)?

@brozeph
Copy link
Owner

brozeph commented Mar 13, 2020

Doing some research on my own... it looks like the password is not being sent according to the rfc1929 spec when attempting to authenticate using MacOS.

new client connection
<Buffer 66 6f 6f> foo
<Buffer > 
user foo failed to authenticate...
Error: invalid credentials

@bkarvatskyi
Copy link

@brozeph Hey.
I'm experiencing the same issue now. When trying to use authentication from MacOS - I receive empty buffer in the app (instead of username+password).
Did you find any workarounds for this issue?
(except for not using MacOS :)) )

@brozeph
Copy link
Owner

brozeph commented Mar 23, 2024

@bkarvatskyi Hi! Apparently, this is still an issue as of 2024: https://discussions.apple.com/thread/255394737?sortBy=best

I wonder if socat or ssh tunneling could work for your use case? https://serverfault.com/questions/1123712/port-forwarding-through-socks5

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

3 participants