logoalt Hacker News

Show HN: Network Monitor – a GUI to spot anomalous connections on your Linux

76 pointsby grigiolast Monday at 9:30 AM26 commentsview on HN

A real-time network connection monitoring tool built with Rust and GTK4, displaying active connections with live I/O statistics in a modern graphical interface. https://github.com/grigio/network-monitor


Comments

jrm4today at 8:19 PM

Fantastic, more of this. I don't know if I'm just missing it or what, but I'd love a GUI thing that showed all the devices on my network maybe even with a graph view.

I'm using an Eero router out of laziness and even it has some features here that I'd like to see more of in polished "home-user" style network tools; especially since it seems as if more are getting into the "homelab"/"selfhosted" thing.

neilvtoday at 10:50 PM

Thanks especially for using GTK with Rust to do this. We need to keep desktop Linux GUI libraries alive and viable (as an alterative to Web site GUI frameworks, Electron apps with Web frameworks, and proprietary mobile app platforms).

mordechai9000today at 6:47 PM

Nice work!

I do want to say, I don't like having to rely on scraping ss output. But that's not a comment on this project - I have done the exact same thing. It just proved to be the most expedient way given the constraints I was under. I suspect there is a lot of devops and CI/CD code out there that relies on the output format of ss. My concern is that parsing text intended for human readability and not machine processing is brittle and prone to failure due to unforeseen circumstances, or a package upgrade that changes the behavior.

mrochetoday at 7:15 PM

Cool project! As a more advanced form, I think it should be possible to get all this information via eBPF rather than ss output and scraping /proc.

Food for thought!

show 2 replies
SlavikCAtoday at 6:43 PM

That screenshot / video on README page is mostly unreadable. Can't get anything out of it.

show 3 replies
XiStoday at 10:27 PM

So nethogs, but with a gui?

WD-42today at 6:49 PM

Nice work. I’ve been writing an app using the same stack. The gtk-rs bindings are actually pretty productive once you get used to it! And it’s so fast.

jdthediscipletoday at 8:26 PM

Is there a version of this for the CLI?

show 1 reply
pm2222today at 7:58 PM

eBPF/XDP is nice and hard to use. Packet capture is so common that I wish that there were a simpler way like pcap.

show 1 reply
lone-cloudtoday at 10:31 PM

The code is partly refined AI generated slop and the UX is lacking. The functionality is very basic and needs to be more thoroughly tested. This type of project is half a work day tops for a senior+ dev to create with agentic coding.