---
title: "Linux抓包命令"
author: "mgoann"
date: "2010-06-20T14:38:02Z"
tags: ["C", "C#", "C++", "Linux"]
categories: ["操作系统"]
slug: "linux"
draft: false
lastmod: "2010-06-20T14:38:02Z"
id: 695011
url: "https://mgoann.iteye.com/blog/695011"
---

# [Linux转包命令](http://writeblog.csdn.net/blog/571347)

Linux的抓包命令tcpdump -i eth0 -Xs 10000 -vv port 22808 -I 表示监测的设备号，-vv表示显示详细信息， -s 表示设置断行， -c 表示最多截取包数。-w表示存到文件中。如抓包tcpdump tcp port 22808 –X –vv –c 100 –s 1500 –w tcp.log