Skip to content

Navigate historic data #1041

Open
Open

Description

@GyulyVGC

Sniffnet only allows seeing charts data related to the past 30 seconds, and traffic statistic related to the whole period of the packet capture.

There are two clear limitations with this approach:

  • charts only show the most recent time-span, without giving any useful insight about past network activity
  • traffic statistics cannot be filtered by time, meaning that it's a mess to find out what happened at a specific instant in the past

I believe that showing charts data related with the most recent period of time is still a good default, but we should add the possibility for users to configure which time-span to display in charts.
The selection could be made possible via a draggable and resizable window included below the main line-series chart.

This change is pretty huge since I don't want it to be limited only to charts data, but I'd like it to be extended to the whole Internet traffic statistics reported by Sniffnet: this means that configuring the charts time-span will also affect data related to network hosts, services, connections, etc... enabling users to time-travel and replay arbitrary periods of arbitrary duration up to the start of the analysis.

This requires not only changes to the UI, but also and most importantly to the backend data structures, since currently there is no association between the "when" and the "which and how much data was sent to / received from who" (we're only keeping track of the first and last instant that a given entity exchanged data for sorting purposes).

Activity

  1. self-assigned this
    on Jan 1, 2026
  2. added this to the v1.6.0 milestone on Jan 1, 2026
  3. GyulyVGC commented on May 19, 2026

    @GyulyVGC
    OwnerAuthor

    As @Aikatsui commented on #1189 this is a good chance to also implement data retention across different sessions:

    it would be a great addition for #1041 (Navigate historic data) and nice-to-have feature for analyzing past captured data within custom time and date ranges. It seems you may not be interested in Sniffnet retaining data for a long period. So, if implemented, you could offer an option for users to define their own data retention period (e.g., past 24 hours, 7 days, 1 month, 3 months, or 6 months). Many people will like it.

    Sample: As shown in the screenshots below, GlassWire allows users to analyze data within custom time and date ranges. As far as I remember, the application retains all captured data from the time of installation.

    Image Image
  4. modified the milestones: v1.6.0, v1.7.0 on Aug 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature, request, or improvement

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions