-
-
Notifications
You must be signed in to change notification settings - Fork 182
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
Multiples users passwords support #4
Comments
I need some time to look into this feature request. Current server.go based on env variables config, for supporting multi-accounts feature we need to use some custom structure or use file with accounts config maybe |
Hey @serjs really like your container. Did you already have time to look into multiple user authentication? |
Or, it'd be better integrating LDAP server authentication and authorization |
Adding multiple-user authentication is not super difficult. I am wondering though, how would you like to see it implemented when the only inputs we can pass to the docker container are I have written it so that you pass in the environment variable [
{ "username": "username1", "password": "password123" },
{ "username": "username2", "password": "password456" }
] You can check it out at https://github.com/alexng353/socks5-server/ if you want. As a side note, the maintainer of the go-socks5 repository seems to have moved on from the project... |
My friend, the best way is with sqlite, if the code is written in python I can help you, as I have experience. |
https://github.com/alexng353/ihostproxy I eventually ended up doing it with SQLite. I am planning on continuing this project when I have time, but I don't know if I'll ever be able to compete with the de-facto socks5-server haha. If you have any suggestions for my new "fully manageable" proxy project, go ahead and leave an issue. I'll get to it as soon as I have the time. |
"Fully manageable" not yet, but I'm working on something now, commercial, I hope to monetize it by giving good service and high speeds multiple configurations proxy. If you want we can jointly build and scale it. |
I would be a great to provide list of users/password, AFAIK go-socks5 supports this https://github.com/armon/go-socks5/blob/master/credentials_test.go
The text was updated successfully, but these errors were encountered: