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

internal/socks: add the ability to control socks5 resolution #163

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 5, 2023

  1. add the ability to control socks5 resolution

    not all servers support remote resolution, and require one to send only ip addresses
    
    this add a new SOCKS5 dialer creation function that lets one pass in a custom *net.Resolver.
    
    if a resolver is set on the dialer, it will use it it convert non ip addresses into ip addresses.  For instance, can simply be used with net.DefaultResolver to do local resolution
    sjpotter committed Feb 5, 2023
    Configuration menu
    Copy the full SHA
    ed93932 View commit details
    Browse the repository at this point in the history