Re: Libpcap based: packet generator + capture file editor + bridge for IEEE802.3 on FreeBSD
- From: Wesley Shields <wxs@xxxxxxxxxxx>
- Date: Tue, 18 Apr 2006 14:57:25 -0500
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
_______________________________________________
freebsd-net@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@xxxxxxxxxxx"
- References:
- Prev by Date: Re: How to use if_bridge
- Next by Date: Re: crypto accelerators
- Previous by thread: Re: Libpcap based: packet generator + capture file editor + bridge for IEEE802.3 on FreeBSD
- Next by thread: Re: Libpcap based: packet generator + capture file editor + bridge for IEEE802.3 on FreeBSD
- Index(es):