We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
when using socksocket.getpeername() you get the peer url if rdns is set the True and an IP if rdns is set to False
socksocket.getpeername()
rdns
True
False
I think the cause is at line 567. The if does not update host so later calls to getpeername return the url instead of the ip if rdns is True
if
host
getpeername
This is with socks5, with socks4 It gets weirder and the address I get back is 0.0.0.1
socks5
socks4
The text was updated successfully, but these errors were encountered:
也遇到类似问题,写一个socks.socksocket的子类,重新写一个_write_SOCKS5_address函数,不过是直接写死了host,期待更好解决方法
Sorry, something went wrong.
No branches or pull requests
when using
socksocket.getpeername()
you get the peer url ifrdns
is set theTrue
and an IP ifrdns
is set toFalse
I think the cause is at line 567. The
if
does not updatehost
so later calls togetpeername
return the url instead of the ip ifrdns
isTrue
This is with
socks5
, withsocks4
It gets weirder and the address I get back is 0.0.0.1The text was updated successfully, but these errors were encountered: