...
Code Block | ||||
---|---|---|---|---|
| ||||
target: ip: x.x.x.xtcpdump: # IP of the device to measure tcpdump: # tcpdump module used to get data deviceIP: x.x.x.x # tcpdumpIP of modulethe useddevice to getmeasure data gatewayIP: x.x.x.x # IP of the gateway used to filter data networkInterface: xxxx # Network interface used to detect data (wlp2s0...) keepPcap: false # If true, it keeps the pcap file at the end of the measures ipFilters: # Other IP addresses used to filter data apple: false # If true, it filters data related with 17.0.0.0/8 |
...
Here are the fields to fill in in detail :
target.ip deviceIP : The IP address of the phone in the network shared by your PC. Normally this is an address of the type
10.42.0.x
(replace the x with the correct number)target.tcpdump.gatewayIP : This is the IP address of your PC (which acts as a gateway) in the shared network. This can be found using the
ifconfig
command. Normally it is :10.42.0.1
target.tcpdump.networkInterface : The name of the network interface on the shared network. This can be found using the
ifconfig
command. You can also obtain it by typing the commandsudo tcpdump -D
. The network interface corresponding to the shared connection begins with "wl" (Wireless Lan) on Linux.target.tcpdump.keepPcap : If the boolean is set to true, the pcap file is saved at the end of the measurements.
target.tcpdump.ipFilters : These are filters to remove certain network exchanges from the measurement. For measurements on iOS, set the "apple" boolean to true to filter IP addresses corresponding to 17.0.0.0/8 (Apple).
...