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