]> git.ipfire.org Git - thirdparty/sarg.git/blob - ChangeLog
Use boolean to enable all the options instead of string compares.
[thirdparty/sarg.git] / ChangeLog
1 SARG ChangeLog
2
3 Dec-23-2009 Version 2.2.7
4 - Extra compile and run time protection (FORTIFY_SOURCE) fixed in configure.
5 - Use tabulations as columns separator in intermediary files to avoid problems when a field of the log contains a space.
6 - Input log file type detection partly rewritten to clearly distinguish which type is processed where.
7 - Read the input log file from standard input if log file name is -.
8 - Use string pointers in getword instead of copying the strings over and over.
9 - Use LC_TIME to format some dates and times in the report according to the selected locale.
10 - Sarg.conf can list up to 255 access.log files.
11 - Downloaded files suffixes are matched against a sorted list and use a dicchotomic search.
12 - Added getword_atoll to read a number directly from a file without an intermediary string storage.
13 - Use boolean to enable the options instead of string compares.
14 - Accept an absolute path for the language file in sarg.conf.
15 - Experimental: Can show the backtrace of the program when a getword loop is detected to help in locating the origin of the error.
16
17 Dec-17-2009 Version 2.2.6.1
18 - Remove unecessary dependency on off_t.
19 - Configuration doesn't fail if rlim_t is not available.
20 - Test for the availability of -Werror=implicit-function-declaration and -Werror=format flags in gcc (thanks to Murilo Moreira de Oliveira and pjetko).
21 - Fix sort delimiter when reading useragent log (thanks to Maxim Britov).
22 - Fix user agent report font size and statistics on user agent.
23 - Test for the availability of -Werror=format-security in gcc (thanks to Maxim Britov).
24 - Test the existence of bzero with autoconf and don't redefine it (tkanks to Maxim Britov).
25 - Remove warnings if libgd is not available.
26 - The date stored in sarg-date is now stored in a more machine readable form (thanks to rcastanheira for pointing this out).
27 - The date read from sarg-date was not properly parsed and would produce a wrongly sorted index accross a year change (thanks to rcastanheira for pointing this out).
28 - my_mkdir changed to avoid the use of getword, be simpler and, maybe, work reliably on windows.
29
30 Oct-14-2009 Version 2.2.6
31 - Protection against buffer overflows in getword and friends and report the origin of the error instead of always blaming access.log.
32 - Patch #2224623 applied.
33 - Updated to autoconf 2.61.
34 - Detect external commands failures and print the exact command that produced the error. The offending file is kept for debugging if possible.
35 - The format of the date written in sarg-date is forced to prevent a failure if the locale is not en_US.
36 - Removed the duplicate file opening that resulted in a resource leak.
37 - Patch #1945235 applied.
38 - Patch #1918397 applied.
39 - Limit the content of the squidguard log file to the date of the day being processed.
40 - Removed fscanf that is prone to buffer overflows.
41 - Size of buffers increased.
42 - Protect ip2name against buffer overflows.
43 - Replace characters that are valid in URL but not in file names when building a file name from a URL.
44 - Patch #2657320 applied.
45 - Fix #else #if into #elif.
46 - Remove all the compilation warnings (inspired from patch #1771501).
47 - Fixed the real time report.
48 - Fixed the same bug as patch #1733337 but in a cleaner way.
49 - All the sprintf/fputs have been replaced by fprintf to avoid an intermediary buffer and possible buffer overflow.
50 - Moved all the functions declarations from conf.h to defs.h for consistency.
51 - Fixed bug #2089451.
52 - Fixed Debian bug #444845.
53 - Replaced the ifdef FOPEN64 by a single call to MY_FOPEN for code clarity.
54 - User IP/ID is searched only in the first column of the usertab file.
55 - Some of indentation fixes.
56 - Speed up by removing two uncessary ip resolutions.
57 - Applied debian patches: sarg-polish.patch, sarg-turkish.patch
58 - Applied debian patch: opensuse_2_enlarge_report_buffers.patch
59 - Applied debian patch: opensuse_3_too_small_font_buffer.patch
60 - Applied debian patch: opensuse_4_enlarge_log_buffer.patch
61 - Applied and extended debian patch: opensuse_5_limit_sprintf.patch
62 - Function debuga format the output string itself, so there is no need to use sprintf.
63 - Applied debian patch: opensuse_7_year_assertion.patch
64 - Removed a few unecessary strings copy.
65 - Embryo of documentation for the code with doxygen.
66 - Changed subs to replace the string in place and avoid allocating a memory that was freed on only one occasion.
67 - A few improvements on strings manipulations.
68 - Fixed debian bug #504749.
69 - Detect downloaded suffix bigger than 3 characters, don't match the cases and don't stop on a partial match.
70 - Fixed bug #2716729.
71 - Sanitized a little bit the generated HTML.
72 - Don't reject URL without directories.
73 - Use the correct format for off_t on amd64.
74 - Use the mechanism provided by configure to set the directories of the application instead of the custom variables.
75 - Fixed bug #1814212.
76 - Fixed bug #1847374.
77 - Partly applied advice of bug #1659784.
78 - Fixed bug #1740268.
79 - Applied suggestion of bug #2830643.
80 - Fixed bug #2216451.
81 - Fixed bug #2000178.
82 - Protect the reading of the configuration file against buffer overflows.
83 - Logo image height taken into account.
84 - Accept longer mail utility name.
85 - Fixed e-mail report (may also fix bug #2153024).
86 - Fixed total and percentages of topuser page.
87 - Applied Gentoo patch 10_all_sarg-2.2.5-enlarge-day-mon-buffers.patch.
88 - Applied Gentoo patch 12_all_sarg-2.2.5-enlarge-ntemp.patch.
89 - Open only once the denied.log and authfail.log when parsing more than one access.log.
90 - Use configurable paths for the files that used to reside in SYSCONFDIR.
91 - Add cmake configuration files.
92 - Compute the report date without resorting to the system command.
93 - Allow the use of spaces in the temporary directory.
94 - Fixed bug #2863485.
95 - Removed missplaced off_t as suggested in bug #2864425.
96 - Z files are uncompressed by zcat to avoid deleting the original log file.
97 - Compressed log files are uncompressed in /tmp/sarg to delete the file when the process completes.
98 - Fixed several memory leaks.
99
100 Mar-03-2008 Version 2.2.5
101 - new fix to the script insertion vulnerability via user-agent
102 report. javascript can still be executed via e.g. the "<BODY onload=function();>" scheme
103 Thanks to Alin Rad Pop, Security Specialist, Secunia, Denmark
104
105 Mar-02-2008 version 2.2.4
106 - security issues can be exploited to execute arbitrary code when sarg
107 is used with malicious input files.
108 The vulnerability within the processing of the useragent.log is rather
109 critical, as this can be exploited by passing a long user agent string
110 when browsing via a squid proxy. the manipulated GET request in the
111 access log would not be accepted by squid, so that file has to be specially crafted.
112 Thank you to L4teral l4teral@gmail.com
113
114 - French language fixed.
115 Thanks to Nicod <smlpnicod@orange.fr>
116 - Fixed: Segfault in x86_64
117
118 Jan-02-2007 version 2.2.3.1
119 - fixed -m option to show all the used tags
120 - date period invalid in download reports
121 - wrong results when userid contain '%20' character
122 - previous reports info wrong in index.html
123
124 Dez/23/2006 Version 2.2.3
125 - gd graph font change from FreeSans.ttf to DejaVuSans.ttf
126 - minor fixes when only denied records in access.log file.
127 - ulimit tag changed. If you run sarg with a low privilege user,
128 set to 'none' to disable ulimit.
129 Thanks to Jorge Morgado <jorge@morgado.ch>
130 - Russian_UTF-8 language fixed by Igor Ageikin <iageikin@lipen.elektra.ru>
131 - realtime_unauthenticated_records tag changed to show by default.
132 - chmod 755 in sarg-php due to errors in rpmbuild.
133 Thanks to Davide Madrisan <davide.madrisan@gmail.com>
134 - when the keyword "anonymous" is used in squidGuard.conf, Sarg does
135 not find the log-files anymore.
136 Thanks to Daniel Vogel <daniel_vogel@t-online.de>
137 - after reading the squidGuard configuration, the data read from the
138 usertab file was corrupted.
139 Thanks to Daniel Vogel <daniel_vogel@t-online.de>
140 - milisec values showed as bytes. Thanks to Carlos <ke09@terra.com.br>
141 - with squidGuard, you can log groups in only one log file.
142 We must parse each log files only one time.
143 Thanks to Christophe BADINA <christophe.badina@ch-moulins-yzeure.fr>
144 - error message(removetmp) Cannot open /tmp/sarg_tmp/../general
145 when sending report by email. Thanks to Peter Volkov <pva@gentoo.org>
146 - incorrect off_t size in printf. In FreeBSD off_t is 64bit long long,
147 but sarg always use %d to display off_t in log processing. This cause garbage
148 while reading log files on a freebsd, and possible crash.
149 Thanks to Alex Samorukov <samm@os2.kiev.ua>
150 - squid24 on/off tag added in sarg.conf to implement compatibility if using
151 squid <= 2.4 and using squid common logs.
152 Thanks to Valter Dal Bo <dalbo@tesco.it>
153 - exclude_hosts and some code errors fixed by
154 Alexander Kozlov <avk@post.eao.ru>. Many thanks.
155 - temporary file names changed to sarg-... to avoid conflicts
156 with usernames. Thanks to Ukrainian Elephant <superlamer@users.sourceforge.net>
157 - SARG support Japanese wordset but not support charset.
158 submited by anonymous at sourceforge.net Many thanks.
159 - support for utf-8 character set added by Peter Warasin
160 <peter-endian@users.sourceforge.net>. Many thanks.
161 - if all the data is at the hour each day, totaliza_day() treates it all as being
162 on the last day. This is observed for users which only download via a cron job
163 at the same time each day. Now the date and time will be
164 checked to see if changed.
165 Thanks to Ian Dall <iandall@users.sourceforge.net>
166 - greport_day() doesn't add the volume for the first hour of each day to the total.
167 Thanks to Ian Dall <iandall@users.sourceforge.net>
168 - Russian_koi8 and Russian_windows1251 languages updated by
169 Stas Degteff <stas.grumbler@gmail.com>. Many thanks
170 - realtime reporting is sorted by URL, and not by Date/Time.
171 Thanks tp Puce-Xcit <puce-xcit@users.sourceforge.net>
172
173 Aug/29/2006 Version 2.2.2
174 - malloc test implemented to avoid high-memory consuming.
175 Thanks to Rodrigo Rubira Branco <rodrigo@kernelhacking.com>
176 - Czech UTF8 language added by Josef Karliak <karliak@ajetaci.cz>
177 - fixed: parsed mismatch in realtime_access_log_lines and
178 access_log_lines tags.
179 Thanks to Kuznetsov Andrey <pm_kan@mail.ru>
180 - changed: realtime report sort changed by date/time
181 Thanks to Leonardo Buonsanti <leonardo.buonsanti@gmail.com>
182 - GD minor fixes added.
183 - bug fixed. *** buffer overflow detected ***: sarg terminated
184 in Fedora Core 5 when using -D FORTIFY_SOURCE in gcc or in kernel.
185
186 May/19/2006 Version 2.2.1
187 - iconv problems fixed in Freebsd and Slackware.
188 Thanks to Grigory Trenin <gtrenin@gmail.com>.
189 - new word added to languages: Topuser
190 - missing fclose fp-in in css.c
191 Thanks to Renato Botelho <rbgarga@gmail.com>.
192 - index.c fixed. Missing -r in reverse sort.
193 Thanks to Fernando Lemes da Silva <fernando@koho.com.br>
194 - wrong values in columns in-cache and out-cache.
195 Thanks to Hugo P S Costa <hpcosta@nutron.com.br>
196
197 May/17/2006 Version 2.2
198 - sarg ported to 64 bits.
199 Thanks to Antonio F. Zago <zagolinux@uol.com.br>
200 to share your Fedora Core 5 64 bits with me.
201 - fixed conflict types for 'saverecs2' in .configure
202 - fixed no index.html when lastlog tag is greather then 0,
203 caused by some debug messages.
204 - removed some development debug message
205 - user_limit_block script added to block users when limit exceeded
206 - fixed wrong sort in index.html
207 - removed '+' argument to sort utility.
208 Thanks to Julio Cesar Covolato <julio@psi.com.br>
209 - fixed "file too long" messages when using long_url
210 Thanks to Fabio Lo Votrico <fabio@link.it>
211 - fixes and improvements from Oleg <xsov@mail.ru> - Tanks.
212 . fprintf faster than sprintf+fputs (fixed in some places);
213 . strcpy+strcat is faster than sprintf (fixed in some places);
214 . unused variables removed;
215 . fixed headers look and feel (<th class="header3">);
216 . fixed word 'BYTES' localisation for datetime user report;
217 . fixed corrupted top header on index, denied, download and tt-reports;
218 . fixed "No" table header in topsites;
219 . fixed user report table look;
220 . fixed floating point exception on long url (added checks
221 for division by zero);
222 . fixed incorrect long url view;
223 . fixed too wide table entries in user report by adding url_limit
224 internal parameter in html.c (default 40);
225 . fixed charset.c file (was in MS-DOS text format);
226 . also included all previous fixes by other people (from
227 datafile.patch and lastlog.patch files).
228
229 Nov/29/2005 version 2.1
230 - index_tree tag added.
231 Look at TAG: index_tree in sarg.conf file
232 default is file - old format.
233 - realtime report added. sarg -r option
234 Look at these tags ion sarg.conf file:
235 TAG: realtime_refresh_time num sec
236 TAG: realtime_access_log_lines num
237 TAG: realtime_types: GET,PUT,CONNECT,ICP_QUERY,POST
238 TAG: realtime_unauthenticated_records: ignore|show
239 - garbage in topuser report with unitialized variable.
240 Thanks to Craig Brockmeier <craig@ppco.com>
241 - memory leaks caused by a wrong variable size
242 Fixed by Klaus Singvogel <kssingvo@suse.de>. Thanks.
243 - ignoring users with '.' in password file.
244 Thanks to Emerson Valdir Pellis <webmaster@marisol.com.br>
245 - error with "resolve_ip" with "user_authentication yes"
246 Fixed by Grigory Trenin <gtrenin@gmail.com>. Thanks.
247 - long url causing fault.
248 Thanks to Vassily Andin <vasya@avitalight.com>
249 - hanging on a log file containing space.
250 Thanks to Fabio Lo Votrico <fabio@link.it>
251 - bug fixed in squidguard report module
252 - squidguard_ignore_date on|off tag added to sarg.conf file
253 You can ignore the squidguard log record date if outisde of
254 date range in squid access.log file.
255 - alternate squidguard log added using -L option on sarg command line.
256 Thanks to Dave Karlson <dkarlson@r9esd.k12.or.us>
257 - fixed malloc withou free.
258 - datafile-url ip|name added to sarg.conf file - saves ip address or name
259 in url when using datafile tag. Thanks to Calvin Muller <calvin@siryn.co.za>
260 - wronk link point in Generated by sarg-2..
261 Thanks to Markus Hoffmann <ipcop@mh-lantech.de>
262 - Russian_UTF-8 language added by Alex Deiter <tiamat@komi.mts.ru>
263
264 Aug/04/2005 version 2.0.9
265 - dansguardian_report_limit missing in sarg.conf file.
266 - ntlm domain+user format added.
267 - index date sort fixed by Olivier JAVAUX. Thanks
268 - Improve broken record detection
269 Thanks to Artem Korneev <akorneev@intelsysus.com>
270 - sort open failed causing an empty topuser report
271 - sarg losslessly size optimized images
272 Thanks to Tonda M��ek <tonda.misek@post.cz> and Luigi Gangitano.
273 - sarg calling sort without quoting filenames
274 Thanks to Luigi Gangitano.
275 - download_report_limit tag added.
276 Thanks to Leonardo Rodrigues <leonardo@solutti.com.br>
277 - logo css class defined but never used.
278 Thanks to Roger Favero <favero@sparkenergy.it>
279
280 May/29/2005 version 2.0.8
281 - verdana.ttf font removed to avoid patent infringement issues.
282 Now sarg uses a GPL FreeSans font from http://savannah.gnu.org
283 - ISA report with wrong date in date/time report.
284 Thanks to Richard Berndt
285 - connect records ignored when using emulate_http_log on in squid.conf file.
286 Thanks to Dusan Woletz
287 - bug that prevents the correct usage of switch -d <date1-date2> when using
288 an "emulate_httpd_log on" logfile and some performance improvements
289 added.
290 Thanks to Filippo Grassilli
291 - Spanish language fixed by Jos� Luis Hern�ndez L�pez. Thanks.
292 - url variable size changed to acomodate big urls with coded symbols and some
293 minor changes in util.c file.
294 Thanks to Oleg <xsov@mail.ru>
295 - download suffixes improved by Oleg <xsov@mail.ru>. Thanks.
296 Now sarg uses these suffixes:
297 7z,ace,arj,avi,bat,bin,bz2,bzip,cab,com,cpio,dll,doc,dot,exe,gz,iso,
298 lha,lzh,mdb,mov,mp3,mpeg,mpg,mso,nrg,ogg,ppt,rar,rtf,shs,src,sys,tar,
299 tgz,vcd,vob,wma,wmv,zip
300
301 May/02/2005 version 2.0.7
302 - DansGuardian report added.
303 Thanks to Adolfas Kupliauskas for the access.log
304 - Slovak language added by Dusan Woletz
305 Thank you
306 - wrong usertab user on topuser report.
307 Thanks to Marcos Favoretto
308 - ntlm_user_format added to sarg.conf. Now you can choose the following formats
309 for the username on reports: user|domainname+user
310 Suggested by Roger Favero
311 - exclude_users ignored in some situations.
312 - Fixes by Sapon Oleg from Russia:
313 . there are two equal lines about Evren Yurtesen in CONTRIBUTORS file.
314 . Internationalisation of SARG user graph added, using iconv function, which
315 is presented only in Linux, so I add required #ifdef and other stuff to clean
316 compile code on other platforms.
317 . Fixed two issues:
318 - '?' symbol problems for apache and other cgi-supporting web server which
319 doesn't support '?' symbol in links (all of them interprete this like
320 parameter to cgi script);
321 - some good optimization to all three similar cicles in these files by
322 reducing false checks in 'if ...' strings.
323 . Fixes segfault, produced by inproper use of strncpy functions, look - strncpy
324 doesn't copy leading '\0' symbol!
325 . Just localisation support for repday report.
326 . Support usertab IP->USERNAME change in siteuser report.
327 . Just proper Russian koi8 localisation.
328
329 Apr/22/2005 version 2.0.6
330 - Greek language by Antonis Maglaras <vegos@magla.gr>
331 Thank you.
332 - time period added to -t option. Now you can use -t HH-HH, HH:MM-HH:MM
333 - support to isa proxy 2004 log added.
334 Thanks to William da Rocha Lima <wrochal@linuxit.com.br>
335 - French language fixed by Alexey Znamerovskiy <alexz@everys.com>
336 Thanks
337 - internal LC_ALL=C removed to avoid errors on Solaris.
338 Thanks to Hraska, Frantisek <frantisek.hraska@hupro.sk>
339 - non authenticated records removed from Topuser report.
340 Thanks to Brian <brian@reginachristianschool.org>
341 - Compilation error on FreeBSD > 5 - log.c:645: error: `RLIMIT_OFILE' undeclared
342 - Sarg abbreviation values improved.
343
344 Mar/21/2005 version 2.0.5
345 - fixed: some changes to avoid segmentation fault.
346 - fixed: some changes to avoid compilation errors on freeBSD.
347 - fixed: exclude_hosts not excluding correctly.
348
349 Feb/17/2005 version 2.0.4
350 - exclude hosts not excluding correctly.
351 Thanks to Oleg
352 - download report showing jpeg files.
353 - support to Microsoft isa proxy log files added.
354 Thanks to Trankov Vladislav <vtrankov@kb-obibank.ru>
355 - fixed: error when using relative paths in -o and -w options. Just absolute paths
356 can be used now.
357 Thanks to Andreas Grosse <andi@majestyk.de>
358 - fixed: segfault fix in vrfydir() in util.c
359 Prevent buffer overflow in subs(); replace one constant with sizeof() in my_lltoa().
360 vrfydir(): fix segfault if sub-directory "images" is not exists
361 function builddia() don't check the parameters. Result: segmentation fault in some cases.
362 Thanks to Stas Degteff stas_degteff@users.sourceforge.net for the fixes.
363 - fixed: wrond date period in squidguard_log when using european date format.
364 Thanks to Guenther Mair <gunnyst@users.sourceforge.net>
365 - ulimit tag added on sarg.conf to avoid "Too many open files" error.
366 Thanks to Paulo Pires <paulo.pires@vodafone.pt>
367
368
369 Feb/02/2005 verion 2.0.3
370 - squidguard parse logs method changed.
371 Thanks to Joao Mendes <jmendes@credibom.pt>
372 Thanks to Guenther Mair <gunnyst@users.sourceforge.net>
373 - wrong results in -v option.
374 - fixed: error when using -u (include user)
375 Thanks to Bochkarev Vladimi <bochkarev@expocentr.ru>
376 - export LC_ALL=C will be issued before sort to avoid high cpu usage
377
378 Nov/22/2004: version 2.0.2
379 - grepday with invalid font path.
380 Thanks to Marcelo Ricardo Leitner <mrl@conectiva.com.br>
381 - -v option added to display Sarg version on console
382 - Segmenation fault caused by an unclosed file.
383 Thanks to Pustovalov Leonid
384 - SquidGuard log formats added.
385 Thanks to Kolotov Alexandr
386 - time field added to topsites report
387 Thanks to Miles Roper <mroper@westcoastdhb.org.nz>
388 - fixtime function with wrong definition, changed to long long
389 Thanks to Valery from Russia
390 - Solaris 9 compiling error: error: conflicting types for 'my_mkdir'
391 Thanks to Brad Larden <Brad.Larden@alphawest.com.au>
392 - segfaults if the denied report is disabled in sarg.conf.
393 Thanks to Filippo Carletti <filippo.carletti@nethesis.it>
394 - reading performance improved by Francesco Perrillo <fperillo@totalfax.it>
395 Thanks
396 - Russian sarg-php translation added.
397 Thanks to Michael Stepanenko <mistic@ecolines.ru>
398
399
400 Oct/04/2004: version 2.0.1
401 - configure error with no gd installed.
402 - graph with no text when using --enable-sysconfdir
403 - graph day incorrect when using dd/mm/yy date format
404 - show_sarg_logo yes|no added
405 - site_user_time_date with wrong patch.
406 Thanks to Ricardo R. Hoffmann <hoffmann@uninet.com.br>
407
408
409 Sep/29/2004: - version 2.0
410 - Internal/External css implemented
411 - User authentication access (htaccess) implemented
412 - large file support added
413 - Report limits implemented
414 - Download report implemented
415 - Sarg logo by Osamu Matsuzaki <matsu_o@robata.org> added.
416 - Internal mkdir added to easy port to various plataform.
417 - long url now show only accessed site and module name.
418 - now you can add a user report url to a flat file to be blocked
419 by some Squid acl.
420 Request by Francesco Collini <collini@colliniconsulting.it>
421 - remove temporary files, if already exist, to avoid conflits with a
422 previous sarg process..
423 Thanks to Renato Leon <rl_sita@hotmail.com>
424 - squidGuard improved
425 - now only records with the same period from access.log
426 will be in squidGuard report.
427 - squidGuard limit report
428 - now you can save some urls in squidGuard db using
429 sarg-squidguard PHP utility.
430
431 bug fixed: fault caused by rewinddir after closedir.
432 Thanks to Lucas Bocchi <challado@ibocchi.com.br>
433 and to Freek
434 Fixed: - missing </body> tags in all HTML pages
435 - missing </html> tag in some HTML pages
436 - missing DOCTYPE in all HTML pages
437 - grammar in man page
438 - URL Links to SourceForge http://sarg.sourceforge.net/
439 Added: - Included more detailed information in man the page
440 Thanks to Billy Newsom of U.S.
441 To Do: - There are still major validation problems in the HTML generated
442
443
444 Apr/25/2003: - fixed: - link error to denied site in squidGuard report
445 - resolve name error in squidGuard report
446 - some fixes to HPUX. Thanks to Miles Roper <mroper@westcoastdhb.org.nz>
447 - index_sort_order tag don't work correctly.
448 - too many open files fixed. Thanks to Francesco Perrillo <fperillo@totalfax.it>
449 - Ukrainian_windows1251 included in sarg.conf file
450 - exclude_string don�t work correctly. Thanks to Modric Kristijan
451 <Kristijan.Modric@pliva.hr>
452
453 Mar/17/2003: - Release 1.4
454 Added: Now you can choose the fields that will be in User Reports.
455 Look at user_report_fields tag in sarg.conf file
456 Implementation requested by Daniel T. Joye <daniel@dragontail.com>
457
458 Added: Now sarg saves the processed log in a sarg format after parsing
459 the squid log file. This allow futures sarg reprocess and data
460 will be smaller than Squid the log files
461 Look at parsed_output_log directory and
462 parsed_output_log_compress tags in sarg.conf file
463 Implementation requested by Joe Cooper <joe@swelltech.com>.
464 Many thanks for the donation.
465
466 Added: Now sarg can display the report values in abbreviation format.
467 Look at displayed_values in sarg.conf
468
469 Added: Ukrainian_windows1251 language by Roman Vynar <rvynar@icqmail.com>
470 Thank you.
471
472 Added: Catalan language by Andreu Sanchez <tanis@lleida.com>
473 Thank you.
474
475 Nov/16/2002: - Fixed: squidGuard report fail with non authenticated users.
476 Thanks to Dan Ratzlaff <norb@norbysoft.com>
477 Fixed: Turkish language by Evren Yurtesen
478 <yurtesen@ispro.net.tr>. Thanks
479 Fixed: English language by Luigi Gangitano
480 <gangitano@lugroma3.org>. Thanks
481 Fixed: "CONNECT" average values are incorrectly calculated.
482 Arvids <arvids@vendomar.lv>. Thanks
483
484 Oct/15/2002: - Added: sarg man page created by Luigi Gangitano
485 <gangitano@lugroma3.org>
486 Added: Reading statistics, show_read_statistics tag
487 Added: Index sort order. See index_sort_order tag
488 Added: squidGuard report - squidguard_log_path tag
489 Added: show_sarg_info on report bottom optional - show_sarg_info tag
490 Changed: gzipped file will be decompressed using zcat
491 bzipped file will be decompressed using bzcat
492 Changed: new sort routine added.
493 Changed: strsep changed to getnumlist function by Robert Tiismus
494
495 Jun/02/2002: - Added: save the results in a flat file to use to populate some
496 database. Look at these tags in sarg.conf file:
497 TAG: datafile file
498 TAG: datafile_delimiter ";"
499 TAG: datafile_fields all
500 Added: logic to detect a broken record in access.log file
501 and ignore it.
502 Added: now you can select the records to be processed by
503 week and/or time using these tags in sarg.conf file:
504 TAG: weekdays
505 TAG: hours
506 Thanks to Robert Tiismus from Institute of Physics,
507 University of Tartu, Estonia.
508 <robert@fi.tartu.ee>, and for the repday.c
509 improvements.
510
511 Apr/03/2002: - bug fixed: cannot create temporary file when url contain '/'
512 and using long_url
513 Thanks to Enrico Sorge <enrico.sorge@activevr.it>
514
515 Dez/10/2001: - Added: sarg now shows statistics when readding the log file
516 if running with -x option
517
518 Dez/05/2001: - bug fixed: - loop proccess when using "tmp" chars in usernames
519 Thanks to Jasper vd Heijden <extern@midkemia.nl>
520 new tag added: show_successful_message yes
521 Show "Successful report generated on dir" message at end of process.
522 Requested by: Wendell Schubert <wendell@webeworld.com>
523 Mauricio Felizardo dos Santos <mfelizardo@ansett.com.br>
524 bug fixed: core dump when removing auth_failures report from
525 report_type tag.
526 Thanks to Leonardo Rodrigues <coelho@persogo.com.br>
527 bug fixed: core dump with a big number of users.
528 Thanks to Zverev, Alexandr V. <AVZverev@rtc.tnk.ru>
529 new tags added: topuser_fields
530 topuser_num
531 Now you can choose which fields must be in Topuser report and how many users.
532 Requested by Hidde Beumer <Hidde.Beumer@cmg.nl>
533 bug fiexed: auth_failures report missing
534 Thanks to Clary Harridge <clary@csee.uq.edu.au>
535 Polish language added by Wszebor Boksa <Wszebor_Boksa@koncept.pl>
536 Thank you.
537 Romanian language added by Adi Cretu <adi@usv.ro>
538 Thank you.
539
540 Jul/03/2001: - new report added: site/user/date/time
541 Now report_type tag has the following default setup:
542 report_type topsites sites_users date_time denied auth_failures site_user_date_time
543 - bug fixed - error when using squid-ntlm authenticator (domain\user)
544 Thanks to Jakob Curdes <jc@info-systems.de>
545 - ignoring changes in report_type tag
546 - Site&Users report with users shifted down one row.
547 Thanks to Jason Urkow <jaque@telusplanet.net>
548 - some temporary files not removed.
549 - site/user/date/time report without </table> and </html>
550
551 May/30/2001: - bug fixed: - user table garbage
552 - chmod 644 removed from makefile
553 - ignoring first user in usertable
554 - ignoring users names with dots (".")
555 Thanks to Daniel Malmgren <daniel@leeloo.lund.se>
556 - same values for connect and bytes fields in reports on Solaris 8
557 Thanks to Craig Brockmeier <craig@ppco.com>
558 New tag added: user_invalid_char "&/"
559 To avoid core dumps, records that contain invalid characters
560 in userid will be ignored by Sarg.
561 New tag added: privacy yes|no
562 privacy_string "***.***.***.***"
563 privacy_string_color blue
564 In some countries the sysadm cannot see the visited sites by a restrictive law.
565 Using privacy yes the visited url will be changed by privacy_string and
566 the link will be removed from reports.
567 Requested by Diaolin <diaolin@diaolin.com> (Natali Giuliano)
568 New tag added: include_users "user1:user2:...:usern"
569 Reports will be generated only for listed users.
570 exclude_string "string1:string2:...:stringn"
571 Records from access.log file that contain one of listed strings will be ignored.
572 Requested by Michael Koptyaev <mk@aney.ru>
573
574
575 Apr/02/2001: - implementation of --enable-bindir and --enable-sysconfdir in configure script.
576 Thanks to Sergei Dushenkov <dusha@dnttm.ru>
577 - bug fixed: getword excessive long string detection function fixed.
578 Thanks to Junghausz Norbert <nigga@nigga.hu>
579 - bug fixed: wrong charset for windows-1251 and koi8 Russian languages.
580 Thanks to Alexey Zhigayev <murphy@fio.samara.ru>
581 - bug fixed: - Help page (-h) is empty because at start (log.c) program doesn't
582 load definitions to text[][] array.
583 - Definitions for Russian language doesn't have last 2 lines.
584 - Definitions of Charset field for Russian language is not so correct.
585 Better is 'windows-1251' or 'koi8-r'
586 - I think in topuser.c the definition of wheader[] is too short for words
587 on some languages
588 - Initialization and use of variables TopuserSortField and
589 TopuserSortOrder is mismatch
590 Thanks to Alex Voronin <al_vg@mail.ru>
591 - bug fixed: core dump with big user table.
592 Thanks to Jorge Cuellar Martinez <jorge.cuellar@sat.gob.mx>
593 - Latvian languages by Juris Valdovskis <juris@auce.lv>
594 Thank you
595
596 Mar/22/2001: - Now te user can choose the language using the language TAG in /usr/local/sarg/sarg.conf file.
597 There is no more --enable-language in configure script.
598 - New report added: Autentication Failures
599 Requested by Sergei Dushenkov <dusha@dnttm.ru>
600 - NONE/400 (bad request) is excluded by default (/usr/local/sarg/exclude_codes)
601 - Now sarg support big numbers (64 bits) in any platform.
602 - Date/Time report now use bytes or elapsed time as specified in date_time_by tag in sarg.conf
603 Requested by Inters <inters@mailbox.riga.lv>
604 - bug fixed: sites&users report sorted on the User field rather than the Site field
605 Thanks to Simon Bryan <sbryan@olmc.nsw.edu.au>
606 - sites&users report was changed.
607 - Russian_windows125 language fixed.
608 Thanks to Dima I. Allaverdov <allav@ur.rags.ru> (rasa)
609 - bug fixed: getconf was catching a wrong value in replace_index tag
610 Thanks to vrush_22@softhome.net
611 - bug fixed: per_user_limit file with duplicate users.
612 - Russian languages fixed by Nikolai V. Ivanyushin <koko@infocenter.bryansk.ru>. Thank you.
613 - charset TAG added to sarg.conf file. The following charsets are avaiable:
614 Latin1 (West European), Latin2 (East European), Latin3 (South European)
615 Latin4 (North European), Cyrillic, Arabic, Greek, Hebrew
616 Latin5 (Turkish), Latin6 (Nordic)
617 Requested by Nikolai V. Ivanyushin <koko@infocenter.bryansk.ru>
618 - configure now accept only two options:
619 --enable-bindir - where sarg binary will be saved
620 --enable-sysconfdir - where the configuration directory is
621
622 Mar/09/2001: Sqmgrlog has gained a new name: SARG - Squid Analysis Report Generator.
623 Many people have asked me about why sqmgrlog. I really don�t know.
624 No inspiration I think.
625 SARG was suggested by an user from Philippines, but, I lost his email
626 and don�t remember his name.
627
628 Thank you anyway.
629
630
631
632 sqmgrlog ChangeLog
633
634 Feb/06/2001: Version 3.0 released:
635 - Denied report added.
636 Request by Jason Staudenmayer <JasonS@NJAQUARIUM.ORG>
637 - User table added. You can override your userid or IP Address with
638 a real user name.
639 TAG usertab added to sqmgrlog.conf
640 - Now you can have the long url in reports
641 TAG long_url added to sqmgrlog.conf
642 - Now you can choose the report types
643 TAG report_type added to sqmgrlog.conf
644 - sqmgrlog.conf file now will be in 644 mod.
645 Request by Michail Vidiassov <master@iaas.msu.ru>
646 - sqmgrlog coredumps if there is a very long line in the config file.
647 Thank you to Michail Vidiassov <master@iaas.msu.ru>
648 - Url parser changed to get connect records from a better way
649 Thanks to Sergey Erokhin <esl@vechnost.com>
650 - Michail Vidiassov <master@iaas.msu.ru> made gcc -Wall ... happy on FreeBSD 4.1
651 Thank you
652 - Russian_Koi8 language fixed by
653 Andrew Okhmat <andy@crgu.com>. Thank you.
654 Maks Nefedchenko <maks@viaduk.net>. Thank you.
655 - Russian and Bulgarian language fixed by
656 Nikolai V. Ivanyushin <koko@infocenter.bryansk.ru>
657
658
659
660 Nov/09/2000: Two patches form Brad Guillory <proxyadm@baileylink.net> added:
661 1. max-elapsed tag added to sqmgrlog.conf file:
662 # TAG: max_elapsed milliseconds
663 # If elapsed time is recorded in log is greater than max_elapsed use 0 for elapsed time.
664 # Use 0 for no checking
665 #
666 #max_elapsed 0
667 # 8 Hours
668 max_elapsed 28800000
669 2. day report (the one that looks like a calendar) changed:
670 Every minute that a request is logged your time is incremented by the smaller
671 of 1 minute or the total time for the requests.
672
673 Thank you Brad. Brad Guillory is the newest sqmgrlog contributor.
674
675 Changed: sort now compare according to arithmetic value.
676
677 Jul/11/2000: Dutch language fixed by Pieter Kooistra <pkooistra@hr.nl>
678 Thank you.
679 Changed: Russian_koi8 changed to Russian_Koi8.
680 Thank you to Eugene AKA Kevin Kevin <kevin@id.ru>
681 Slightly changed Czech language
682 Added: TAG: replace_index
683 Replace "index.html" in the main index file with this string
684 Vladimir Smelhaus <smelhaus@atlas.cz>
685 Bug fixed: For some reason, Squid occasionally logs a blank line. Running sqmgrlog
686 against a log containing a blank line causes sqmgrlog to take 99+% CPU
687 Thanks to Giese, Bill <bill@gieses.com>
688 Added: now every squid code that contain the MISS word will be counted as out cache.
689 Thanks to Kostya Panov <twin@beep.ru>
690
691 Jun/09/2000: Bug fixed: abnormal end if userid contain ';'
692 Thanks to Victor Feoktistov <feoktist@triniti.ru>
693 Japanese language fixed by
694 Akira Kitamura <click@anet.ne.jp> Takamatsu-City Kagawa Japan
695 Bug fixed: Wrong date when setting date_format u in sqmgrlog.conf file
696 Thanks to Dale Perkel <dale@think.co.za, Nuno Almeida <nalm@vanguarda.com>,
697 Marcio Rodrigo Bordignon <mrbordignon@uol.com.br>
698
699 Mar/15/2000: Japanese language added by
700 Akira Kitamura <click@anet.ne.jp> Takamatsu-City Kagawa Japan
701 Thank you.
702 Serbian language added by
703 Radovan Drobnjakovic <admin.rts@rts.co.yu>
704 Thank you.
705 Bug fixed: wrong sort field when lower case used in
706 sort tags.
707 Thaks to Scott Larsen <slarsen@cascorp.com>
708 and to WOLETZ, Dusan <woletz@globtel.sk>
709 Abuse report removed.
710 Changed: report1_sort_field TAG in sqmgrlog.conf
711 changed to topuser_sort_field
712 Changed: report2_sort_field TAG in sqmgrlog.conf
713 changed to user_sort_field
714 Added: topsites sort field options added:
715 # TAG: topsites_sort_order CONNECT|BYTES A|D
716 # Sort for topsites report, where A=Ascendent, D=Descendent
717 #
718 #topsite_sort_oder CONNECT D
719 Implementation requested by
720 Michael G. Koch <Michael.G.Koch@globalknowledge.de>
721
722 Feb/26/2000: Bulgarian-windows1251 language added by
723 Ivan Minchev <vanko@uni-svishtov.bg>.
724 Thank you.
725 French language updated by
726 Olivier Rousselot <olivier.rousselot@ssti.fr>
727 Thank you.
728
729 Feb/15/2000: SmarfFilter report added.
730 Implementation requested by Andrew Bradshaw <andyb@excite.co.uk>
731 Bug fixed: files created with 09Feb2000-09022000 instead 09Feb2000-09Feb2000
732 Thanks to Andy Parfenov <andy@nursat.net>
733 Changed: ignore records with HTTP/0.0 string.
734 Implementation requested by Bernd Kossmann <bko@shd.de>
735 Changed: some code added to ignore broken records in access.log file
736 Bug fixed: removing old file with lastlog dont work.
737 Thanks to Evren Yurtesen <yurtesen@ispro.net.tr>
738
739 Jan/20/2000: Indonesian language added by V Gatut Harijoso <gatut@student.unpar.ac.id>
740 Thank you.
741 Fixed: change in conf.h to compile on OpenBSD 2.6 system.
742 Thanks to Kenneth Ingham <ingham@i-pi.com>
743 Fixed: small bug, which fills the "periodo" with
744 "01Jan2000-20000101" instead of "01Jan2000-01Jan2000".
745 Thanks to Schlosser, Carsten ECOFIS <c.schlosser@ecofis.de>
746 Fixed: After calling system function malloc, variable excludecode
747 have some symbols inside (excludecode wasn't zeroed).
748 Thanks to Andrew Katkov <askat@crimea.net>
749
750 Dec/29/1999: Czech language added by Milos Prudek <prudek@nembv.cz>
751 Thank you.
752 Russian-windows1251 language added by Dima I. Allaverdov <allav@ur.rags.ru>
753 Thank you.
754 Changed: Russian language changed to Russian_koi8 language.
755 Bug fixed: Sites&Users report dont resolve ip address.
756 Thanks to Pavel Jezek <Pavel.Jezek@i.cz>
757
758 Nov/29/1999: Bug fixed: DENIED word translated to another language never printed.
759 Thanks to Rodolphe SIBERT <rsi@kyxar.fr>
760 New report added: Sites & Users
761 Implementation requested by Rodolphe SIBERT <rsi@kyxar.fr>
762 Added: The date format now also has the option "w" for week.
763 The report is then 1999.47-1999.47 for instance.
764 Implemented by Seth Mos <stimpy@stimpy.multiweb.nl>, thank you for the patch.
765 Dutch language added by Seth Mos <stimpy@stimpy.multiweb.nl>
766 Thank you.
767 Added: new tag on sqmgrlog.conf, named user_ip, for setting a system wire -p, use ip address
768 instead userid.
769 Implemented by Carlo Marcelo Arenas Belon <carenas@chasqui.lared.net.pe>
770 Thank you for the patch.
771 Added: new tag on sqmgrlog.conf, exclude_codes pointing to a file with codes to be
772 ignored by sqmgrlog. Eg.: NONE/400
773 Implementation asked by Doug Burks <DBurks@Augserv.com>
774
775 Sep/28/1999: Bug fixed: -split and -convert dont work with multiples -l options.
776 Thanks to G. Kelana Sudibyo" <kelana@inn.bppt.go.id>
777 Bug fixed: Bytes and Average corrupted in index.html after second execution.
778 Thanks to Rob Glasser <orso@onelist.com>
779
780 Sep/13/1999: Bug fixed: get wrong access.log file when using access_log in sqmgrlog.conf file.
781 Thanks to Michael G. Koch <Michael.G.Koch@globalknowledge.de>
782
783 Sep/10/1999: Spanish language added by Leonardo A. D'Angelo <ldangelo@san-cayetano.com>
784 Thank you.
785 New report added: topsites. This report show the top n sites accessed.
786 You can set the top num sites in topuser_num tag in sqmgrlog.conf file.
787 Bug fixed: wrong userid when using Samba authenticator.
788 Thanks to klaubert@bcb.gov.br (Klaubert Herr da Silveira)
789 Changed: -v option removed. No more suport for Squid-1 log format.
790 Thanks to Nik Oxley <nik.oxley@iholland.co.uk>
791
792 Aug/18/1999: New fields added to sqmgrlog.conf:
793 - lastlog n
794 With lastlog you can tell to sqmgrlog to remove old reports files.
795 Usage: lastlog 0 - no remove nothing
796 lastlog 10 - maintain only the last 10 reports
797 Implementation requested by Evren Yurtesen <yurtesen@ispro.net.tr>
798 Thank you for your help.
799 - remove_temp_files yes|no
800 Remove temporary files: geral, usuarios, top, periodo from root report directory.
801 Impementation requested by Fred Pacquier <fredp@dial.oleane.com>
802 - index yes|no|only
803 Usage: index yes - will genereate the main index.html in reports
804 index no - dont generate the main index.html in reports
805 index only - generate only the main index.html in reports
806 Implementation asked by Fred Pacquier <fredp@dial.oleane.com>
807 - overwrite_report yes|no
808 If yes and the report already exist for that date, the reports will be overwrited.
809 If no and the report alread exist, that report will be renamed to filename.n, filename.n+1
810 Implementation requested by Eugeny Kuzakov <CoreDumped@CoreDumped.null.ru>
811 - records_without_userid ignore|ip|everybody
812 What can I do with records without user id (no authentication) in access.log file ?
813 ignore - This record will be ignored.
814 ip - Use ip address instead. (default)
815 everybody - Use "everybody" instead.
816 - use_comma
817 Use comma instead point in reports.
818 Eg.: use_comma yes => 23,450,110
819 use_comma no => 23.450.110
820 - mail_utility mail|mailx
821 Which mail command must I use to send reports ?
822
823 Added: now every squid code that contain the MISS word will be counted as out cache.
824 Implementation requested by Eugeny Kuzakov <CoreDumped@CoreDumped.null.ru>
825 Thank you for your help and for share your FreeBSD with me.
826 Changed: the field url was changed to 8192 bytes to suport big urls.
827 Thanks to Eugeny Kuzakov <CoreDumped@CoreDumped.null.ru>
828 Changed: the header "TIME SPENT" changed to "USED TIME" in topuser report.
829 Changed: no more nouser will be in reports but IP address instead.
830 Changed: no more squid 1 log format supported.
831 Bug fixed: wrong reports when using common log format (emulate_http on).
832 Thanks to Patrick LIN <patrickl@cst.ca>
833
834 Aug/06/1999: French language added by Fred Pacquier <fredp@dial.oleane.com>
835 Thank you
836 Bug fixed: negative percentage in IN-CACHE-OUT.
837 Thanks to brad@baileylink.net
838 Bug fixed: wrong directory name created when using -g e and -d
839 Thanks to Fred Pacquier <fredp@dial.oleane.com>
840 Changed: atol use to get total bytes changed to atoll.
841 Thanks to brad@baileylink.net for the patch.
842 Changed: now use ',' as separator instead '.' when using US date (-g u)
843 Implementations requested by brad@baileylink.net
844 Changed: added -convert and -split to usage help (-h)
845 new messages added to easy translation.
846 Implementations requested by Fred Pacquier <fredp@dial.oleane.com>
847
848 Jul/29/1999: Changed: convert userid to lowercase to disable username case-sensitivity
849 when using auth_smb.
850 Implementations requested by Doug Burks <DBurks@Augserv.com>
851 Changed: the sqmgrlog.conf now installs into /usr/local/etc
852 Implementations requested by Daniel L Sjvsvdrd <daniel.sjosvard@paals.se>
853
854 Jul/06/1999: Y2K bug fixes.
855 Thanks to askat@crimea.net (JSC CRELCOM)
856 Bug fixed: special character in userid cause core dump.
857 Thanks to Rick_Barzilli@xircom.com
858 Splitlog function added: -split will split the log file by date in -d parameter.
859 Eg.: sqmgrlog -split -d 01/07/1999-02/07/1999 [-convert] [-g e]
860
861 Jun/14/1999: German language added by Andreas Piesk <a.piesk@gmx.net>
862 Thank you
863 Some minor changes made by Andreas Piesk, thanks for the patches.
864
865 Jun/09/1999: Bug fixed: to send reports via mail, use mail instead mailx in FreeBSD.
866 Thanks to Evren Yurtesen <yurtesen@ispro.net.tr> to share your FreeBSD with me.
867 Bug fixed: wrong userid when using smb_auth autenticator.
868 The userid will be changed from NTDOMAIN\username to NTDOMAIN.username.
869 Thanks to Jouko Ylikulju <Jouko.Ylikulju@pkcables.com>
870
871 Jun/04/1999: Y2K compliance implemented.
872 Bug fixed: wrong report created when using common log format.
873 Thanks to Carlos Santillana <Carlos@los-fresnos-cons.k12.tx.us>
874 Bug fixed: wrong fopen with "rt", must be "r".
875 Thanks to Wayne Bastow <wbastow@ccahs.health.nsw.gov.au>
876
877 May/31/1999: Turkish language added by Evren Yurtesen <yurtesen@ispro.net.tr>
878 Thank you
879 Bug fixed: users in exclude_users file were not removed from reports.
880 Thanks to Arthur S. Petrossian <arthur@ipia.sci.am>
881 Thanks to Evren Yurtesen <yurtesen@ispro.net.tr>
882 Bug fixed: core dump when using output_email parm and mailx not installed.
883 Thanks to Evren Yurtesen <yurtesen@ispro.net.tr>
884 Thanks to Evren Yurtesen <yurtesen@ispro.net.tr> to share your FreeBSD with me.
885
886 May/20/1999: New report field added: IN CACHE and OUT CACHE.
887 This field show how many bytes (percent) was retrieved from the cache.
888 Implementations requested by Arthur S. Petrossian <arthur@ipia.sci.am>
889
890 May/14/1999: Bug fixed. Abnormal End when using -i option
891 Thanks to Carlos Canau <canau@ionia.EUnet.pt> for the patch.
892 Bug fixed. Sqmgrlog freeze if some records are broken in access.log file.
893 Thanks to Rick_Barzilli@xircom.com
894 Bugfix that prevents sqmgrlog from freezing up if a log file has "holes" (sequences of zeros)
895 (caused by filesystem crash).
896 Thanks to drdivano@mail.axon.ru for the patch.
897
898 Apr/14/1999: Per user limit added.
899 If the user exceed the limit, userid will be saved in a file that can
900 be used in squid acl.
901 Field per_user_limit added to sqmgrlog.conf: per_user_limit file limit
902 file : where userid must be saved
903 limit: in MB Eg. 40 will limit in 40 MB.
904 Implementation requested by Csaba Kabai <ckabai@icnpharm.com>
905
906 Mar/11/1999: Field exclude_users now accept indexonly to create only index.html report.
907 Implementation requested by Hanni Daniel <daniel.haenni@softlab.ch>
908 Bug fixed for FreeBSD. Missing \n on topuser.
909 Thanks to Andrew <andrew@extrim.ru> for share your FreeBSD-3.1
910 Some minors fixes and changes in html layout.
911 Thanks to Andrew Barnes <a.barnes@kaldor.com.au>
912
913 Mar/03/1999: Bug fixed. Wrong href link if userid in format userid.name...
914 Thanks to Manon Goo <manon@manon.de>
915 Some changes on variable translations.
916 Thanks to Matteo Colombo <matteo@calcol.it>
917 Russian language (KOI8-R) added by Palamarchuk Eugen <eugen@cit.od.ukrtel.net>
918 Thank you
919 Field exclude_users added to sqmgrlog.conf.
920 Users within the file will be excluded from reports.
921 Implementation requested by Hanni Daniel <daniel.haenni@softlab.ch>
922
923 Feb/26/1999: New date/time report added.
924 Look at http://www.orso.x5.net/squid-reports/1999Feb01-1999Feb08/duser24.html
925 -d option now accept from-until (dd/mm/yy-dd/mm/yy) dates.
926 Requested by Eric V. Pino <ericvp@roadrunner.com.ph>
927
928 Feb/10/1999: Italian language added by Matteo Colombo <matteo@calcol.it>
929 Thank you.
930 -convert option added. Convert the access.log file to a legible date
931 and time format. May be used with -l and/or -g options.
932
933 Feb/05/1999: Field date_format added to sqmgrlog.conf.
934 date_format u: reports with USA format mm/dd/yy
935 date_format e: reports with Europe format dd/mm/yy
936 Implementation requested by Matteo Colombo <matteo@calcol.it>
937 Bug fixed: temporary file cannot be created if not run in root.
938 Thanks to Carlos Canau <canau@ionia.EUnet.pt> for the patch.
939 Changes from Tony Lorime <alorimes@csc.com>: use atoll instead atol in Solaris
940 : ignore .htaccess when selecting files
941 Thank you.
942
943 Dec/21/1998: -b option added. Generate useragent report.
944 field useragent_log added to sqmgrlog.conf
945 Implementation requested by Alp <support@x5.net>
946 -j option added. Generate a kind of abuse report.
947 Implementation requested by Alp <support@x5.net>
948 To use this feature you must apply a patch (http://www.orso.x5.net/patches) on Squid.
949 -c exclude option improved. Now you can exclude B classes
950 Implementation requested by Yin Jun <yinj@mars.ahu.edu.cn>
951 Bug fixed for Solaris. Must user -lsocket and -lnsl to resolve names.
952 Thanks to Ryan Roehrich <ryanscott@mindless.com>
953
954 Dec/11/1998: Bug fixed for long long int in Alpha Digital
955 Thanks to Ilya V. Komarov <mur@mur.lynx.ru> for share your Digital server.
956
957 Dec/10/1998: Version 2.2 released
958 -n option added. Resolve domain name for reports with IP Address.
959 Field resolve_ip added to sqmgrlog.conf
960 Sort report by header fields implemented
961 Fields report1_sort_field and report2_sort_field added to sqmgrlog.conf
962 -f option added. Allow config file override
963 Exclude hosts implemented
964 Field exclude_hosts file added to sqmgrlog.conf. Exclude ips, names, subnets
965 from reports.
966 Implementations requested by Arthur S. Petrossian <arthur@ipia.sci.am>
967
968 Dec/07/1998: Version 2.1 released
969 sqmgrlog now can read log file in gzip or compress format.
970 Implementation requested by Alp <support@x5.net>
971
972 Nov/09/1998: Version 2.0 released
973 -p option added. Allow redirect output report to email address.
974 sqmgrlog.conf with colors, headers, title, font size, backgound color, text color,
975 background image, font face, etc... added.
976 Reports will be generated only for users in passwd file (tag password in sqmgrlog.conf).
977 Many changes in html output layout.
978 Thanks to Alp <support@x5.net>
979
980 Oct/19/1998: Bug fixed by Maxim Berlin <mak@unesco.mitht.rssi.ru> for long long int in FreeBsd.
981 Many thanks.
982 Thanks to Ilya V. Komarov <mur@mur.lynx.ru> to share your FreeBSD 3.0 server to help on fixing.
983
984 Sep/28/1998: Bug fixed for log with emulate http on (Squid 1.2.beta)
985 Thanks to Alp <support@x5.net>
986 -p option added. Generated reports with IP Address insted Userid.
987 Use this option if you do not use Proxy authentication on Squid.
988 Implementation requested by Szalma Zoltan <zszalma@file.matav.hu>
989
990 Aug/11/1998: Bug fixed for memory slack.
991 Thanks to kevin@mcpeake.net
992 Jose Luiz <jluiz@projesom.com.br>
993 Patrick Darden <darden@server2.armc.org>
994 Steve Chan <Steve.Chan@lucasfilm.com>
995
996 Jul/07/1998: Spent time added for native Squid log format (emulate_httpd_log off).
997 Connect added.
998 Layout change in html reports.
999
1000 Jun/02/1998: -o option added. Allow output dir override.
1001 Implemented index.html on root output dir.
1002 Implemented auto rename if output dir already exist.
1003 bug fixed, link error if user change output dir in conf.h
1004 Thanks to Alp <cybergulf@cybergulf.net>
1005
1006 May/28/1998: -v option added. Allow Squid version override.
1007
1008 May/28/1998: Bug fixed in common log format
1009 Thanks to Tony Lorimer <tlorimer@health.csc.com.au>
1010 Alp <cybergulf@cybergulf.net>
1011 Carlos Santillana <carlos@los-fresnos-cons.k12.tx.us
1012
1013 May/21/1998: Implemented Squid version verification because common log
1014 from 1.1 differ from 1.2 version.
1015 -i option added (report by user and IP address)
1016
1017 May/19/1998: configure script implemented.
1018
1019 May/18/1998: Implemented auto log format recognize (Squid and Common log)
1020
1021 Apr/15/1998: bug fixed. Some garbage on period.
1022 Thanks to Lee Shakespeare <lee@webfoundry.co.uk>
1023
1024 Apr/15/1998: -z option added (debug)
1025
1026 Apr/07/1998: top.html changed to index.html
1027
1028 Mar/31/1998: index.html added
1029
1030 Mar/25/1998: sqmgrlog was created