summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-01-24 15:37:09 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-01-26 11:54:03 +0100
commite6890cb3e59ec4bdbe57e999592b9488fcfa1f80 (patch)
treed3428600208d3c0dbe4a1a796bb757e6d70a2bd0 /trafgen.c
parent5107740603d10feed6104afd75042970cb392843 (diff)
netsniff: Allow filter input pcap file to output pcap
It might be useful to filter out interesting traffic from input pcap to output pcap file which will contain only filtered packets: $ netsniff-ng -i input.pcap -o output.pcap ip src 192.168.1.198 Now it is possible by specifying output pcap file with ".pcap" extension, otherwise the trafgen file will be generated as by default. Signed-off-by: Vadim Kochan <vadim4j@gmail.com> [tklauser: small wording and whitespace adjustment] Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'trafgen.c')
0 files changed, 0 insertions, 0 deletions