diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-11-24 23:38:32 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-24 23:38:32 -0500 |
commit | 68114ca52cbed0b7970a60717be4ca22ffdc5d00 (patch) | |
tree | 23d882336da9b8736ea432843e383aef654019f8 /changes/disable_debugger_attachment | |
parent | f634228a073965195c4088b66c1d5c4799c6eed2 (diff) | |
parent | f79a75f59731eab85c019c41827c0c0e89d90498 (diff) | |
download | tor-68114ca52cbed0b7970a60717be4ca22ffdc5d00.tar.gz tor-68114ca52cbed0b7970a60717be4ca22ffdc5d00.zip |
Merge remote-tracking branch 'ioerror/DisableDebuggerAttachment'
Conflicts:
src/or/config.c
Diffstat (limited to 'changes/disable_debugger_attachment')
-rw-r--r-- | changes/disable_debugger_attachment | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/changes/disable_debugger_attachment b/changes/disable_debugger_attachment new file mode 100644 index 0000000000..366f97224e --- /dev/null +++ b/changes/disable_debugger_attachment @@ -0,0 +1,14 @@ + o Minor features: + - If set to 1, Tor will attempt to prevent basic debugging attachment + attempts by other processes. It has no impact for users who wish to + attach if they have CAP_SYS_PTRACE or if they are root. We believe that + this feature works on modern Gnu/Linux distributions, and that it may + also work on *BSD systems (untested). Some modern Gnu/Linux systems such + as Ubuntu have the kernel.yama.ptrace_scope sysctl and by default enable + it as an attempt to limit the PTRACE scope for all user processes by + default. This feature will attempt to limit the PTRACE scope for Tor + specifically - it will not attempt to alter the system wide ptrace scope + as it may not even exist. If you wish to attach to Tor with a debugger + such as gdb or strace you will want to set this to 0 for the duration of + your debugging. Normal users should leave it on. (Default: 1) + |