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