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