tcpdump

-i dev
[src|dst] host ip # condition
-w file

Grab all the passes eth2 The destination or source address is 192.168.1.2 Network data of , And save it to XX.pcap In the file
tcpdump   -i  eth2  host 192.168.1.2    -w   xx.pcap

Grab all the passes eth2, The destination address is 192.168.1.2 Network data of , And save it to XX.pcap In the file
tcpdump   -i  eth2  dst host 192.168.1.2    -w   xx.pcap
Grab all the passes eth1, The source address is 192.168.1.2 Network data of , And save it to XX.pcap In the file
tcpdump   -i  eth2  dst host 192.168.1.2    -w   xx.pcap
  Grab the net port 1 The source port is 25 Data for , Save to xx.pcap in
# tcpdump -i eth1 src port 25  -w   xx.pcap
Grab the net port 1 The destination port is 25 Data for , Save to xx.pcap in
# tcpdump -i eth1 dst port 25  -w   xx.pcap

It can be grasped in the vehicle tbox Network data between
tcpdump -i br1 -w /tmp/tbox.pcap
 

Technology
©2019-2020 Toolsou All rights reserved,
1190 Reverses the substring between each pair of parentheses leetcodemysql Joint index details You don't know ——HarmonyOS Create data mysql Library process Character recognition technology of vehicle license plate based on Neural Network A guess number of small games , use JavaScript realization Talking about uni-app Page value transfer problem pytorch of ResNet18( Yes cifar10 The accuracy of data classification is achieved 94%)C++ Method of detecting memory leak One is called “ Asking for the train ” A small village Finally got the train