Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2006 14:57:25 -0500
From:      Wesley Shields <wxs@csh.rit.edu>
To:        "Yeow C.H." <det_re@yahoo.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Libpcap based: packet generator + capture file editor + bridge for IEEE802.3 on FreeBSD
Message-ID:  <20060418195725.GA30928@csh.rit.edu>
In-Reply-To: <20060417133412.36079.qmail@web60120.mail.yahoo.com>
References:  <20060417124340.GA99978@uk.tiscali.com> <20060417133412.36079.qmail@web60120.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Apr 17, 2006 at 06:34:12AM -0700, Yeow C.H. wrote:
> Thanks Brian.
>   
>   Simply put Bit-Twist is smaller, do more, medium specific (Ethernet
>   II - IEEE 802.3) suite.
>   
>   Bittwist (packet generator) does not differs much from tcpreplay
>   program. I would admit if you say tcpreplay can do everything that
>   bittwist can do. But bittwist implementation is much simpler and it
>   uses only libpcap library without libnet dependency.
>   
>   Its capture file editor, bittwiste, allow you to change most fields
>   in  Ethernet, ARP, IP, ICMP, TCP, and UDP headers and you can
>   specify your  own payload. It is possible for the payload to cover
>   the ICMP, TCP, or  UDP header itself (checksum is corrected
>   automatically). Tcprewrite  (part of Tcpreplay suite) allows you to
>   change src/dst MAC/IP/port  only, but, it supports VLAN frames
>   (Bit-Twist does not).
>   
>   Bittwistb (bridge) aids the injection of packets from an end host
>   which  get forwarded across different LAN segments. It supports
>   multiple ports  (up to 8, or more if you want it to). Tcpbridge
>   supports only 2.
>   
>   Simply put, Bit-Twist is created not to compete with any existing
>   similar projects, i.e. Tcpreplay, but it is here in favor of freedom
>   of  choice :) and also, Bit-Twist is currently being used as a
>   practical  teaching material in Computer Network classes.

There is now a port for this available at net/bittwist if anyone is
interested in playing with it further.  It doesn't build under 4.x due
to a redefinition of in_addr_t and a lack of round(), but it builds
under more recent versions.  :)

-- WXS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060418195725.GA30928>