ChinaUnix.net
相关文章推荐:

tcpdump 抓包udp bad checksum

小弟初学网络编程,想用tcpdump看一下,但是死活不到,求大神指点 客户端代码:[code]#include #include #include #include #include #include #include #include #include #define SERVER_PORT 8003 int main(int argc,char *argv[]) { int sockfd; struct sockaddr_in their_addr; struct h...

by goingstudy - 内核源码 - 2012-08-29 14:39:31 阅读(3005) 回复(9)

相关讨论

基本用法tcpdum -nn XX ‘port 80’ and host ‘192.168.44.207’

tcpdum到的是整个以太网,也就是 以太网报头—ARP报头/IP报头—TCPIP报头—数据—以太网报尾
-nn直接显示IP而非host名字,端口80主(没有目标端口和源端口区别)机192.168.44.207(括接收或者发送里出现的IP),-XX显示数据部分,能解析成文字的会自动解析

如果需要详细数据内容需要制定...

by lolizeppelin - 数据安全 - 2011-12-20 09:47:32 阅读(1476) 回复(0)

tcpdump采用命令行方式,它的命令格式为:   tcpdump [ -adeflnNOpqStvx ] [ -c 数量 ] [ -F 文件名 ]           [ -i 网络接口 ] [ -r 文件名] [ -s snaplen ]           [ -T 类型 ] [ -w 文件名 ] [表达式 ]   1. tcpdump的选项介绍    -a    将网络地址和广播地址转变成名字;    -d    将匹配信息的代码以人们能够理解的汇编格式给出;    -dd    将匹配信息的代码以c语言程序...

by lz198 - Linux文档专区 - 2008-03-08 17:12:48 阅读(521) 回复(0)

udp发送端如果发送速度过快,那么可能还没发出去,就被本机丢了 那么tcpdump能否检测出这种情况呢??

by redac - C/C++ - 2009-02-18 15:44:22 阅读(3359) 回复(3)

想研究一下qq的通信,用tcpdump host ***.***.***.*** and udp,没有显示出的内容\r\n请问如何获取的内容信息?谢谢

by setsuna - 攻防交流区 - 2006-09-28 12:27:54 阅读(3159) 回复(0)

想研究一下qq的通信,用tcpdump host ***.***.***.*** and udp,没有显示出的内容 请问如何获取的内容信息?谢谢

by setsuna - 数据安全 - 2006-09-28 12:27:54 阅读(2371) 回复(0)

centos 5 tcpdump 3.9.4 libpcap 0.9.4 机器有两块网卡,一块eth0配有ip用作管理。一个eth1无ip,用作交换机镜像其他业务端口过来的数据。 使用tcpdump -i eth1 可以到和看到大量镜像过来的数据。 问题是: 使用tcpdump -i eth1 tcp 却不到一个,这里可以肯定的是上一个步骤中可以看到大量的tcp。 使用任何条件都不能。如:tcpdump -i eth1 port 80等。 但使用tcpdump -i eth1 not udp 却可以到tcp。 在...

by nmweizi - Linux系统管理 - 2014-11-26 12:26:51 阅读(7304) 回复(6)

最近在搭keepalived+haproxy 想用tcpdump keepalived组播,来确认keepalived主从的工作情况。 但很奇怪在debain平台下,多播,不保存成文件就不到。 1。可以到组播地址的 tcpdump -n -i eth1 -s0 -w x1.packet 保存为x1.packet,拉到xp下用wireshark打开,可以看到有到224.0.0.18的 2. 不到组播地址的 tcpdump -n -i eth1 -s0 'ip src 224.0.0.18' tcpdump -n -i eth1 -s0 'net 224.0.0.0' 这两种方...

by adastudy - 网络技术 - 2013-04-29 08:02:24 阅读(7846) 回复(3)

最近在使用tcpdump, 使用的是FC8的系统, 我想大约1G的。可是发现了一个奇怪的问题, 为了加快的速度,我使用迅雷下载软件, 刚开始很正常在大约了740M的数据的时候,出现了下面的情况: 使用命令: tcpdum -i eth3 -n -s 0 -w tcp.pacp 25 packets captured 2547 packets received by filter 0 packets dropped by kernel captured的数据很少, 然后tcp.pacp这个文件也不在变大了, 应该是没有数据...

by portwell - Linux系统管理 - 2009-12-18 10:14:26 阅读(1043) 回复(1)

默认tcpdump大小限制在96个BYTE(括以太网帧) 修改参数为 -s 0 0 则忽略的大小限制,按的长度实际长度取。 --------------------------------------------- linux tcpdump 命令详解 功能说明:倾倒网络传输数据。 语  法:tcpdump [-adeflnNOpqStvx][-c][-dd][-ddd][-F][-i][-r][-s][-tt][-T][-vv] [-w][输出数据栏位] 补充说明:执行tcpdump指令可列出经过指定网络界面的数据文件头,在Linux操作系统中,你必须是...

by marvinlee - Linux文档专区 - 2009-08-12 10:36:31 阅读(6158) 回复(0)

tcpdump -i br0 -s 0 -A -w mydump.pcap -A: Print each packet(minus减去 its link level链路层 header) in ASCII. Handy for capturing web pages -s 0:means use the required length to catch whole packets -w: Write the raw packets to file rather than parsing and printing them out. They can later be printed with the -r option.Standard output is used if file is "-" -i:Listen on interface. If unsp...

by cdlda - Linux文档专区 - 2009-04-23 13:47:48 阅读(683) 回复(0)