3 # Configuration of the command line tests
7 # Wireshark - Network traffic analyzer
8 # By Gerald Combs <gerald@wireshark.org>
9 # Copyright 2005 Ulf Lamping
11 # This program is free software; you can redistribute it and/or
12 # modify it under the terms of the GNU General Public License
13 # as published by the Free Software Foundation; either version 2
14 # of the License, or (at your option) any later version.
16 # This program is distributed in the hope that it will be useful,
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 # GNU General Public License for more details.
21 # You should have received a copy of the GNU General Public License
22 # along with this program; if not, write to the Free Software
23 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
26 # Set WS_SYSTEM to our system type, e.g. Windows, Linux, Darwin
27 # http://support.microsoft.com/kb/100843
28 if [ -n "${OS#Windows}" ] ; then
34 # path to the Wireshark binaries, only used for the settings below
35 if [ "$WS_SYSTEM" = "Windows" ] ; then
36 WS_BIN_PATH=../wireshark-gtk2
41 # Tweak the following to your liking.
42 WIRESHARK=$WS_BIN_PATH/wireshark
43 TSHARK=$WS_BIN_PATH/tshark
44 CAPINFOS=$WS_BIN_PATH/capinfos
45 DUMPCAP=$WS_BIN_PATH/dumpcap
47 # interface with at least a few packets/sec traffic on it
48 # (e.g. start a web radio to generate some traffic :-)
49 # an interfaces index (1 based) should do well for recent devbuilds
50 TRAFFIC_CAPTURE_IFACE=${TRAFFIC_CAPTURE_IFACE:-3}
52 # time to capture some traffic (in seconds)
53 # (you may increase this if you get errors caused by very low traffic)
54 TRAFFIC_CAPTURE_DURATION=20
56 # the default is to not capture in promiscuous mode
57 # (this makes known trouble with some Windows WLAN adapters)
58 # if you need promiscuous mode, comment this line out
59 TRAFFIC_CAPTURE_PROMISC=-p
61 # Windows (even cygwin) don't provide the mkfifo used here
62 # if you have mkfifo, you may uncomment this line