You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature Request] Show latency of connections #845
It'd be nice to see ping/latency of open connections to know if you're close to the target server. Similar program with said feature would be Resource Monitor that would come with Windows.
Is your feature request related to a problem?
I used this feature for online gaming, not every game shows what your ping/latency is. With online games having multiple locations/providers it's nice to know you're using the optimal one.
Where would you expect to see the latency in Sniffnet? In the inspect page table? Cause in the overview page, and more specifically the network hosts section, more than one connection is agglomerated for each entry.
I'm also starting to wonder which would be the best way to collect latencies for each connection, since pinging each of them doesn't feel optimal.
Where would you expect to see the latency in Sniffnet? In the inspect page table? Cause in the overview page, and more specifically the network hosts section, more than one connection is agglomerated for each entry.
I'm also starting to wonder which would be the best way to collect latencies for each connection, since pinging each of them doesn't feel optimal.
I'd expect to see it in the inspect table or in the connection details, if it was possible to see connection details per program that would also be an option.
I think the Inspect page table would be the best place to show latency since it focuses on individual connections, and latency really varies per connection. On the Overview page, especially in the Network Hosts section, multiple connections get grouped together, so it’s harder to show meaningful latency info for each host there.
About how to collect latency data, pinging every connection one by one might be a bit too heavy and could cause extra traffic or slow things down. Maybe we could try other approaches like:
1)Using passive measurements from traffic timestamps, like how long the TCP handshake takes, if that info is available
2)Sending ICMP or TCP timestamp requests only when needed or just for some selected connections
3)Caching latency values and updating them every now and then to keep overhead low
I think the best approach would be to only ping the selected connections, as pinging other connections would only add to the network load and be of no value. These selected connections can then be cached and updated every nth second.
Or we can inspect a single connection, and have a button which measures latency.
Would it be possible to create a virtual network adapter, send program traffic through it then sniffnet monitors that to get latencies? Then no additional requests would need to be made for anything. (Im not sure how networking stuff works spit balling here)
It's possible to create a virtual adapter, but how could it help to compute latencies? The virtual adapter would still need to ping the remote server to measure how much time it takes to have a response.
Activity
GyulyVGC commentedon Jul 1, 2025
Hey @TheWyn thanks for opening this issue.
Where would you expect to see the latency in Sniffnet? In the inspect page table? Cause in the overview page, and more specifically the network hosts section, more than one connection is agglomerated for each entry.
I'm also starting to wonder which would be the best way to collect latencies for each connection, since pinging each of them doesn't feel optimal.
TheWyn commentedon Jul 2, 2025
I'd expect to see it in the inspect table or in the connection details, if it was possible to see connection details per program that would also be an option.
Shreyash-Narvekar commentedon Jul 10, 2025
I think the Inspect page table would be the best place to show latency since it focuses on individual connections, and latency really varies per connection. On the Overview page, especially in the Network Hosts section, multiple connections get grouped together, so it’s harder to show meaningful latency info for each host there.
About how to collect latency data, pinging every connection one by one might be a bit too heavy and could cause extra traffic or slow things down. Maybe we could try other approaches like:
1)Using passive measurements from traffic timestamps, like how long the TCP handshake takes, if that info is available
2)Sending ICMP or TCP timestamp requests only when needed or just for some selected connections
3)Caching latency values and updating them every now and then to keep overhead low
GyulyVGC commentedon Jul 24, 2025
Labeling this issue as good first issueGood for newcomers
and
help wanted
Extra attention is needed
to gather additional feedback and help
voiceroy commentedon Jul 24, 2025
I think the best approach would be to only ping the selected connections, as pinging other connections would only add to the network load and be of no value. These selected connections can then be cached and updated every nth second.
Or we can inspect a single connection, and have a button which measures latency.
TheWyn commentedon Jul 28, 2025
Would it be possible to create a virtual network adapter, send program traffic through it then sniffnet monitors that to get latencies? Then no additional requests would need to be made for anything. (Im not sure how networking stuff works spit balling here)
GyulyVGC commentedon Jul 28, 2025
It's possible to create a virtual adapter, but how could it help to compute latencies? The virtual adapter would still need to ping the remote server to measure how much time it takes to have a response.
feat: add TCP connection latency (RTT) measurement