-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Based on the code and documentation in the repository:
-
SOCKS5 Local Auth: The project supports user/password authentication for the SOCKS5 local proxy. This is specified using the
socks5_auth_config_pathoption in the configuration, which points to a JSON file defining users and their passwords, like:{ "password": { "users": [ { "user_name": "USERNAME in UTF-8", "password": "PASSWORD in UTF-8" } ] } }This mechanism is fully implemented and documented.
-
HTTP Local Auth: There is no evidence in the README or in the code search results that a similar user/password authentication option is available for the HTTP local proxy mode (
--protocol http). The documentation for the HTTP local client states "All parameters are the same as Socks5 client, except--protocol http", but does not mention HTTP-specific authentication options, nor does the config documentation include any HTTP auth fields.
Conclusion:
- SOCKS5 local supports user/password authentication.
- HTTP local does not appear to specify or support a user/password authentication option in configuration or command line as of the latest code and documentation.