Page MenuHomePhabricator

Move daemon logs from the web UI to console-only
Closed, ResolvedPublic

Description

A HackerOne researcher managed to find some sensitive information in stack traces in daemon logs. D9540 fixes this, but in the long term we need to move these logs out of the web UI to bin/phd log or similar.

Related Objects

Event Timeline

epriestley raised the priority of this task from to Normal.
epriestley updated the task description. (Show Details)
epriestley added projects: Security, Daemons.
epriestley added a subscriber: epriestley.

I merged T5326 here since I plan to move "Combined Log" to bin/phd log. Then grep lets you filter, and we could add some other flags if other things make sense.

We should do this as a security thing -- although we aren't currently aware of anything sensitive in the logs, there has been sensitive stuff in the past, and it's reasonable to think there may be sensitive stuff in the future. Basically:

  • bin/phd log already exists, but requires a daemon ID.
  • Instead, let bin/phd log with no daemon ID behave like the combined log (emit all log messages). This will probably need a --limit flag too, like bin/mail list-outbound.
  • Remove the web UI for the "Combined Log" on the Daemon console.