Configuration¶
mptcpanalyzer accepts few parameters that can be recorded in a configuration file. The file can be specified on the command line via the ‘–config’ (or ‘-c’) switch:
Editing config¶
$ mptcpanalyzer --config myconfig.cfg
By default, mptcpanalyzer will try to load the config file in the following order:
- $XDG_CACHE_HOME/mptcpanalyzer/config, then in
- $HOME/.config/mptcpanalyzer/config
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | # this is an exhaustive example of a configuration for mptcpanalyzer
# mptcpanalyzer loads automatically the file in "$XDG_CONFIG_HOME/mptcpanalyzer/config"
[DEFAULT]
# If you have several installations of tshark, then you can put the fullpath here
tshark_binary = tshark
# by default, look into ${XDG_CACHE_HOME:.config}/mptcpanalyzer/config
cache = /tmp
# in case you want to export special options
wireshark_profile = default
# TODO add example
# style0 =
# style0 =
# style2 =
# style3 =
|
- delimiter is the csv separator used by tshark when exporting the pcap
- styleX follow matplotlib conventions to set lines color/style
- tshark_bin in case you want to run a specific tshark binary