Skip to content

[Feature Request] Show latency of connections #845

Closed

Description

@TheWyn

Is there an existing issue for this?

  • I have searched the existing issues.

Describe the solution you'd like

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.

Activity

  1. GyulyVGC commented on Jul 1, 2025

    @GyulyVGC
    Owner

    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.

  2. TheWyn commented on Jul 2, 2025

    @TheWyn
    Author

    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.

    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.

  3. Shreyash-Narvekar commented on Jul 10, 2025

    @Shreyash-Narvekar

    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

  4. GyulyVGC commented on Jul 24, 2025

    @GyulyVGC
    Owner

    Labeling this issue as good first issue Good for newcomers and help wanted Extra attention is needed to gather additional feedback and help

  5. voiceroy commented on Jul 24, 2025

    @voiceroy

    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.

  6. TheWyn commented on Jul 28, 2025

    @TheWyn
    Author

    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)

  7. GyulyVGC commented on Jul 28, 2025

    @GyulyVGC
    Owner

    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.

  8. added a commit that references this issue on Jul 6, 2026
    fa23acc
  9. added this to the v1.5.1 milestone on Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature, request, or improvementgood first issueGood for newcomershelp wantedExtra attention is needed

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions