| 1 | ApacheTop ChangeLog |
|---|
| 2 | |
|---|
| 3 | v0.12.6 (27th October, 2005) |
|---|
| 4 | * fixed security issue which described at CVE-2005-2660 |
|---|
| 5 | |
|---|
| 6 | v0.12.5 (27th November, 2004) |
|---|
| 7 | 20041126 |
|---|
| 8 | * change src/Makefile.am to install apachetop into bin, not sbin |
|---|
| 9 | * add NetBSD compatibility hack for kqueue; their opaque datafield |
|---|
| 10 | is an intptr_t (why?) |
|---|
| 11 | |
|---|
| 12 | 20040915 |
|---|
| 13 | * add attron back into configure.ac - not sure when that got removed |
|---|
| 14 | * change timeout delay between log checks to a constant 1/10th of a second |
|---|
| 15 | * get rid of all threading code. It was never really necessary; only ever |
|---|
| 16 | implemented because the main-loop delay was too long. Now it runs at |
|---|
| 17 | least 10 times a second. |
|---|
| 18 | |
|---|
| 19 | 20040725 |
|---|
| 20 | * incorporate gcc 3.4 building compatibility patch |
|---|
| 21 | from Pascal Terjan <pterjan@linuxfr.org> |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | v0.12 (21st May, 2004) |
|---|
| 25 | 20040508 |
|---|
| 26 | * finish up adns resolving; now host and/or ip are displayed as best |
|---|
| 27 | as possible; if one is not available it is displayed as ... while |
|---|
| 28 | being resolved. |
|---|
| 29 | * TAKE NOTE! |
|---|
| 30 | commandline option -r has changed to -d |
|---|
| 31 | -r has been reassigned to enable resolving of hosts/ips |
|---|
| 32 | |
|---|
| 33 | 20040505 |
|---|
| 34 | * use kqueue and fam facilities for passing opaque user data back when |
|---|
| 35 | an event occurs, allowing the removal of the ift struct (which sucked) |
|---|
| 36 | |
|---|
| 37 | 20040504 |
|---|
| 38 | * add runtime option key 'n' to toggle number columns between hits/bytes |
|---|
| 39 | and return code breakdowns for each item. |
|---|
| 40 | * expand sorting options so it's possible to sort by return codes as well |
|---|
| 41 | as hits/bytes. Pressing 's' brings up a different menu if you're viewing |
|---|
| 42 | return code breakdown. |
|---|
| 43 | |
|---|
| 44 | 20040416 |
|---|
| 45 | * add return code breakdown for each item in the top-list |
|---|
| 46 | |
|---|
| 47 | 20040308 |
|---|
| 48 | * improve header to display GB/MB/KB/Bytes in all appropriate fields |
|---|
| 49 | |
|---|
| 50 | 20040303 |
|---|
| 51 | * add adns support to resolve IPs into Hosts; if HostnameLookups is Off in |
|---|
| 52 | your httpd.conf, ApacheTop will now look up IPs for you. Created |
|---|
| 53 | --with-adns, like pcre/fam. |
|---|
| 54 | |
|---|
| 55 | 20040301 |
|---|
| 56 | * remove --enable-pcre; have configure always check for it and just warn if |
|---|
| 57 | it can't be found. Specify --with-pcre to point it at the right place. |
|---|
| 58 | * call realpath() on supplied filenames for sanity |
|---|
| 59 | * add File Alteration Module (FAM) monitoring code (for Linux/IRIX mostly) |
|---|
| 60 | Use --with-fam to point it at the right place, like pcre. |
|---|
| 61 | |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | v0.11 (25th February, 2004) |
|---|
| 65 | 20040224 |
|---|
| 66 | * acknowledge & as starting a query string as well as ? |
|---|
| 67 | |
|---|
| 68 | 20040219 |
|---|
| 69 | * clean up configure.ac, remove unused function checks |
|---|
| 70 | * add --with-libraries and --with-includes to ./configure to provide |
|---|
| 71 | hints about where to look other than standard places |
|---|
| 72 | |
|---|
| 73 | 20040218 |
|---|
| 74 | * add --enable-pcre and --with-pcre=<path> to ./configure; providing |
|---|
| 75 | these enables regular expression filtering |
|---|
| 76 | * add new filters submenu (press f) |
|---|
| 77 | * add --with-logfile=<file> to ./configure; now you can override the |
|---|
| 78 | default log position without editing the source |
|---|
| 79 | |
|---|
| 80 | 20040216 |
|---|
| 81 | * inline hashing functions for greater efficiency |
|---|
| 82 | * replace localtime & strftime calls with a bit of maths in display_header() |
|---|
| 83 | |
|---|
| 84 | 20040204 |
|---|
| 85 | * add largefile checks into configure.ac |
|---|
| 86 | |
|---|
| 87 | 20040119 |
|---|
| 88 | * change nanosleep to usleep; I think this makes more sense.. |
|---|
| 89 | Solaris 2.6 doesn't have nanosleep, and it seems overkill |
|---|
| 90 | * change configure.ac check for wattr_on to attron (fix Solaris compile issue) |
|---|
| 91 | |
|---|
| 92 | |
|---|
| 93 | v0.10 (14th January, 2004) |
|---|
| 94 | 20040104 |
|---|
| 95 | * remove old useless configure.ac stuff |
|---|
| 96 | * fix crash bug when ApacheTop has nothing to display |
|---|
| 97 | |
|---|
| 98 | |
|---|
| 99 | v0.9 (22nd December, 2003) |
|---|
| 100 | 20031222 |
|---|
| 101 | * don't call endwin() in a signal handler; set a flag and get the main |
|---|
| 102 | loop to do it. Fixes intermittent segfault when Ctrl-C'ing to exit. |
|---|
| 103 | * change instances of mvprintw() to mvaddstr() where printf features |
|---|
| 104 | were unused anyway; should give curses an easier time. |
|---|
| 105 | * add runtime help display; press s or ? |
|---|
| 106 | |
|---|
| 107 | 20031221 |
|---|
| 108 | * rework runtime options to make use of "submenus" |
|---|
| 109 | * add facility for removing detailed-display sections (remove Referrers |
|---|
| 110 | from a URL detailed display etc); press t during runtime for submenu |
|---|
| 111 | * move sort runtime keys into their own submenu; press s for this |
|---|
| 112 | |
|---|
| 113 | 20031218 |
|---|
| 114 | * revamp pthreads detection in configure.ac. It works now, I swear. |
|---|
| 115 | |
|---|
| 116 | 20031212 |
|---|
| 117 | * code cleanups in display.cc |
|---|
| 118 | * new display mode; press Right-Arrow to show statistics specific to the |
|---|
| 119 | currently highlighted item. If you are highlighting a URL, host and |
|---|
| 120 | referrer statistics for that URL will be shown. Press Left-Arrow to exit |
|---|
| 121 | this display mode. |
|---|
| 122 | |
|---|
| 123 | |
|---|
| 124 | v0.8.1 (28th November, 2003) |
|---|
| 125 | 20031128 |
|---|
| 126 | * fix for running ApacheTop with no parameters |
|---|
| 127 | |
|---|
| 128 | |
|---|
| 129 | v0.8 (18th November, 2003) |
|---|
| 130 | 20031115 |
|---|
| 131 | * we now reopen an input file if the inode changes; this catches deletes |
|---|
| 132 | and renames. ApacheTop will wait for the file to be recreated and reopen. |
|---|
| 133 | |
|---|
| 134 | 20031113 |
|---|
| 135 | * remove mod_log_spread code; I'm not happy with including this since I |
|---|
| 136 | have no idea how it works, no idea how the new filecode breaks it, and |
|---|
| 137 | I haven't had chance to test it. This will be re-introduced when I can |
|---|
| 138 | test it |
|---|
| 139 | * remove option -t; all logs are assumed to be common or combined format |
|---|
| 140 | * adapt internally to facilitate reading from more than one log at once |
|---|
| 141 | |
|---|
| 142 | 20031102 |
|---|
| 143 | * add more kqueue flags to watch for file deletion/renaming |
|---|
| 144 | |
|---|
| 145 | 20031027 |
|---|
| 146 | * fiddle with configure.ac so it doesn't require autoconf 2.57 |
|---|
| 147 | |
|---|
| 148 | 20031014 |
|---|
| 149 | * added check for stdarg.h to configure.ac; fixes Solaris build issue |
|---|
| 150 | * fix configure.ac check for pthread library |
|---|
| 151 | |
|---|
| 152 | |
|---|
| 153 | v0.7 (14th October, 2003) |
|---|
| 154 | 20031008 |
|---|
| 155 | * add thread for monitoring keypresses; if pthreads can be used, this will |
|---|
| 156 | make ApacheTop feel more responsive. Fall back on old behaviour if not. |
|---|
| 157 | |
|---|
| 158 | 20031006 |
|---|
| 159 | * simplify log-fetching routine; no need to lseek() around the file; |
|---|
| 160 | we just wait (or kqueue) then attempt to read(). |
|---|
| 161 | |
|---|
| 162 | 20031005 |
|---|
| 163 | * wrap header includes in #if/#endif; we should now build on ancient |
|---|
| 164 | standards-breaking systems which don't have some headers. |
|---|
| 165 | * efficiency tweaks to hashing functions and hash class |
|---|
| 166 | * use the return value of ohtbl->insert where possible; saves a call to |
|---|
| 167 | lookup and thus another hash in some cases, which cuts down on CPU time. |
|---|
| 168 | |
|---|
| 169 | |
|---|
| 170 | v0.6 (5th October, 2003) |
|---|
| 171 | 20031004 |
|---|
| 172 | * change from select() to nanosleep() for sleeping. Not only is this a more |
|---|
| 173 | suitable function, it also stops ApacheTop on Linux eating all the CPU, |
|---|
| 174 | since select() was zero'ing a structure after it's first call. doh. |
|---|
| 175 | * start distributing with autoconf. Disregard previous build instructions; |
|---|
| 176 | you now do the more conventional cd apachetop-X.X/ && ./configure && make |
|---|
| 177 | * add kqueue() support for checking the logfile for updates; autoconf |
|---|
| 178 | enables this automatically if your architecture supports it. |
|---|
| 179 | |
|---|
| 180 | 20031003 |
|---|
| 181 | * drop qsort() in favour of shellsort() in display.cc; this has the |
|---|
| 182 | advantage of knowing the data it's sorting, thus doesn't have to call a |
|---|
| 183 | comparison sub-function millions of times. This should lower ApacheTop's |
|---|
| 184 | CPU usage a lot. |
|---|
| 185 | * add mod_log_spread support via a patch from Theo Schlossnagle; I haven't |
|---|
| 186 | been able to test this yet. |
|---|
| 187 | |
|---|
| 188 | |
|---|
| 189 | v0.5 (2nd October, 2003) |
|---|
| 190 | 20031002 |
|---|
| 191 | * make the timed circle store slightly more information than requested, so |
|---|
| 192 | that we're guaranteed to have the requested number of seconds. |
|---|
| 193 | |
|---|
| 194 | 20031001 |
|---|
| 195 | * add option -r to specify refresh delay interval in seconds. |
|---|
| 196 | * add runtime key 'p' to pause/unpause the updating display. Stats are |
|---|
| 197 | still collected, but the screen is temporarily frozen. |
|---|
| 198 | |
|---|
| 199 | 20030930 |
|---|
| 200 | * experimental try-to-stop-it-crashing changes; a few cases of possible |
|---|
| 201 | memory trashing were fixed in hash and map classes. |
|---|
| 202 | * fill in dummy "Unknown" value for referrer if a common log is used. |
|---|
| 203 | (fixes crash if user switches to REFERRERs when there aren't any) |
|---|
| 204 | * change default refresh delay to 5 seconds. |
|---|
| 205 | |
|---|
| 206 | |
|---|
| 207 | v0.4 (29th September, 2003) |
|---|
| 208 | 20030929 |
|---|
| 209 | * add a new display mode; REFERRERs. |
|---|
| 210 | Press 'd' to cycle through URLs, IPs, and now REFERRERs. |
|---|
| 211 | * add option -p to preserve http:// (or whatever protocol) at start of |
|---|
| 212 | referrer string. By default it is cut out to save space onscreen. |
|---|
| 213 | |
|---|
| 214 | 20030928 |
|---|
| 215 | * remove -lreadline and associated code; hence dropping support for |
|---|
| 216 | altering delay frequency during runtime. This improves portability, |
|---|
| 217 | notably to Solaris. Intending to replace readline with own code. |
|---|
| 218 | * -L changed to -l; no real reason to use uppercase, not sure why I did. |
|---|
| 219 | |
|---|
| 220 | 20030927 |
|---|
| 221 | * add -s option to keep a given number of URL path segments only. For |
|---|
| 222 | example, -s 2 converts "/images/media/small/x.jpg" into "/images/media/" |
|---|
| 223 | This is rather experimental, so I'd appreciate feedback. |
|---|
| 224 | * remove floating points from table information when the numbers get big |
|---|
| 225 | enough; so we can display bigger numbers in the same table space. |
|---|
| 226 | * internally record referrers from log if they're available. |
|---|
| 227 | * add a visual marker (* just to left of URL/IP), movable by Up/Dn to stats |
|---|
| 228 | table; will be used to provide more information on the selected item. |
|---|
| 229 | This doesn't yet do anything further, however. |
|---|
| 230 | |
|---|
| 231 | |
|---|
| 232 | v0.3 (26th September, 2003) |
|---|
| 233 | 20030926 |
|---|
| 234 | * add framework for reading more logformats; combined & atop (not done yet) |
|---|
| 235 | * add -L option to lowercase all URLs for display (means /FOO and /foo are |
|---|
| 236 | considered the same and accumulate the same hits/bytes counters) |
|---|
| 237 | * add -q option to keep querystrings on URLs (default is to remove) |
|---|
| 238 | * rejigged -h and -t options to be -H and -T; logtype now uses -t |
|---|
| 239 | |
|---|
| 240 | 20030925 |
|---|
| 241 | * simplify circle functions by passing structs around, not lots of |
|---|
| 242 | individual ints; cuts down on memory copying too (= faster). |
|---|
| 243 | * display bytecount in header in MB when appropriate. |
|---|
| 244 | * adapt to resizes of the term; display more results if we can, and use |
|---|
| 245 | more of the term's width if there's an excess. |
|---|
| 246 | |
|---|
| 247 | 20030924 |
|---|
| 248 | * log.[cc|h] added; Log parsing class. Obsoletes logsplit() in apachetop.cc. |
|---|
| 249 | Currently only has common logformat parser, but is easily extendable to do |
|---|
| 250 | combined (and planning on a custom format) |
|---|
| 251 | * don't display NaN when there's no stats; display zeroes. |
|---|
| 252 | |
|---|
| 253 | |
|---|
| 254 | v0.2 (24th September, 2003) |
|---|
| 255 | 20030923 |
|---|
| 256 | * timed_circle.cc operational improvements to return more accurate |
|---|
| 257 | information about what's really going on with idle-ish servers. |
|---|
| 258 | * only allow one of -t and -h args to be specified. |
|---|
| 259 | |
|---|
| 260 | 20030922 |
|---|
| 261 | * timed_circle.cc fixes for potentially overrunning arrays, with the help |
|---|
| 262 | of Purify on Solaris. This should fix the segmentation faults a few people |
|---|
| 263 | have been randomly seeing. |
|---|
| 264 | |
|---|
| 265 | |
|---|
| 266 | v0.1 (22nd September, 2003) |
|---|
| 267 | 20030922 |
|---|
| 268 | * README (some brief docs) and CHANGES added :) |
|---|
| 269 | * display restructured a little; better use made of floating points |
|---|
| 270 | |
|---|
| 271 | 20030921 |
|---|
| 272 | * circle.[cc|h] moved to hits_circle.*; circle.h added as a virtual class. |
|---|
| 273 | In English, this means you can choose which circle mode to use at startup |
|---|
| 274 | time; one limited by time or one by hits. |
|---|
| 275 | |
|---|
| 276 | 20030920 |
|---|
| 277 | * timed_circle.cc added; provide detailed statistics for server requests in |
|---|
| 278 | the last $x seconds. The alternative is circle.cc, which similarly |
|---|
| 279 | remembers the last $x requests, regardless of age. |
|---|
| 280 | |
|---|
| 281 | |
|---|
| 282 | v0.0 (19th September, 2003) |
|---|
| 283 | 20030919 |
|---|
| 284 | * initial freshmeat release |
|---|