opnsense / core

OPNsense GUI, API and systems backend
https://opnsense.org/
BSD 2-Clause "Simplified" License
3.38k stars 759 forks source link

Captured packets in "View capture" window are not sorted by timestamp when selecting multiple interfaces #7988

Open Ultranium opened 1 month ago

Ultranium commented 1 month ago

Describe the bug

When viewing captured packets on the Interfaces/Packet Capture/Jobs page for multiple selected interfaces, the output is first sorted by interface name, and only after that - by timestamp. This is quite inconvenient when investigating policy routing issues, as there is no clear timeline among printed packets, you have to scroll the page back-and-forth to see what packet went where.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Interfaces/Packet Capture
  2. Select multiple interfaces to monitor (like LAN and WAN)
  3. Start the capture
  4. Send some packets via firewall, so they are routed through selected interfaces
  5. Go to Interfaces/Packet Capture/Jobs and click of three "View capture" buttons

Expected behavior

Packets are first sorted by timestamp.

Describe alternatives you considered

Either the captured packets on all interfaces should be sorted by their timestamp, or there should be a way to change the sort column.

Screenshots

image

Environment

OPNsense 24.7.6-amd64

OPNsense-bot commented 1 month ago

Thank you for creating an issue. Since the ticket doesn't seem to be using one of our templates, we're marking this issue as low priority until further notice.

For more information about the policies for this repository, please read https://github.com/opnsense/core/blob/master/CONTRIBUTING.md for further details.

The easiest option to gain traction is to close this ticket and open a new one using one of our templates.