---
title: "tcpdump用法"
author: "wangxe"
date: "2009-11-06T13:59:20Z"
tags: []
slug: "tcpdump"
draft: false
lastmod: "2009-11-06T13:59:20Z"
id: 511341
url: "https://wangxe.iteye.com/blog/511341"
---

Options:  
\-s &lt;length&gt;: Grap the packet with the specified length. default is 96 bytes  
\-A: print data in ASCII format  
\-X: print data in Hex and AscII format.  
\-i &lt;interface&gt;

Examples:  
tcpdump  -As 2048 -i eth1 tcp port 80 and host 10.32.73.41