ralphwetzel / theonionbox

Dashboard to monitor Tor node operations
MIT License
122 stars 17 forks source link

feature request: Add option to disable logs #28

Open Knight1 opened 6 years ago

Knight1 commented 6 years ago

Hey,

my intention is to have the Webinterface for the public audience. But for this I would need to disable the log in the Interface so that non sensible information are public available.

Thanks for this cool Webinterface :)

ralphwetzel commented 6 years ago

Hi!
As a quickfix you could delete / comment line 1705 of theonionbox.py (devel branch or v4.0rc1).
Additionally I will add an option to the config file - yet this might take some days to be released.

Thanks for using The Onion Box!
Regards, Ralph

Knight1 commented 6 years ago

Hi!

Thanks for your ongoing support for your project and the tor project :)

But this is just the page construction section. Just to make sure: Does this also stop sending the data to the Browser in the background?

No problem good code needs time! Tobias

ralphwetzel commented 6 years ago

Hi!
The code is designed to send data only for sections that are enabled. For the 'messages' section, you can verify this in theonionbox.py beginning at line #2116.
There is one drawback though if you follow my hint given above: This will disable 'messages' for all nodes monitored ... not just for the one you intend to make accessible for the public. That's a boolean decision...

Regards, R.