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.
BREAKING: File output now exports to PCAP format instead of raw binary
** Generated pcap files include proper Ethernet/IP/UDP headers
** Files can be analyzed with Wireshark, tcpdump, and other pcap tools
** Destination IP/port from --dest argument is used in pcap headers
Safety: Complete rewrite of all type conversions and arithmetic to use safe operations
** Replaced all as casts with try_from() with proper error handling
** Replaced all arithmetic (+, -, *, /) with checked operations (checked_add(), etc.)
** Prevents silent overflow, truncation, and potential panics
** Added comprehensive error messages for invalid packet sizes and overflows
Dependencies: Added pcap-file v2.0 for pcap file generation