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