Skip to content

Commit 6b4e36c

Browse files
committed
Declare DNS support as feature
1 parent eed917f commit 6b4e36c

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

sshuttle/methods/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ def get_supported_features(self):
3939
result = Features()
4040
result.ipv6 = False
4141
result.udp = False
42+
result.dns = True
4243
return result
4344

4445
def get_tcp_dstip(self, sock):

sshuttle/methods/tproxy.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,10 @@ def get_supported_features(self):
107107
result.ipv6 = True
108108
if recvmsg is None:
109109
result.udp = False
110+
result.dns = False
110111
else:
111112
result.udp = True
113+
result.dns = True
112114
return result
113115

114116
def get_tcp_dstip(self, sock):

0 commit comments

Comments
 (0)