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