forked from osmocom/wireshark
Some minimal documentation of remote capture interface formats for both rpcap and the new TCP feature from bug 2788.
svn path=/trunk/; revision=43156
This commit is contained in:
parent
74f85a07c0
commit
11204066a8
|
@ -14,7 +14,7 @@ S<[ B<-d> ]>
|
|||
S<[ B<-D> ]>
|
||||
S<[ B<-f> E<lt>capture filterE<gt> ]>
|
||||
S<[ B<-h> ]>
|
||||
S<[ B<-i> E<lt>capture interfaceE<gt>|- ]>
|
||||
S<[ B<-i> E<lt>capture interfaceE<gt>|rpcap://E<lt>hostE<gt>/E<lt>capture interfaceE<gt>|TCP@E<lt>hostE<gt>:E<lt>portE<gt>|- ]>
|
||||
S<[ B<-I> ]>
|
||||
S<[ B<-L> ]>
|
||||
S<[ B<-M> ]>
|
||||
|
@ -177,7 +177,7 @@ the default capture filter expression is used if provided.
|
|||
|
||||
Print the version and options and exits.
|
||||
|
||||
=item -i E<lt>capture interfaceE<gt>|-
|
||||
=item -i E<lt>capture interfaceE<gt>|rpcap://E<lt>hostE<gt>/E<lt>capture interfaceE<gt>|TCP@E<lt>hostE<gt>:E<lt>portE<gt>|-
|
||||
|
||||
Set the name of the network interface or pipe to use for live packet
|
||||
capture.
|
||||
|
|
|
@ -427,7 +427,10 @@ print_usage(gboolean print_ver)
|
|||
fprintf(output, "\nUsage: dumpcap [options] ...\n");
|
||||
fprintf(output, "\n");
|
||||
fprintf(output, "Capture interface:\n");
|
||||
fprintf(output, " -i <interface> name or idx of interface (def: first non-loopback)\n");
|
||||
fprintf(output, " -i <interface> name or idx of interface (def: first non-loopback),\n"
|
||||
" or for remote capturing, use one of these formats:\n"
|
||||
" rpcap://<host>/<interface>\n"
|
||||
" TCP@<host>:<port>\n");
|
||||
fprintf(output, " -f <capture filter> packet filter in libpcap filter syntax\n");
|
||||
fprintf(output, " -s <snaplen> packet snapshot length (def: 65535)\n");
|
||||
fprintf(output, " -p don't capture in promiscuous mode\n");
|
||||
|
@ -479,7 +482,7 @@ print_usage(gboolean print_ver)
|
|||
fprintf(output, " -h display this help and exit\n");
|
||||
fprintf(output, "\n");
|
||||
fprintf(output, "Example: dumpcap -i eth0 -a duration:60 -w output.pcapng\n");
|
||||
fprintf(output, "\"Capture network packets from interface eth0 until 60s passed into output.pcapng\"\n");
|
||||
fprintf(output, "\"Capture packets from interface eth0 until 60s passed into output.pcapng\"\n");
|
||||
fprintf(output, "\n");
|
||||
fprintf(output, "Use Ctrl-C to stop capturing at any time.\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue