News for hackers. Stuff that matters.
Re:Termshark – A terminal UI for tshark, inspired by Wireshark by toast0 on Tuesday December 05, 2023 @11:54AM (#38533423)
If you're ok installing stuff on the remote side, which you'd need to be to run this anyway, I'd expect wireshark to work well with X forwarding.

This looks nicer, but X forwarding is a generic solution to displaying GUIs locally while running them remotely.

Re:Termshark – A terminal UI for tshark, inspired by Wireshark by theamk on Tuesday December 05, 2023 @12:31PM (#38534050)
Installing wireshark on non-gui machines brings tons of junk.. just tried this on Ubuntu's minimal container with tshark installed -- and by default, wireshark brings in 206 extra packages, including python3 and systemd. It's a bit better with --no-install-recommends, but still 105 extra packages.

termshark, being written in go, has zero (0) extra packages other than tshark.

Re:Termshark – A terminal UI for tshark, inspired by Wireshark by Galanwe on Tuesday December 05, 2023 @12:44PM (#38534275)
> If you're ok installing stuff on the remote side, which you'd need to be to run this anyway

It is more likely easier to build / install this on a remote server than to have X11 forwarding.

- X11 fwd is often disabled in sshd config, as it introduces a number of backchannels for a compromised server to leak to the client.

- If you're working on a remote _server_, it is very unlikely that an X client will be available there. Building an X client & it's dependencies as non-root is a thousand times worst than building such a small TUI. Been there, done that.

- Remote X11 is horribly slow, you'll most likely want some more modern variant (x2go & co), which will be a nightmare to build, or tunnel.

Re:Termshark – A terminal UI for tshark, inspired by Wireshark by bdd8f1df777b on Tuesday December 05, 2023 @10:30PM (#38540195)
My remote machine, a cheap VPS VM, is too weak to support GUI. The network between my machine and VM is also too slow for that.