HomePhabricator

torcontrol improvements and fixes
09c1ae1c0107Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

torcontrol improvements and fixes

  • Force AUTHCOOKIE size to be 32 bytes: This provides protection against an attack where a process pretends to be Tor and uses the cookie authentication method to nab arbitrary files such as the wallet
  • torcontrol logging
  • fix cookie auth
  • add HASHEDPASSWORD auth, fix fd leak when fwrite() fails
  • better error reporting when cookie file is not ok
  • better init/shutdown flow
  • stop advertizing service when disconnected from tor control port
  • COOKIE->SAFECOOKIE auth

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Sep 8 2015, 15:48
deadalnixPushed on May 14 2017, 22:04
Parents
rABC2f796e5fe7a5: Better error message if Tor version too old
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rABC09c1ae1c0107: torcontrol improvements and fixes (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Nov 12 2015, 16:58