mirror of
https://github.com/sshuttle/sshuttle.git
synced 2025-04-21 09:48:51 +02:00
Declare DNS support as feature
This commit is contained in:
parent
eed917f062
commit
6b4e36c528
@ -39,6 +39,7 @@ class BaseMethod(object):
|
|||||||
result = Features()
|
result = Features()
|
||||||
result.ipv6 = False
|
result.ipv6 = False
|
||||||
result.udp = False
|
result.udp = False
|
||||||
|
result.dns = True
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def get_tcp_dstip(self, sock):
|
def get_tcp_dstip(self, sock):
|
||||||
|
@ -107,8 +107,10 @@ class Method(BaseMethod):
|
|||||||
result.ipv6 = True
|
result.ipv6 = True
|
||||||
if recvmsg is None:
|
if recvmsg is None:
|
||||||
result.udp = False
|
result.udp = False
|
||||||
|
result.dns = False
|
||||||
else:
|
else:
|
||||||
result.udp = True
|
result.udp = True
|
||||||
|
result.dns = True
|
||||||
return result
|
return result
|
||||||
|
|
||||||
def get_tcp_dstip(self, sock):
|
def get_tcp_dstip(self, sock):
|
||||||
|
Loading…
Reference in New Issue
Block a user