MCPcopy Index your code
hub / github.com/sshuttle/sshuttle / is_supported

Method is_supported

sshuttle/methods/tproxy.py:261–266  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

259 _ipt('-X', divert_chain)
260
261 def is_supported(self):
262 if which("iptables") and which("ip6tables"):
263 return True
264 debug2("tproxy method not supported because 'iptables' "
265 "or 'ip6tables' commands are missing.\n")
266 return False

Callers

nothing calls this directly

Calls 2

whichFunction · 0.90
debug2Function · 0.90

Tested by

no test coverage detected