Name | Modified | Size | Downloads / Week |
---|---|---|---|
ipgrep_linux_v0.2.zip | 2018-11-21 | 6.9 kB | |
README | 2018-11-21 | 1.7 kB | |
ipgrep_w64_v0.2.zip | 2018-11-21 | 7.8 MB | |
Totals: 3 Items | 7.8 MB | 0 |
IPGREP ====== The tool copies packets from source PCAP files to a destination PCAP file. Packets that are not of the the type IP are dropped. In addition, packets can be filtered by IP Version, one matching address or two matching addresses. Compile: $ gcc -o ipgrep ipgrep_vX.Y.c or use: $ make Usage: ipgrep PATTERN OUTFILE INFILE1 [INFILE2 ...] The file format ist PCAP. Patterns: ip Copy all IP packets. v4 Copy all IPv4 packets. v6 Copy all IPv6 packets. ADDRESS Copy packets if source or destination address matches. ADDRESS-ADDRESS Copy packets if one address is source and one is the destination. The PCAP file header is taken from the first input file. These values are untuched: Magic number, version number, time correction, accuracy of timestamps, data link type. Only maximal length of captured packets (snaplen) is adjusted. Compression of IPv6 addresses removing colons does not work. Examples: ipgrep ip out.pcap dump.pcap = all IP packets ipgrep v6 out.pcap dump.pcap = all IPv6 packets ipgrep ff02:::::::fb out.pcap dump.pcap = packets comming from or going to this address ipgrep 192.168.1.7-216.58.207.78 out.pcap dump1.pcap dump2.pcap = packets inbetween these Development and License ======================= The use, development, distribution, etc. of the script is subject to the restrictions of GPL Version 3. The tools are in alpha state. The developer is not responsible for the use of the tools. Accuracy is not garanteed. You are welcome to participate or donate to the development. Feel free to report bugs or give suggestions by email to: markus.thilo@gmail.com Project page: https://github.com/markusthilo/netflower