imsnif/bandwhich

Separate network sniffer to different process to reduce sudo exposure

Open

#76 建立於 2020年1月5日

在 GitHub 查看
 (4 留言) (2 反應) (0 負責人)Rust (237 fork)batch import
enhancementhelp wanted

倉庫指標

Star
 (7,686 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Right now bandwhich is built from 153 packages (from the cargo install count). That's a really large attack surface for an app that's going to run under sudo. Could the app be split into two processes? one of which runs as the user and handles the display, the other (with a smaller number of dependencies) as root to access just the network traffic and pass it to the user process.

I'd really like to be able to run the process as me. Then that process tries to sudo the network grabbing process with the required password if sudo requires it.

貢獻者指南