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,
vue Changes in data Interface not updated Python realization js And Django Front and back interaction in the background JavaSwing To achieve a simple Lianliankan games C# Making a simplified version of calculator elementui Shuttle box el-transfer Display list content text too long JVM summary Regression of dependent variable order categories (R language )【C#】 The realization of student achievement information management system use css Design a simple style html login interface C language --------- Tetris ( source code )