Ask Your Question

Revision history [back]

Use a file as a Capture filter

Is it possible to use a file containing filters as a filter itself? Instead of having to write each filter -f ...... -f ....... have a file that contains all the filters I wish to use to capture? What should the format of this file be? How do I create said file? "Filter1" udp "Filter2" ip6 ........ When using this file using CMD what would the expression be? dumpcap -i 5 -???????? -w capture.pcapng

Use a file as a Capture filter

Is it possible to use a file containing filters as a filter itself? Instead of having to write each filter -f ...... -f ....... ....... have a file that contains all the filters I wish to use to capture? What should the format of this file be? How do I create said file? file?

"Filter1" udp
"Filter2" ip6
........

When using this file using CMD what would the expression be? be?

dumpcap -i 5 -???????? -w capture.pcapng

capture.pcapng