From owner-freebsd-net@FreeBSD.ORG Mon Apr 17 13:34:13 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 A57F616A40A for ; Mon, 17 Apr 2006 13:34:13 +0000 (UTC) (envelope-from det_re@yahoo.com) Received: from web60120.mail.yahoo.com (web60120.mail.yahoo.com [209.73.178.88]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C63143D49 for ; Mon, 17 Apr 2006 13:34:13 +0000 (GMT) (envelope-from det_re@yahoo.com) Received: (qmail 36081 invoked by uid 60001); 17 Apr 2006 13:34:12 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=POZ3gCf87+AoEbP8Ctj9Pk4iqc5EIwe37+KJbgyVWCWR7EF+8VgnuxyYvHz33jy2cxX8mbPmvFQm8pylSf//kq80/lpMZPXPWai6nrS4StYOQ7eb7nQ9KeIjvmDTEnGYYzFh+GSRJEvNcOBGZyN/w74J6hyL3uro5WWr8kgbpRk= ; Message-ID: <20060417133412.36079.qmail@web60120.mail.yahoo.com> Received: from [60.50.193.220] by web60120.mail.yahoo.com via HTTP; Mon, 17 Apr 2006 06:34:12 PDT Date: Mon, 17 Apr 2006 06:34:12 -0700 (PDT) From: "Yeow C.H." To: freebsd-net@freebsd.org In-Reply-To: <20060417124340.GA99978@uk.tiscali.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Mon, 17 Apr 2006 13:34:14 -0000 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. Brian Candler wrote: On Sun, Apr 16, 2006 at 08:02:04AM -0700, Yeow C.H. wrote: > It is designed to compliment tcpdump, which by itself has done a great job > in capturing network traffic. With Bit-Twist, you can now regenerate the > captured traffic onto a live network. Packets are generated from saved tcpdump > capture file (trace file). Interesting - how does it differ from /usr/ports/net-mgmt/tcpreplay ? Regards, Brian. --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice.