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