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