| 1 | ## |
|---|
| 2 | ## This file is part of libtrace |
|---|
| 3 | ## |
|---|
| 4 | ## Copyright (c) 2004 The University of Waikato, Hamilton, New Zealand. |
|---|
| 5 | ## Authors: Daniel Lawson, WAND Group |
|---|
| 6 | ## Perry Lorier, WAND Group |
|---|
| 7 | ## Shane Alcock, WAND Group |
|---|
| 8 | ## |
|---|
| 9 | ## All rights reserved. |
|---|
| 10 | ## |
|---|
| 11 | ## This code has been developed by the University of Waikato WAND |
|---|
| 12 | ## research group. For further information please see http://www.wand.net.nz/ |
|---|
| 13 | ## |
|---|
| 14 | ## libtrace is free software; you can redistribute it and/or modify |
|---|
| 15 | ## it under the terms of the GNU General Public License as published by |
|---|
| 16 | ## the Free Software Foundation; either version 2 of the License, or |
|---|
| 17 | ## (at your option) any later version. |
|---|
| 18 | ## |
|---|
| 19 | ## libtrace is distributed in the hope that it will be useful, |
|---|
| 20 | ## but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 21 | ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 22 | ## GNU General Public License for more details. |
|---|
| 23 | ## |
|---|
| 24 | ## You should have received a copy of the GNU General Public License |
|---|
| 25 | ## along with libtrace; if not, write to the Free Software |
|---|
| 26 | ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 27 | ## |
|---|
| 28 | ## $Id$ |
|---|
| 29 | ## |
|---|
| 30 | ## |
|---|
| 31 | |
|---|
| 32 | - Version 2.0.27 |
|---|
| 33 | * fix bug with packet lengths being passed to bpf_filter |
|---|
| 34 | * fix bug with intervals in tracertstats |
|---|
| 35 | * fix bug with tracemerge |
|---|
| 36 | * commit missing manpage for tracemerge |
|---|
| 37 | * add test3 to the test suite |
|---|
| 38 | * add test-filter to the test suite |
|---|
| 39 | * Fix some portability issues |
|---|
| 40 | |
|---|
| 41 | - Version 2.0.26 |
|---|
| 42 | * split wag device and wag trace into two separate uris, wag and wtf |
|---|
| 43 | respectively |
|---|
| 44 | * corrected wag_read so that it correctly reads from the wag device |
|---|
| 45 | * wag header is now in network byte order so byte order conversion |
|---|
| 46 | added when reading from the header |
|---|
| 47 | * tracertstats now accepts subsecond packet intervals |
|---|
| 48 | * minor tweaks to tracertstats and the rtt example |
|---|
| 49 | * erf output now appends output if the output file already exists |
|---|
| 50 | rather than truncating the file |
|---|
| 51 | |
|---|
| 52 | - Version 2.0.25 |
|---|
| 53 | * updated rtclient_read_packet to be compatible with new rt protocol |
|---|
| 54 | * rtclient input now correctly ignores packets with type = RT_MSG |
|---|
| 55 | * erf_write_packet now deals with rxerrors appropriately |
|---|
| 56 | * building without zlib support should now work properly; |
|---|
| 57 | * stdin support works again |
|---|
| 58 | * build fixes for openbsd |
|---|
| 59 | * local lt_inttypes.h generated for PRIu64 macros etc |
|---|
| 60 | * setting __attribute__((packed)) on all structs |
|---|
| 61 | * build fixes for tracereport and testing for libgdc |
|---|
| 62 | * added tools/tracestats |
|---|
| 63 | |
|---|
| 64 | |
|---|
| 65 | - Version 2.0.24 |
|---|
| 66 | * minor bugs in format_erf |
|---|
| 67 | * applied autoconf to tools/ dir - these are now built and installed |
|---|
| 68 | automatically |
|---|
| 69 | * added --disable-libpacketdump and --disable-tools configure options |
|---|
| 70 | * improved checking for libpcap |
|---|
| 71 | * improved checking for g++ (needed for libpacketdump) |
|---|
| 72 | |
|---|
| 73 | - Version 2.0.23 |
|---|
| 74 | * configure fixes for dag |
|---|
| 75 | * set attributes on functions to improve compiler caching |
|---|
| 76 | * include tools/ dir in distributed tar.gz |
|---|
| 77 | * added get_framing_length format function, to return the length |
|---|
| 78 | of any framing headers added by the capture process (eg, pcap or |
|---|
| 79 | ERF headers) |
|---|
| 80 | * added libpacketdump, a library for dumping out packet information |
|---|
| 81 | * updated tracedump to use libpacketdump, and copied it to the tools/ |
|---|
| 82 | directory |
|---|
| 83 | |
|---|
| 84 | - Version 2.0.22 |
|---|
| 85 | * Documentation updates |
|---|
| 86 | * Added pcap_dump_flush() replacement function |
|---|
| 87 | * Better doxygen detection |
|---|
| 88 | * Support for legacy DAG POS, ATM and Ethernet formats |
|---|
| 89 | |
|---|
| 90 | - Version 2.0.21 |
|---|
| 91 | * fixed error in output erf code, where we were missing 2 bytes |
|---|
| 92 | * will skip vlan headers |
|---|
| 93 | * added trace_decode_uri() function |
|---|
| 94 | |
|---|
| 95 | - Version 2.0.20 |
|---|
| 96 | * byte-ordering fixups for WAG |
|---|
| 97 | * writer functions for pcap and wag |
|---|
| 98 | * fix of writer functions for erf |
|---|
| 99 | * format conversion into pcap and erf formats |
|---|
| 100 | * format conversion only applies if input not already in the right |
|---|
| 101 | format |
|---|
| 102 | * move internal fifo* symbols to tracefifo* to prevent collision |
|---|
| 103 | with libfifo |
|---|
| 104 | |
|---|
| 105 | - Version 2.0.19 |
|---|
| 106 | * Move code for different input formats (erf, pcap, wag) into |
|---|
| 107 | separate modules, load and initialise on library load. |
|---|
| 108 | * Add support for primitive trace writing |
|---|
| 109 | See trace_output_create(), trace_output_destroy(), and |
|---|
| 110 | trace_write_packet() |
|---|
| 111 | * Added trace_perror() and libtrace errno functionality. |
|---|
| 112 | |
|---|
| 113 | - Version 2.0.18 |
|---|
| 114 | * When opening a trace file, call open() with O_LARGEFILE set and |
|---|
| 115 | pass the fd into gzdopen/fdopen. |
|---|
| 116 | * Distributions should include man pages and other doxygen generated |
|---|
| 117 | output |
|---|
| 118 | * make install will install man pages into $PREFIX/man/man3 |
|---|
| 119 | * fixed some compilation bugs in most of the examples |
|---|
| 120 | |
|---|
| 121 | - Version 2.0.17 |
|---|
| 122 | * Fixed a bug in trace_get_erf_timestamp for the pcap path. |
|---|
| 123 | Timestamps were not being fabricated correctly. This also |
|---|
| 124 | effected trace_get_seconds, as that calls trace_get_erf_timestamp |
|---|
| 125 | internally. |
|---|
| 126 | * If bpf_setfilter() fails, output the filterstring it failed on |
|---|
| 127 | * Fixed compilation bug under older distributions (woody), where |
|---|
| 128 | the LTLIBOBJS auto* macro wasn't being expanded correctly |
|---|
| 129 | |
|---|
| 130 | - Version 2.0.16 |
|---|
| 131 | * Ported to OpenBSD - mad props to meanphil |
|---|
| 132 | * Fixed a bug in the event api where it would die instantly |
|---|
| 133 | for offline traces. |
|---|
| 134 | * Added trace_get_{source,destination}_port |
|---|
| 135 | * Added some constification fixes |
|---|
| 136 | |
|---|
| 137 | - Version 2.0.15b |
|---|
| 138 | * Fix a memory leak |
|---|
| 139 | * Correct calls to trace_get_link to catch a NULL returned |
|---|
| 140 | when an RX error is detected, handle this, and pas it up |
|---|
| 141 | the chain where appropriate |
|---|
| 142 | * Use a pcap callback handler when trace_read_packet() reads from |
|---|
| 143 | a live pcap source. This gives us better diagnostics, such as |
|---|
| 144 | being able to tell if an error occured. Also fixed a bug under |
|---|
| 145 | FreeBSD where pcap would block until a buffer was full, then |
|---|
| 146 | would let pcap_next iterate over all of them. |
|---|
| 147 | |
|---|
| 148 | - Version 2.0.14 |
|---|
| 149 | * Added support for pcap decoding of PPP interfaces (DLT_LINUX_SLL) |
|---|
| 150 | This DLT provides a direction bit, which we make use of in |
|---|
| 151 | trace_get_direction(). Check the docs for the specifics |
|---|
| 152 | * Fixed a bug where ERF traces weren't being checked for rxerrors. |
|---|
| 153 | If the ERF record indicates an rxerror, then get_link() returns |
|---|
| 154 | NULL. |
|---|
| 155 | * Removed an extra , which was preventing compilation under gcc 3.4 |
|---|
| 156 | in FreeBSD |
|---|
| 157 | |
|---|
| 158 | - Version 2.0.13 |
|---|
| 159 | * Improved source docs / doxygen |
|---|
| 160 | * Added functions to retrieve TCP, UDP and ICMP headers encapsulated |
|---|
| 161 | within the IP sublayer |
|---|
| 162 | * get_tcp_from_ip() |
|---|
| 163 | * get_udp_from_ip() |
|---|
| 164 | * get_icmp_from_ip() |
|---|
| 165 | * Added trace_get_next_option to parse TCP/IP options within a |
|---|
| 166 | libtrace_packet object |
|---|
| 167 | |
|---|
| 168 | |
|---|
| 169 | - Version 2.0.12 |
|---|
| 170 | * check for IP Fragmentation - if so, don't return TCP header on a |
|---|
| 171 | fragmented packet |
|---|
| 172 | |
|---|
| 173 | - Version 2.0.11 |
|---|
| 174 | |
|---|
| 175 | * Added in a fallback function for strndup under freebsd. |
|---|
| 176 | Thanks to mjl for this code. |
|---|
| 177 | |
|---|
| 178 | - Version 2.0.10 |
|---|
| 179 | * Removed some badly licensed code. |
|---|
| 180 | |
|---|
| 181 | - Version 2.0.9 |
|---|
| 182 | * Added improved conditional codepaths for |
|---|
| 183 | * PCAP |
|---|
| 184 | * ZLIB |
|---|
| 185 | * BPF |
|---|
| 186 | * DAG |
|---|
| 187 | - These sections of code are only compiled in if there is |
|---|
| 188 | appropriate support for them in the OS / asked by configure. |
|---|
| 189 | In the event of no zlib support, we use a fread interface for |
|---|
| 190 | uncompressed trace files instead. |
|---|
| 191 | |
|---|
| 192 | - Version 2.0.8 |
|---|
| 193 | * Added better configure time checking for pcap-bpf.h (ie, actually fail early if it can't find it or an equivalent) |
|---|
| 194 | * Added trace_set_direction , to set the direction bit in an ERF based trace. |
|---|
| 195 | * Added trace_truncate_packet, to truncate the packet at a specified length |
|---|
| 196 | |
|---|
| 197 | |
|---|
| 198 | - Version 2.0.7 |
|---|
| 199 | * Assorted bugfixes. |
|---|
| 200 | |
|---|
| 201 | - Version 2.0.3 |
|---|
| 202 | * Fixed packet->size bug for pcap |
|---|
| 203 | |
|---|
| 204 | - Version 2.0.2 |
|---|
| 205 | * Port to AMD64. Should also work on IA64 |
|---|
| 206 | * Will compile cleanly under gcc-2.95 (Debian Woody) |
|---|
| 207 | * Compiles cleanly under FBSD 4.5 and 5.2. |
|---|
| 208 | |
|---|
| 209 | - Version 2.0.1 |
|---|
| 210 | * Port to FreeBSD. Thanks to Phil Murray for testing this |
|---|
| 211 | |
|---|
| 212 | - Version 2.0.0 |
|---|
| 213 | * Major API change for cleanup purposes. |
|---|
| 214 | * libtrace_packet_t object used to hold reference to the |
|---|
| 215 | trace object, the buffer, and assorted variables |
|---|
| 216 | * First autoconf release |
|---|
| 217 | |
|---|
| 218 | - Version 1.1.0 |
|---|
| 219 | * Tagged as REL_1_1_0 |
|---|
| 220 | * First final release tag |
|---|
| 221 | |
|---|
| 222 | |
|---|
| 223 | |
|---|
| 224 | |
|---|