←back to thread

664 points alexflint | 2 comments | | HN request time: 0.518s | source
1. fs111 ◴[] No.42934289[source]
How can I run this as non-root? This is not obvious to me.
replies(1): >>42934360 #
2. infogulch ◴[] No.42934360[source]
Based on how it works it cannot run as non-root even in principle. https://github.com/monasticacademy/httptap?tab=readme-ov-fil...

Correction: the readme claims it will work without requiring root, but it does need to manage network namespaces, which afaik may only be available to root users depending on system configuration.

> To run httptap you do not need to be the root user. ... It makes use of linux-specific system calls -- in particular network namespaces ...