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