$Id: CHANGES,v 1.55 2000/08/07 10:24:21 kruemelmo Exp $ V0.9 - initial revision V0.91: Added time zone arithmetics fixed bug in ipacsum: no input files and -r added CHANGES file corrected documentation V0.93: Improved -t time frame syntax Added graph support Added -f filter option V0.94: Fix: no longer produce readdir() warning -s and -e can take relative times, too minor fixes V0.95: Added official distribution site Added -d option to ipacsum Avoided warnings V0.96: - ipacsum: better handle corrupt data file content - ipacset + fetchipac: be more robust about missing permissions or RUNFILE don't call fetchipac on initial call at boot time handle all lock file cases correctly V0.97: - subst.c: fixed compile error under libc6 / RedHat 5.1 - ipacsum: fixed (nearly) endless loop when no start time was given and -g V0.98 (98/07/14): - changed default lock file directory from /tmp to /var/lock (security) - ipacset: discovered ipfwadm may add more than one line to the kernel tables with one call - this happens when a host name resolves to more than one ip address. As a result, all gathered data were messed up. Fixed ipacset to handle this properly. These changes to ipacset were done by Friedrich Lobenstock [FL], thanks!: - Fixed a bug if there exist empty lines in /etc/ipac.conf - Added some basic syntax checking (empty parameters) - Added command line option '-D' for debugging - Not really added support for bidirectional rules. Just say 'io'(or 'both' as in ipfwadm(8)) instead of 'in' or 'out' in /etc/ipac.conf - README: Added hint to mailing list - support for long option names V0.99 (98/07/29) - added man pages - corrected many spelling errors (discovered ispell). Changed "--intervall" option of ipacsum to "--interval" :-). (Old version still works) - added gif image creation (all options beginning with --gif) - added --version V1.00 - improved ipacset error handling - fixed order of week days in ipacsum - added average value feature for gif pictures - --gif-caption-in-index / show max and average values in html index file - --show-run-progression / display a progression indicator while running - added "Resolution:" in index.html - support for empty interface spec in ipac.conf for "any interface" - --gif-asis, HTTP Expires: header lines and HTML META tags - can now define two or more rules with the same name. ipac shows the sum in its outputs V1.01 - fixed 'Illegal division by zero at /usr/local/bin/ipacsum line 763.' - minor sub-pixel fix in gif creation (probably never visible) V1.02 (1999/04/14) - ipacsum: --gif-average-dots - Linux 2.1.* and up kernel / ipchains compatibility - --gif-caption-in-index shows total traffic (for whole gif image) V1.03 (1999/05/10) - fixed bugs in ipacset and fetchipac which appeared with some shells - added handling of cases when something deletes some or all of ipac's settings in the kernel (ipacset --fix-chains, fetchipac corrupted kernel settings detection, "BUGS" section in ipacset(8)) V1.04 (1999/05/31) - bug fix concerning ipchains option --fix-chains (still had problems with firewall scripts) - bug fix for /bin/sh compatibility in ipacset V1.05 (1999/08/06) - bug fix ipacsum "this week", "last week", "the week n weeks ago" - bug fix no "in" rule resulting in "out" rules not counting V1.06 (2000/01/24) - added support for .png images while being backward compatible to old .gif images... if you have the GD library. Renamed all options '--gif-*' to '--png-*' in the documentation; the old versions still work. - --gif-average-curve now "smoother" - --fixed-quantity - --png-total - made pathsearch more compatible (hints from Thomas ) - added contrib/ directory with ipac.cgi by Dan Swan V1.07 (2000/02/25) - added debug code to ipacsum which can be stripped off on install by an awk script in Makefile - introduced 'accuracy' to ipac. ipacsum's output is now The Correct Numbers, I believe. All older versions didn't have a real concept about calculating the correct numbers at the beginning and the end of a given time frame, resulting in incorrect values at the edges of a given time frame. Specifically, ipac would take each data file it found in the data file directory which was created within the given time frame; if there was no data file, it would take no data file; and sum them all up. If you had one data file for the whole day, created at 23:58 h, it would give you a good result if you asked about the whole day, but asked about 0:00 h (start time) to 23:50 h (end time), it wouldn't find any data and display nothing. Asked about 23:50 (start time) to 23:59 (end time), it would give you the whole day's data. As of this version, ipacsum really evaluates the correct values by considering all data from the given time frame plus the data from directly before and after the time frame. If the data for a given time frame is not specific enough, ipacsum computes an average value. Given the example above, asked about the whole day's data, ipacsum would consider the data from 23:58, but also the time of the data before this day (possibly with a time stamp of the day before, 23:58), and the data of the next file. So the values would be (a little) more accurate. Asked about the time until 23:50, the values would probably decrease a little. And asked about the time from 23:50 to 23:59, it also would only display this nine minutes' share of the collected values. Also, --replace now works in a conceptual meaningful way. The generated file's name is now derived from the time at the end of the time frame (before: from the newest file that was read). - rewrote fetchipac in C. It is now more robust, more verbose in case of errors and it *could* be extended to store its data into a database. (Also, it creates much smaller data files and uses much less system resources. And it does no longer use programs like ipchains, ipfwadm, awk and so on.) V1.08 (2000/04/29) - ipacsum bug fix --fixed-quantity and values >2^31 (showed negative numbers) - ipacsum bug fix dont try to read data files which are directories or which have an invalid file name - ipacsum bug fix dont reproduce old, deleted rules and old rule order on --replace runs. dont create empty meaningless files on --replace runs which may confuse ipacsum, saying "* = data incomplete..." - ipacsum bug fix --gif-total (option wasn't recognized) - ipacsum add --filename-prefix option - added 'ipac_and_mrtg' to contrib directory V1.09 (2000/06/06) - fetchipac: bug fix keep rule order in ipchains systems in any case - ipacsum: bug fix: don't make time frame in images longer than it should be in infrequent cases - ipacsum: bug fix: (again) dont make first value in images too high in rare cases V1.10 - added Suse rpm directory under contrib/ - ipacsum: --png-header-in-index option - ipacsum: corrected documentation and behavior concerning --png-index - ipacsum: --png-start, --png-end, --png-charset - ipacsum: x axis labels are now aligned to month and year borders - ipacsum: bug fix illegal division at line 1206/1185