Common tcpdump Parameters¶
1. Run tcpdump as administrator¶
-i: specify the capture interface, such asenp0s3.-n: do not resolve domain names.-nn: do not resolve domain names or ports.-t: do not print timestamps.-S: use absolute sequence numbers. Without-S, relative sequence numbers are used.-A: print packets as ASCII strings.-X: print packets as both hexadecimal and ASCII strings.-w: write packets to a file.port: specify the listening port, such as80.host: specify the host to capture.
REF¶
[1]. https://www.cnblogs.com/onesea/p/13053697.html
[2]. https://zhuanlan.zhihu.com/p/482617730
[3]. OSI模型