| 1 |
01/11/2024: Version 4.7 |
| 2 |
bittwiste (editor) |
| 3 |
- added support for editing IEEE 802.1ad Q-in-Q VLAN packets |
| 4 |
|
| 5 |
28/10/2024: Version 4.6 |
| 6 |
bittwiste (editor) |
| 7 |
- added support for editing IEEE 802.1Q VLAN packets |
| 8 |
|
| 9 |
23/10/2024: Version 4.5 |
| 10 |
bittwist (generator) |
| 11 |
- added -j flag to enable jumbo frame transmission on supported NICs |
| 12 |
|
| 13 |
22/10/2024: Version 4.4 |
| 14 |
bittwist (generator) |
| 15 |
- truncate large packets, e.g. TSO packets, to the supported MTU |
| 16 |
bittwiste (editor) |
| 17 |
- bumped max. payload length from 1514 to 65535 bytes |
| 18 |
|
| 19 |
21/10/2024: Version 4.3 |
| 20 |
bittwist (generator) |
| 21 |
- use pcap_send_queue on Windows when using -r 0 |
| 22 |
|
| 23 |
14/10/2024: Version 4.2 |
| 24 |
bittwist (generator) |
| 25 |
- fix cleanup() |
| 26 |
bittwiste (editor) |
| 27 |
- updated option -X to also accept range or range:payload, e.g. |
| 28 |
-X 0-1000 |
| 29 |
-X 0-1000:0302aad1 |
| 30 |
- updated option -T eth -t type to also accept integer or hexadecimal value in |
| 31 |
addition to the existing keywords: ip, ip6, arp |
| 32 |
|
| 33 |
11/10/2024: Version 4.1 |
| 34 |
- executables moved from src to bin directory |
| 35 |
- Linux distribution: aarch64 executables included for SBCs, e.g. Raspberry Pi |
| 36 |
|
| 37 |
08/10/2024: Version 4.0 |
| 38 |
- Linux distribution: executables included with statically linked libpcap 1.10.5 |
| 39 |
- BSD distribution: rebuilt with libpcap 1.10.5 |
| 40 |
- macOS distribution: rebuilt with libpcap 1.10.5 |
| 41 |
- Windows distribution: rebuilt using MinGW-w64 with Npcap 1.80 |
| 42 |
- removed github repo https://github.com/ayeowch/bittwist to limit maintenance |
| 43 |
bittwiste (editor) |
| 44 |
- remove linking to libpcap |
| 45 |
|
| 46 |
06/07/2023: Version 3.8 |
| 47 |
- bumped from gcc -O2 to -O3 optimization flag: |
| 48 |
https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html#index-O3 |
| 49 |
bittwist (generator) |
| 50 |
- added RFC 2544 benchmark data generator and benchmark page |
| 51 |
- improved actual inter-packet gap replay by using token bucket algorithm for |
| 52 |
short IPG and self-regulated timer for long IPG |
| 53 |
|
| 54 |
27/06/2023: Version 3.7 |
| 55 |
bittwist (generator) |
| 56 |
- 30% speed up when sending large pcap file |
| 57 |
bittwiste (editor) |
| 58 |
- added -G option to set fixed or random inter-packet gap in microseconds |
| 59 |
- added support for CIDR notation when modifying IPv4/IPv6 address |
| 60 |
- added support for random MAC address |
| 61 |
|
| 62 |
17/06/2023: Version 3.6 |
| 63 |
- added github repo for source code browsing: |
| 64 |
https://github.com/ayeowch/bittwist |
| 65 |
bittwist (generator) |
| 66 |
- fixed linerate throttling |
| 67 |
- updated -p option to send packets at set packets per second (pps) |
| 68 |
- added -t option to set inter-packet gap (this was previously -p option) |
| 69 |
bittwiste (editor) |
| 70 |
- added option to edit IPv6 next header |
| 71 |
- added random number support for id, ttl, proto, next header, hop limit |
| 72 |
|
| 73 |
16/06/2023: Version 3.5 |
| 74 |
bittwiste (editor) |
| 75 |
- added option to set uniformly distributed random number (mersenne twister) |
| 76 |
for tcp/udp source/destination port and tcp sequence/acknowledgment number |
| 77 |
- added -N flag to duplicate packets from trace file, e.g. |
| 78 |
-N 100000 to repeat packets from trace file for 100,000 times |
| 79 |
- added ip6tcp and ip6udp templates |
| 80 |
|
| 81 |
13/06/2023: Version 3.4 |
| 82 |
bittwiste (editor) |
| 83 |
- updated -I flag to allow loading trace file from built-in templates |
| 84 |
|
| 85 |
12/06/2023: Version 3.3 |
| 86 |
bittwiste (editor) |
| 87 |
- options to edit IPv4/IPv6 packets to allow testing of classification/queuing |
| 88 |
features of switches/routers, e.g. |
| 89 |
-T ip -e 3 to indicate congestion to the end hosts |
| 90 |
-T ip6 -c 16 to classify packet for operation and management of the network |
| 91 |
-T ip6 -f 0xfffff to set custom flow label |
| 92 |
|
| 93 |
10/06/2023: Version 3.2 |
| 94 |
- added support for trace files with nanosecond resolution |
| 95 |
- updated manual pages |
| 96 |
bittwist (generator) |
| 97 |
- removed speed (-m) flag; use -p/-r to shape throughput |
| 98 |
- updated linerate (-r) flag to use token bucket algorithm |
| 99 |
bittwiste (editor) |
| 100 |
- added support for IPv6 packets |
| 101 |
- improved cksum() |
| 102 |
- expanded test cases |
| 103 |
|
| 104 |
30/05/2023: Version 3.1 |
| 105 |
- use in-memory trace files when sending packets in loop |
| 106 |
- fixed integer overflow in stats output |
| 107 |
- added static code analysis in Makefile (make check) |
| 108 |
- reformatted source files for C17 standard |
| 109 |
- added initial python testing framework for Linux systems |
| 110 |
|
| 111 |
24/05/2023: Version 3.0 |
| 112 |
- Linux distribution: rebuilt with libpcap 1.10.4 |
| 113 |
- BSD distribution: rebuilt with libpcap 1.10.4 |
| 114 |
- macOS distribution: rebuilt with libpcap 1.10.4 |
| 115 |
- Windows distribution: rebuilt with Npcap 1.75 with Npcap SDK 1.13 |
| 116 |
- updated homepage url: https://bittwist.sourceforge.io |
| 117 |
|
| 118 |
21/04/2012: Version 2.0 |
| 119 |
- switched to "struct pcap_sf_pkthdr" to support 64-bit platforms |
| 120 |
- rebuilt with libpcap 1.2.1 |
| 121 |
- added Mac OS X distribution (author's primary platform) |
| 122 |
- BSD distribution no longer maintained |
| 123 |
- ended Bit-Twist Web Edition BETA |
| 124 |
- revised copyright information and manpages |
| 125 |
bittwistb (bridge) |
| 126 |
- no longer maintained on all platforms |
| 127 |
|
| 128 |
12/12/2009: Version 1.1 |
| 129 |
- rebuilt with libpcap 1.0.0 |
| 130 |
- revised copyright information and manpages |
| 131 |
- removed Eclipse dependency; requires only Cygwin environment for Windows |
| 132 |
development |
| 133 |
- release of bittwist(w), Bit-Twist Web Edition BETA, |
| 134 |
http://twitter.com/bittwistw |
| 135 |
|
| 136 |
26/10/2007: Version 1.0 |
| 137 |
- revised AUTHORS, INSTALL, copyright information and manpages |
| 138 |
- unified source files for all supported platforms |
| 139 |
- moved Windows development to Eclipse IDE for C/C++ Developers + Cygwin |
| 140 |
environment |
| 141 |
bittwist (generator) |
| 142 |
- increased max. packet throughput from 1Gbps to 10Gbps (option -r) |
| 143 |
bittwiste (editor) |
| 144 |
- corrected usage of strptime() |
| 145 |
- use comma (,) instead of slash (/) as delimiter for all replace options |
| 146 |
- added a feature request; |
| 147 |
replace a specific MAC address with a new MAC address for eth, arp |
| 148 |
- added a feature request; |
| 149 |
replace a specific IP address with a new IP address for arp |
| 150 |
|
| 151 |
23/10/2006: Version 0.80 |
| 152 |
bittwist (generator) |
| 153 |
- improved performance; |
| 154 |
use single buffer for all packet data, |
| 155 |
calculate linerate_interval only when necessary |
| 156 |
bittwiste (editor) |
| 157 |
- corrected several malloc related bugs |
| 158 |
- added a feature request; |
| 159 |
replace the linktype stored in the pcap file header, |
| 160 |
e.g. to replace raw IP linktype to Ethernet linktype, |
| 161 |
bittwiste -I rawip.pcap -O rawip.1.pcap -M 1 |
| 162 |
- added a feature request; |
| 163 |
support for writing packets within a specific timeframe only, |
| 164 |
e.g. bittwist -I trace.pcap -O trace.1.pcap -S |
| 165 |
22/10/2006,21:47:35-24/10/2006,13:16:05 |
| 166 |
|
| 167 |
17/09/2006: Version 0.74 |
| 168 |
bittwiste (editor) |
| 169 |
- minor bug correction |
| 170 |
- added a feature request; |
| 171 |
delete a specific byte offset from a packet, |
| 172 |
bittwiste -I trace.pcap -O trace.1.pcap -D 1-14 |
| 173 |
- added a feature request; |
| 174 |
replace a specific IP address with a new IP address, |
| 175 |
e.g. to replace source IP address 192.168.0.1 with 192.168.1.1, |
| 176 |
bittwiste -I ip.pcap -O ip.1.pcap -T ip -s 192.168.0.1:192.168.1.1 |
| 177 |
|
| 178 |
28/07/2006: Version 0.73 |
| 179 |
- minor correction in Makefile |
| 180 |
- merged 180506-0.72-def.h-patch-1 (patch for OpenBSD) into BSD distribution |
| 181 |
bittwiste (editor) |
| 182 |
- minor bug correction |
| 183 |
- added a feature request; |
| 184 |
replace a specific port number with a new port number, |
| 185 |
e.g. to replace destination port 1066 with 1067, |
| 186 |
bittwiste -I tcp.pcap -O tcp.1.pcap -T tcp -d 1066:1067 |
| 187 |
misc. |
| 188 |
- Bit-Twist 0.72 for Windows has been released prior to this update |
| 189 |
|
| 190 |
29/04/2006: Version 0.72 |
| 191 |
- removed definition of in_addr_t in def.h for BSD distribution |
| 192 |
bittwistb (bridge) |
| 193 |
- minor bug correction |
| 194 |
|
| 195 |
28/04/2006: Version 0.71 |
| 196 |
bittwist (generator) |
| 197 |
- removed maths.h which was previously required for round(), |
| 198 |
ROUND() is now defined in def.h |
| 199 |
- minor bug correction |
| 200 |
bittwistb (bridge) |
| 201 |
- fixed gethwaddr(), previous version does not work under Linux |
| 202 |
|
| 203 |
11/04/2006: Version 0.7 |
| 204 |
bittwistb (bridge) |
| 205 |
- removed packet duplication check (based on resource hog MD5 hashing); |
| 206 |
this was initially required due to a faulty logic which causes the bridge |
| 207 |
to check and forward packets that are already departing from an interface |
| 208 |
- added explicit check for broadcast and multicast packets |
| 209 |
- added hash entry timeout check |
| 210 |
bittwiste (editor) |
| 211 |
- option -R range can take a single value, e.g. -R 10 instead of previous |
| 212 |
requirement of -R 10-10 to save only the 10th packet |
| 213 |
- added support for checksum correction for payload which covers ICMP, TCP, |
| 214 |
or UDP header and data |
| 215 |
- in def.h, #define IP_FO_MAX, 8191 changed to 7770 |
| 216 |
misc. |
| 217 |
- created manpages for bittwist, bittwistb, bittwiste |
| 218 |
- public release: http://bittwist.sourceforge.net |
| 219 |
|
| 220 |
04/04/2006: Version 0.61 |
| 221 |
bittwistb (bridge) |
| 222 |
- minor correction: when "forward to all", we are not suppose to forward a |
| 223 |
packet back into the same port where we received it |
| 224 |
|
| 225 |
03/04/2006: Version 0.6 |
| 226 |
bittwistb (bridge) |
| 227 |
- added pcap based program to bridge 2 or more LAN segments |
| 228 |
bittwiste (editor) |
| 229 |
- added proper handling for fragmented packets |
| 230 |
- skip checksum calculation for fragmented packets |
| 231 |
- option -R range is working now |
| 232 |
|
| 233 |
17/03/2006: Version 0.5 |
| 234 |
bittwist (generator) |
| 235 |
- removed option -e timeout presented in Version 0.4 since its usage |
| 236 |
is limited and we can do better by using the OS ping program |
| 237 |
- added option -c count |
| 238 |
to send packets up to count |
| 239 |
bittwiste (editor) |
| 240 |
- full rewrite |
| 241 |
- added options to edit most fields in Ethernet, ARP, IP, ICMP, TCP and UDP |
| 242 |
header |
| 243 |
- added option -X payload |
| 244 |
to support addition of payload from standard input |
| 245 |
- added option -L layer |
| 246 |
to support writing up to specific layer only |
| 247 |
- added option -R range |
| 248 |
to support writing of specific packets only |
| 249 |
|
| 250 |
10/03/2006: Version 0.4 |
| 251 |
- redundant definitions in bittwist.h and bittwiste.h moved to def.h |
| 252 |
- change of datatype, e.g. unsigned char is now u_char |
| 253 |
bittwist (generator) |
| 254 |
- added option -e timeout |
| 255 |
to allow sending packet as ping packet and check for host response |
| 256 |
(currently limited to ICMP echo only, expect support for TCP in later |
| 257 |
version) |
| 258 |
bittwiste (editor) |
| 259 |
- added option -c |
| 260 |
to disable/enable checksum correction |
| 261 |
|
| 262 |
25/02/2006: Version 0.3 |
| 263 |
bittwist (generator) |
| 264 |
- added option -r linerate |
| 265 |
to limit packet throughput at the specified line rate (1 -> 1000Mbps) |
| 266 |
- explicit close for pcap descriptor and file pointer removed from cleanup() |
| 267 |
- more details in info() |
| 268 |
bittwiste (editor) |
| 269 |
- options to change source/destination MAC, source/destination IP, TTL, |
| 270 |
source/destination port, enable/disable checksum correction for |
| 271 |
IP, ICMP, TCP and UDP packets |
| 272 |
|
| 273 |
21/02/2006: Version 0.2 |
| 274 |
- removes libnet dependency |
| 275 |
- requires libpcap 0.9.4 (and above) |
| 276 |
- options: -d, -vv, -i interface, -s len, -l loop, -m speed, -p sleep, -h |
| 277 |
- -v for timestamp and -vv to include hex data |
| 278 |
- user specified interval in seconds through -p option |
| 279 |
- interval multiplier through -m option |
| 280 |
- packet length: |
| 281 |
send captured length / on wire length / user specified length (14 to 1514 |
| 282 |
bytes) |
| 283 |
through option -s |
| 284 |
- SIGINT signal handling |
| 285 |
|
| 286 |
25/01/2006: Version 0.1 |
| 287 |
- skeleton program, uses libpcap 0.9.4 and libnet 1.1.3-RC-01 |
| 288 |
- options: -D, -V, -i interface, -l loop |
| 289 |
- tested only on FreeBSD 6.0-STABLE |