aboutsummaryrefslogtreecommitdiffstats
path: root/doc/extcap.pod
diff options
context:
space:
mode:
authorRoland Knall <roland.knall@br-automation.com>2015-12-30 14:46:03 +0100
committerRoland Knall <rknall@gmail.com>2016-01-07 19:30:07 +0000
commit7423a91e81070596bf319fd076aae0e66e00c30d (patch)
tree34cdef9c7899f5e6e1840c7b40e36afa765344be /doc/extcap.pod
parentcac0ab63ee39fb7a5532296363c53dee1074e550 (diff)
extcap: Documentation for the new features
Add documentation for regular expression usage, required and fileextension arguments Change-Id: I9a27c4263a87774cb997a6f4e1f8783a69d818df Reviewed-on: https://code.wireshark.org/review/12949 Reviewed-by: Roland Knall <rknall@gmail.com>
Diffstat (limited to 'doc/extcap.pod')
-rw-r--r--doc/extcap.pod15
1 files changed, 8 insertions, 7 deletions
diff --git a/doc/extcap.pod b/doc/extcap.pod
index 9c0d42f6b2..511e1a59cd 100644
--- a/doc/extcap.pod
+++ b/doc/extcap.pod
@@ -58,9 +58,9 @@ Argument type for UI filtering for raw, or UI type for selector:
Example 1:
- arg {number=0}{call=channel}{display=Wi-Fi Channel}{type=integer}
- arg {number=1}{call=chanflags}{display=Channel Flags}{type=radio}
- arg {number=2}{call=interface}{display=Interface}{type=selector}
+ arg {number=0}{call=--channel}{display=Wi-Fi Channel}{type=integer}{required=true}
+ arg {number=1}{call=--chanflags}{display=Channel Flags}{type=radio}
+ arg {number=2}{call=--interface}{display=Interface}{type=selector}
value {arg=0}{range=1,11}
value {arg=1}{value=ht40p}{display=HT40+}
value {arg=1}{value=ht40m}{display=HT40-}
@@ -69,13 +69,14 @@ Example 1:
Example 2:
- arg {number=0}{call=usbdevice}{USB Device}{type=selector}
+ arg {number=0}{call=--usbdevice}{USB Device}{type=selector}
value {arg=0}{call=/dev/sysfs/usb/foo/123}{display=Ubertooth One sn 1234}
value {arg=0}{call=/dev/sysfs/usb/foo/456}{display=Ubertooth One sn 8901}
Example 3:
- arg {number=0}{call=usbdevice}{USB Device}{type=selector}
+ arg {number=0}{call=--usbdevice}{USB Device}{type=selector}
+ arg {number=1}{call=--server}{display=IP address for log server}{type=string}{validation=(?:\d{1,3}\.){3}\d{1,3}}
flag {failure=Permission denied opening Ubertooth device}
=head1 Security awareness
@@ -90,7 +91,7 @@ Example 3:
=item - If an attacker can write to a system binary directory, we're game over anyhow
-=item - Don't let wireshark be told to look for capture binaries somewhere else?
+=item - Reference the folders tab in the wireshark->about information, to see from which directory extcap is being run
=back
@@ -104,4 +105,4 @@ B<Extcap> is feature of B<Wireshark>. The latest version
of B<Wireshark> can be found at L<https://www.wireshark.org>.
HTML versions of the Wireshark project man pages are available at:
-L<https://www.wireshark.org/docs/man-pages>. \ No newline at end of file
+L<https://www.wireshark.org/docs/man-pages>.