small tool to open a tcp socket from a given pid and shut it down, killing the connection. Does not need traffic on the socket, relies on getting the socket pidfd and calling shutdown() on it after enabling SO_LINGER(0).
Does not need to have any traffic on the socket, like the original tcpkill. Original idea from @bradfitz; his Go PoC
Build with:
cargo build --release
- search by connection instead of fd