From owner-freebsd-net@FreeBSD.ORG Tue Apr 18 18:54:36 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0852F16A494 for ; Tue, 18 Apr 2006 18:54:36 +0000 (UTC) (envelope-from wxs@syn.csh.rit.edu) Received: from syn.csh.rit.edu (syn.csh.rit.edu [129.21.60.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 923AB43D46 for ; Tue, 18 Apr 2006 18:54:35 +0000 (GMT) (envelope-from wxs@syn.csh.rit.edu) Received: from syn.csh.rit.edu (localhost [127.0.0.1]) by syn.csh.rit.edu (8.13.4/8.13.4) with ESMTP id k3IJvQRD036873; Tue, 18 Apr 2006 14:57:26 -0500 (EST) (envelope-from wxs@syn.csh.rit.edu) Received: (from wxs@localhost) by syn.csh.rit.edu (8.13.4/8.13.4/Submit) id k3IJvQMD036872; Tue, 18 Apr 2006 14:57:26 -0500 (EST) (envelope-from wxs) Date: Tue, 18 Apr 2006 14:57:25 -0500 From: Wesley Shields To: "Yeow C.H." Message-ID: <20060418195725.GA30928@csh.rit.edu> References: <20060417124340.GA99978@uk.tiscali.com> <20060417133412.36079.qmail@web60120.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20060417133412.36079.qmail@web60120.mail.yahoo.com> User-Agent: Mutt/1.5.11 Cc: freebsd-net@freebsd.org Subject: Re: Libpcap based: packet generator + capture file editor + bridge for IEEE802.3 on FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Apr 2006 18:54:36 -0000 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