2008年12月10日 星期三

Ethernet packet generator

要作網路測試,送封包及接收封包的工具一定有. 收封包及分析可以用 Wireshark 或是 Ethereal,但是要送封包的話,一般都是用 SmartBit 等的測試設備,不過價格很高. 如果要求不太高,或許在 Linux 下可以用 packETH 和一般的測試設備很像,只是 GUI 介面比較不好看,功能少了一點,用起有點不順,不過還很管用,而且作者還一直在加功能喔.
http://packeth.sourceforge.net/

packETH is a Linux GUI packet generator tool for ethernet.

Features:

* you can create and send any ethernet packet. Supported protocols:
o ethernet II, ethernet 802.3, 802.1q, QinQ
o ARP, IPv4, user defined network layer payload
o UDP, TCP, ICMP, IGMP, user defined transport layer payload
o RTP (payload with options to send sin wave of any frequency for G.711)
* sending sequence of packets
o delay between packets, number of packets to send
o sending with max speed, approaching the teoretical boundary
o change parameters while sending (change IP & mac address, UDP payload, 2 user defined bytes, etc.)
* saving configuration to a file and load from it - pcap format supported


截至 2008/07/28為止, packEth也支援 Windows平台:
packEth 1.6 for Windows

packEth如何安裝在 Linux


另外, 在 SourceForge內找到另一個, "Pacgen".
Pacgen is an Ethernet IP TCP/UDP packet generating tool for Linux. This tool enables custom packets with configurable Ethernet, IP, TCP, and UDP layers as well as custom payloads.

http://sourceforge.net/projects/pacgen/

Firebug tutorial

1. 3分鐘學會用 firebug 除錯
http://inet6.blogspot.com/2007/02/3-firebug.html

2. 小技巧- 使用firebug幫忙定制theme
http://www.google.com.tw/url?sa=t&source=web&ct=res&cd=3&url=http%3A%2F%2Fwww.joetsuihk.com%2Ftips_use_firebug_to_configure_theme&ei=YKRASbLtD4KWswKIg72WBw&usg=AFQjCNEtrNKl0M8Dj_Sm9n8U8I_PBT-msg&sig2=QnynFi61xq1ALUFG6rRAsw

3. Firebug 簡直是一個整合發展環境
http://people.ofset.org/~ckhung/b/js/firebug.php

4. [Firefox]4個外掛讓Firebug更強大,讓網頁開發更輕鬆
http://www.dotblogs.com.tw/finalevil/archive/2008/10/10/5652.aspx

5. Introduction to Firebug
http://www.evotech.net/blog/2007/06/introduction-to-firebug/

6. Firefox Extension - FireBug @ 天佑的自由天地
http://blog.tinyau.net/archives/2006/08/18/firebug-a-firefox-extension