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

Better usage of args #83

Open
ghost opened this issue Apr 22, 2023 · 4 comments
Open

Better usage of args #83

ghost opened this issue Apr 22, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 22, 2023

I recommend using the SOCKS5 parameters as -x 127.0.0.1:9050 instead of using -x --proxy-host 127.0.0.1 --proxy-port 9050.
I'll start coding about that if it's approved.

@ghost ghost mentioned this issue Apr 23, 2023
@gkbrk
Copy link
Owner

gkbrk commented Apr 30, 2023

I wonder if using a more standard format for the proxy URL could be better. Something like socks5://127.0.0.1:1234 or socks5:127.0.0.1:1234. I know other command-line tools that use both of those formats.

@ghost
Copy link
Author

ghost commented May 2, 2023

Could be, but it would be unnecessary without support of another proxy types.

@gkbrk
Copy link
Owner

gkbrk commented May 4, 2023

There are plans to implement other proxy types though. Better to change/break things once rather than twice.

@ghost
Copy link
Author

ghost commented May 4, 2023

I understand, but I need functions to do this. For example socks5://127.0.0.1:1234 must go to socks_connect(host,port). I need these functions to do this redirect.

@ghost ghost changed the title Better usage of parameters Better usage of args May 29, 2023
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

1 participant