sudomesh / sudowrt-firmware

Scripts to build the sudo mesh OpenWRT firmware.
Other
73 stars 19 forks source link

Prevent logging of sensitive info #98

Open Juul opened 7 years ago

Juul commented 7 years ago

The nodes are logging which clients associate and disassociate + IP leases offered.

We want to enable this for debugging purposes but it should be default off. Perhaps completely disabling logging is a good idea or perhaps we can filter sensitive information

See:

https://wiki.openwrt.org/doc/uci/system

sierkje commented 7 years ago

@Juul As I mentioned after last meeting -- but not exactly what I remembered, and perhaps not as relevant: https://github.com/EFForg/cryptolog

jnny commented 6 years ago

status update?

paidforby commented 5 years ago

Logging is still enabled, https://github.com/sudomesh/sudowrt-firmware/blob/master/files/etc/config/system, I suggest commenting it out and then including a script that can be run on the node to uncomment the relevant lines.

paidforby commented 5 years ago

example of how to do this in shell using sed, https://github.com/sudomesh/sudowrt-firmware/blob/master/files/opt/mesh/pw_reset#L37