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