Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java SE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 處理數據包。
skwujinhua





发贴: 104
积分: 11
于 2008-10-15 11:54 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
版主﹐先謝謝你推荐給我的書<<java network programming>>
但是我要對數據包的頭進行分析﹐有沒有這方面的經驗或者電子書﹐我找了好久了。謝謝。



作者 Re:處理數據包。 [Re:skwujinhua]
JiafanZhou



版主


发贴: 736
积分: 61
于 2008-10-15 18:05 user profilesend a private message to usersend email to JiafanZhousearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
Hi skwujinhua,

If you are operating on a Linux/Unix like environment, you can use a utility tool called *tcpdump* to sniff the network packet headers. It is installed by default for most Linux/Unix like O.S. In most systems, tcpdump uses the libpcap library to capture the packets.

There is also a port of tcpdump for windows, called WinDump, this uses WinPcap, which is a port of libpcap to Windows. Although it is a great tool, nevertheless, it is a command line based utility.

see the following link for details about tcpdump
http://en.wikipedia.org/wiki/Tcpdump

===============================================
Another one I can suggest you to use is a network analyser called *Ethereal*. The latest version of Ethereal is called the *Wireshark*. This tool is both a command line based and GUI based sniffer to capture the pdu.

If you are crystal clear familiar with the TCP/IP stack(ISO model stack), then you will not find any difficulties to use the Ethereal at all, (because this is simply a network sniffer). On the other hand, you could read about the book or manual related to Ethereal which discuss most of the functions in Ethereal. In addition I quote a book named <<Ethereal Packet Sniffing >> here and it is one of the best network book I have ever read, very well structured and easy understanding.

see the following link for more details about Ethereal:
http://en.wikipedia.org/wiki/Wireshark

===============================================
The following is the information about the book:
Ethereal Packet Sniffing
by Angela Orebaugh et al. ISBN:1932266828
Syngress Publishing © 2004 (468 pages)
This book provides insider information on how to optimize performance of Ethereal on enterprise networks, and shows how Ethereal compiles and runs on many flavors of UNIX and Windows


Jiafan



When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
作者 Re:處理數據包。 [Re:skwujinhua]
JiafanZhou



版主


发贴: 736
积分: 61
于 2008-10-15 18:07 user profilesend a private message to usersend email to JiafanZhousearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
link this thread to the following one, about issues with the NTP server:
http://www.cjsdn.net/post/view?bid=1&id=196271&tpg=1&ppg=1&sty=1#196309



When I was a kid I used to pray every night for a new bike. Then I realized that The Lord doesn't work that way, so I stole one and asked him to forgive me.
作者 Re:處理數據包。 [Re:skwujinhua]
skwujinhua





发贴: 104
积分: 11
于 2008-10-16 08:23 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
think you .



flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923