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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fix: Continuous mode with --output now appends to a single pcap file instead of creating multiple files
** First iteration creates the pcap file with header
** Subsequent iterations append packets to the same file
** Eliminates the previous behavior of creating output.pcap, output_2.pcap, output_3.pcap, etc.
** Results in one consolidated pcap file for the entire continuous run
Fix: Graceful shutdown handling prevents pcap file corruption when using Ctrl+C
** Added signal handler to intercept Ctrl+C (SIGINT) in continuous mode
** Program now exits cleanly, properly flushing and closing pcap files
** Prevents corrupted pcap files that were unreadable by Wireshark/tcpdump
** Shutdown flag is checked during loop iterations and sleep intervals for responsive exit