How to add a comment to all packets in numerous pcap files before merging into a single file
- 阅读更多 关于 How to add a comment to all packets in numerous pcap files before merging into a single file
问题 I'm trying to merge numerous pcap files together for post-processing after capture, however, I need to retain information about the source file of each packet (the file name contains information about the network tap source). This information isn't available anywhere in the packets themselves. My idea is to use the convenience of pcapng which allows adding a frame comment (frame.comment) to a packet and which can be done programmatically using editcap. I could use this to add information from