Skip to content

Add support for SOCKS proxies#19

Open
Lastique wants to merge 1 commit into
alisarctl:mainfrom
Lastique:feature/socks_proxy
Open

Add support for SOCKS proxies#19
Lastique wants to merge 1 commit into
alisarctl:mainfrom
Lastique:feature/socks_proxy

Conversation

@Lastique

Copy link
Copy Markdown

This adds a new proxy_type config file option that has the following values:

  • http - The HTTP proxy, the default. Equivalent to the previous behavior.
  • socks4 - SOCKSv4
  • socks4a - SOCKSv4a
  • socks5 - SOCKSv5

For socks4 and socks4a the proxy username is required to be specified as well, either interactively on the console or in the secrets file.

In addition to the config file, the support for SOCKS proxies has been added to the (http|https|all)_proxy environment variables, where the proxy type is determined by the URI scheme. The scheme is mandatory (and it has been before, despite the documentation).

Updated documentation and config file accordingly.

@Lastique Lastique changed the title Added support for SOCKS proxies Add support for SOCKS proxies Aug 11, 2025
@alisarctl alisarctl self-assigned this Aug 26, 2025
@alisarctl alisarctl force-pushed the main branch 2 times, most recently from 7cd60d1 to 160479a Compare August 26, 2025 17:15
@Lastique Lastique force-pushed the feature/socks_proxy branch from a88d722 to 6153982 Compare August 27, 2025 01:03
This adds a new proxy_type config file option that has the following values:

- http - HTTP proxy, the default. Equivalent to the previous behavior.
- socks4 - SOCKSv4
- socks4a - SOCKSv4a
- socks5 - SOCKSv5

For socks4 and socks4a the proxy username is required to be specified as well,
either interactively on the console or in the secrets file.

In addition to the config file, the support for SOCKS proxies has been added
to the (http|https|all)_proxy environment variables, where the proxy type
is determined by the URI scheme. The scheme is mandatory (and it has been
before, despite the documentation).

Updated documentation and config file accordingly.
@Lastique Lastique force-pushed the feature/socks_proxy branch from 6153982 to 0eb7014 Compare August 27, 2025 01:08
@Lastique

Copy link
Copy Markdown
Author

Updated split_uri with the new URI schemes and rebased on top of the current main branch.

@alisarctl alisarctl force-pushed the main branch 2 times, most recently from 3d6fb8f to 32e377c Compare March 12, 2026 21:21
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.

2 participants