Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Sniffnet: Open-source, cross platform application to monitor network traffic (github.com/gyulyvgc)
288 points by thunderbong on May 18, 2023 | hide | past | favorite | 38 comments


It is also part of the GitHub Accelerator Program: https://github.com/GyulyVGC/sniffnet/discussions/133


Are there any tools out there that can breakdown network traffic by the originating process? Sometimes it would be useful to see exactly which process is monopolising bandwidth like we can with CPU time.


Creator of Sniffnet here. Adding processes IDs is one of the features I'd like to implement in the next months!


That sounds great!


netatop can show per process/thread data - https://www.atoptool.nl/netatop.php


nethogs

https://github.com/raboof/nethogs

Edit: There is netproc as well


Pretty cool UI, I'm jelly. Has anyone used this 'iced' GUI library; is it anywhere near mature? I like my libraries older than my wine.


It's new. All the Rust GUI libraries are new and the community is still experimenting with different ideas to find the best architecture.


How could be anything other than new... It's Rust. It's not going to be from 1975 because it can't be.


> How could be anything other than new [for a young language]?

It could be, or could have started out as, a reimplementation of an existing library that has been around in one or more forms for some time.


System76's COSMIC desktop environment is implemented using it: https://blog.system76.com/post/may-flowers-spring-cosmic-sho...

But no, none of the Rust-only GUI libraries are mature yet.


It’s surprisingly hard for me to tell if this is sarcastic or not. I can imagine both ways:

1. “People implement major things in it, it’s mature, obviously.”

2. “People have implemented these things, but it requires care/attention/hacks that wouldn’t be required in a mature framework.”


I don't think it's sarcastic. COSMIC is still early in development and they're contributing upstream to Iced to improve it. And as the Iced repo[1] itself says, "Iced is currently experimental software".

1: https://github.com/iced-rs/iced


Yeah that's exactly it, they're aiming for a 2024 release, and due to the nature of that being in the future, it's unclear both whether they will make that, and how stable/mature that first release will be. So my link demonstrates that someone is using it, not that it's mature.


Wasn't aware System76 was pulling Rust chops and making a DE, thanks for sharing.


cryptowatch's desktop app is also using iced and Kraken is sponsoring the project.


Fwiw I think the term is “riced”


https://github.com/iced-rs/iced

Doesn’t seem to be.



looks like its running on opengl/dx


Wow, there is no mentioning in title it's written in Rust. How refreshing!


I was disappointed too! But then I found out it's mentioned in the top comment. I'm relieved. /s


Past attempts at mentioning rust didn't work. Hard to tell what makes a thing get to front page.

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

I am excited to try out sniffnet, I have given up on using burp, activity Monitor and Wireshark to investigate running connections. Sometimes you just need to feel good about a random process that has an outbound connection.


Don’t worry, we just had to go to the comments to find this info.


I can’t believe my eyes


i'd like to mention https://github.com/elesiuta/picosnitch "Monitor network traffic per executable using BPF"

ps not affiliated


Can I use it to monitor traffic in a LAN? like doing port mirroring on the switch?


Is there a good tool for detailed monitoring like this that runs atop OpenWRT w/ minimal perf impact? It's something I've been meaning to revisit but it keeps getting put off, any recommendations?


This is probably really obtuse of me, but how is this different than tcpdump?


From the description: "Application to comfortably monitor your network traffic".

I think the keyword here is "comfortably".


You can pump tcpdump into wireshark for a pleasant remote experience


i think it's more aimed at the average prosumer to get a verification that almost all of their traffic goes to some big-corp via https


Indeed it's not better than tcpdump, wireshark, ntop, nethogs and many others.


GUI


Looks like a more lightweight version of ntop. Very nice.


I see a few OSes on here, but does it work with BSD? I would imagine FreeBSD support would be desired for routers and such.


For someone new to this sort of thing, how does it compare to Little Snitch?


What would be the difference versus wireshark?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: