commit f2448dc968a34fbf050afb06e172d432683d0dcd
Author: Damian Johnson <[email protected]>
Date: Fri Nov 3 12:29:26 2017 -0700
Fall back to resolution by inference even when DisableDebuggerAttachment is
disabled
In theory when the user has 'DisableDebuggerAttachment 0' in their torrc
proc
permissions should allow standard connection resolvers to work. However,
seems
that's not always the case. Using our new inference resolution method as a
final fallback.
---
nyx/tracker.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/nyx/tracker.py b/nyx/tracker.py
index 16b3c3d..64e7310 100644
--- a/nyx/tracker.py
+++ b/nyx/tracker.py
@@ -511,7 +511,7 @@ class ConnectionTracker(Daemon):
# in town.
if tor_controller().get_conf('DisableDebuggerAttachment', None) == '0':
- self._resolvers = connection.system_resolvers()
+ self._resolvers = connection.system_resolvers() +
[CustomResolver.INFERENCE]
else:
self._resolvers = [CustomResolver.INFERENCE]
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits