]> git.ipfire.org Git - thirdparty/sarg.git/log
thirdparty/sarg.git
13 years agoThe official version 2.3.1 v2.3.1
Frédéric Marchal [Sat, 18 Sep 2010 12:43:39 +0000 (12:43 +0000)] 
The official version 2.3.1

13 years agoFix uninitialized variable when double checking the top users
Frédéric Marchal [Sat, 18 Sep 2010 05:06:32 +0000 (05:06 +0000)] 
Fix uninitialized variable when double checking the top users

The configuration option --enable-doublecheck was compiling in an
invalid piece of code that could potentially use an uninitialized
variable when building the list of the top users.

13 years agoChange version number to 2.3.1.
Frédéric Marchal [Sat, 18 Sep 2010 04:44:00 +0000 (04:44 +0000)] 
Change version number to 2.3.1.

13 years agoAdd the new messages for translation in the po files.
Frédéric Marchal [Sat, 18 Sep 2010 04:43:43 +0000 (04:43 +0000)] 
Add the new messages for translation in the po files.

13 years agoEscape the LDAP search string instead of truncating it.
Frédéric Marchal [Wed, 15 Sep 2010 06:16:15 +0000 (06:16 +0000)] 
Escape the LDAP search string instead of truncating it.

A few characters must be escaped in a LDAP search string. Sarg used to
truncate the user login name at the first "dubious" character found in
the string and the list of "dubious" character was much longer than
necessary. Instead of truncating the user login, this patch escape the
characters.

13 years agoReport an error if the tail command cannot read the last lines of the log file when...
Frédéric Marchal [Thu, 2 Sep 2010 07:14:14 +0000 (07:14 +0000)] 
Report an error if the tail command cannot read the last lines of the log file when creating a realtime report.
Surrond the log file name with quotes in the command that read the trailing lines of the log file when creating a realtime report.

13 years agoUpdate the po files
Frédéric Marchal [Fri, 27 Aug 2010 13:17:45 +0000 (13:17 +0000)] 
Update the po files

13 years agoInitialize the variables that are used to build the date range when command line...
Frédéric Marchal [Fri, 27 Aug 2010 13:16:43 +0000 (13:16 +0000)] 
Initialize the variables that are used to build the date range when command line option -d is used.
It should prevent a segfault if the complex nesting of "if" fails to set a variable.
Thanks to ItalianPenguin for reporting this bug.

13 years agoUpdate the ChangeLog.
Frédéric Marchal [Thu, 26 Aug 2010 05:33:19 +0000 (05:33 +0000)] 
Update the ChangeLog.

13 years agoReport an error if the requested date range is invalid. Previous versions would silen...
Frédéric Marchal [Wed, 25 Aug 2010 05:52:25 +0000 (05:52 +0000)] 
Report an error if the requested date range is invalid. Previous versions would silently ignore the date range and take whatever was in the log.

13 years agoDon't delete the temporary directory after sending the e-mail as it is deleted later...
Frédéric Marchal [Tue, 17 Aug 2010 09:00:43 +0000 (09:00 +0000)] 
Don't delete the temporary directory after sending the e-mail as it is deleted later by the program and it prevent the purging routine from working properly.

13 years agoRemove the quotes around the MailUtility command to allow the user to call a script...
Frédéric Marchal [Tue, 17 Aug 2010 09:00:22 +0000 (09:00 +0000)] 
Remove the quotes around the MailUtility command to allow the user to call a script or to add more options to the command.
The description of the mail_utility configuration option has been amended accordingly.

13 years agoFix the reading of sarg-general when e-mailing the report.
Frédéric Marchal [Tue, 17 Aug 2010 08:59:50 +0000 (08:59 +0000)] 
Fix the reading of sarg-general when e-mailing the report.

13 years agoDon't use string comparison to sort the top users, top sites and user lists.
Frédéric Marchal [Sun, 15 Aug 2010 17:49:47 +0000 (17:49 +0000)] 
Don't use string comparison to sort the top users, top sites and user lists.
Allow for the translation of the sort criterion and order of the top users, top sites and user lists.

13 years agoThe unauthenticated users were always ignored in the realtime report.
Frédéric Marchal [Sun, 15 Aug 2010 17:48:50 +0000 (17:48 +0000)] 
The unauthenticated users were always ignored in the realtime report.

13 years agoAdd a configuration option to report any error in the sum of the in-cache and out...
Frédéric Marchal [Tue, 3 Aug 2010 18:06:42 +0000 (18:06 +0000)] 
Add a configuration option to report any error in the sum of the in-cache and out-cache columns of the reports. The sum must be 100.00%.
The total column is also checked for any discrepency.
The check is activated at compile time as it will likely be used by me alone.

13 years agoDon't save the unnecessary columns in the intermediary file that is sorted to produce...
Frédéric Marchal [Mon, 26 Jul 2010 14:38:42 +0000 (14:38 +0000)] 
Don't save the unnecessary columns in the intermediary file that is sorted to produce the report with the IP addresses from which the user connected to the internet. It should reduce the required amount of free disk space to run sarg.

13 years agoFix the reporting of the IP addresses from which the user connected to the internet...
Frédéric Marchal [Mon, 26 Jul 2010 14:38:27 +0000 (14:38 +0000)] 
Fix the reporting of the IP addresses from which the user connected to the internet. The date column was limited to 8 characters which is too short for a date formated as dd/mm/yyyy.

13 years agoThe two sarg.conf options "hours" and "weekdays" lacked a return statement after...
Frédéric Marchal [Tue, 20 Jul 2010 05:00:56 +0000 (05:00 +0000)] 
The two sarg.conf options "hours" and "weekdays" lacked a return statement after processing the option. That produced an error stating that the options were invalid but was not preventing sarg from working just fine.

13 years agoAdd the new messages to the PO files.
Frédéric Marchal [Mon, 19 Jul 2010 07:20:31 +0000 (07:20 +0000)] 
Add the new messages to the PO files.

13 years agoAdd the doxygen documentation of the denied.c file.
Frédéric Marchal [Mon, 19 Jul 2010 07:19:18 +0000 (07:19 +0000)] 
Add the doxygen documentation of the denied.c file.

13 years agoChange the release date.
Frédéric Marchal [Mon, 19 Jul 2010 07:18:55 +0000 (07:18 +0000)] 
Change the release date.

13 years agoShow how many denied accesses have been ignored from the denied report.
Frédéric Marchal [Mon, 19 Jul 2010 07:18:29 +0000 (07:18 +0000)] 
Show how many denied accesses have been ignored from the denied report.

13 years agoReport a warning if the temporary file cannot be deleted.
Frédéric Marchal [Mon, 19 Jul 2010 07:18:08 +0000 (07:18 +0000)] 
Report a warning if the temporary file cannot be deleted.

13 years agoPut a HTML link on the user's label between the page of the denied accesses and the...
Frédéric Marchal [Mon, 19 Jul 2010 07:17:43 +0000 (07:17 +0000)] 
Put a HTML link on the user's label between the page of the denied accesses and the user page.

13 years agoCompletly disable the progress indicator when reading a compressed log file.
Frédéric Marchal [Wed, 14 Jul 2010 19:43:13 +0000 (19:43 +0000)] 
Completly disable the progress indicator when reading a compressed log file.

13 years agoUse the directory configured by the user for the files to put in --localedir.
Frédéric Marchal [Wed, 14 Jul 2010 19:13:56 +0000 (19:13 +0000)] 
Use the directory configured by the user for the files to put in --localedir.

13 years agoReport an error if the output directory is a subdirectory of the temporary directory.
Frédéric Marchal [Wed, 14 Jul 2010 18:15:07 +0000 (18:15 +0000)] 
Report an error if the output directory is a subdirectory of the temporary directory.

13 years agoBe more consistent with the use of the temporary directory (i.e. always use /tmp...
Frédéric Marchal [Wed, 14 Jul 2010 18:14:54 +0000 (18:14 +0000)] 
Be more consistent with the use of the temporary directory (i.e. always use /tmp/sarg instead of a mix of /tmp and /tmp/sarg).

13 years agoReport the correct file name in the error message.
Frédéric Marchal [Wed, 14 Jul 2010 18:14:04 +0000 (18:14 +0000)] 
Report the correct file name in the error message.

13 years agoDon't abort if "onload" or "script" is found in the user agent string.
Frédéric Marchal [Wed, 14 Jul 2010 05:48:00 +0000 (05:48 +0000)] 
Don't abort if "onload" or "script" is found in the user agent string.

13 years agoUpdate to version 2.3
Frédéric Marchal [Tue, 13 Jul 2010 17:37:39 +0000 (17:37 +0000)] 
Update to version 2.3

13 years agoSet the right date in the ChangeLog.
Frédéric Marchal [Mon, 12 Jul 2010 07:25:22 +0000 (07:25 +0000)] 
Set the right date in the ChangeLog.
Don't set the final 2.3.1 version right now.

13 years agoRemove the distinct printf for the alpha architecture
Frédéric Marchal [Mon, 12 Jul 2010 07:13:41 +0000 (07:13 +0000)] 
Remove the distinct printf for the alpha architecture

13 years agoCreate a branch for the fixes in v2.3.
Frédéric Marchal [Mon, 12 Jul 2010 07:04:25 +0000 (07:04 +0000)] 
Create a branch for the fixes in v2.3.

13 years agoTag the official 2.3 version.
Frédéric Marchal [Wed, 23 Jun 2010 05:30:54 +0000 (05:30 +0000)] 
Tag the official 2.3 version.

13 years agoReplace redirector_ignore_date by redirector_filter_out_date that behave as the name...
Frédéric Marchal [Thu, 10 Jun 2010 08:49:48 +0000 (08:49 +0000)] 
Replace redirector_ignore_date by redirector_filter_out_date that behave as the name implies.
Replace dansguardian_ignore_date by dansguardian_filter_out_date that behave as the name implies.
Initialize the variables used when reading a redirector log with a custom format.

13 years agoPlot the bytes graphs with the same scale as the text report
Frédéric Marchal [Wed, 9 Jun 2010 08:56:36 +0000 (08:56 +0000)] 
Plot the bytes graphs with the same scale as the text report

13 years agoFix another msvcrt printf oddity
Frédéric Marchal [Wed, 9 Jun 2010 08:10:56 +0000 (08:10 +0000)] 
Fix another msvcrt printf oddity

13 years agoRound the Y scale on the elapsed time graph
Frédéric Marchal [Wed, 9 Jun 2010 07:24:53 +0000 (07:24 +0000)] 
Round the Y scale on the elapsed time graph

13 years agoFix HTML errors in output reports
Frédéric Marchal [Wed, 9 Jun 2010 06:05:47 +0000 (06:05 +0000)] 
Fix HTML errors in output reports

13 years agoAccept unlimited URL length in the redirector log (thanks to Joseph L Casale).
Frédéric Marchal [Wed, 9 Jun 2010 05:39:54 +0000 (05:39 +0000)] 
Accept unlimited URL length in the redirector log (thanks to Joseph L Casale).

13 years agoRemove the test on the string length for the date elements processed as integers...
Frédéric Marchal [Tue, 8 Jun 2010 18:45:18 +0000 (18:45 +0000)] 
Remove the test on the string length for the date elements processed as integers (thanks to Joseph L. Casale)

13 years agoWork around the lack of %lld in msvcrt
Frédéric Marchal [Wed, 2 Jun 2010 09:06:11 +0000 (09:06 +0000)] 
Work around the lack of %lld in msvcrt

13 years agoUse portable long long format specifiers.
Frédéric Marchal [Tue, 1 Jun 2010 14:42:03 +0000 (14:42 +0000)] 
Use portable long long format specifiers.
Use correct char type with iconv

13 years agoInitialize string memory
Frédéric Marchal [Tue, 1 Jun 2010 11:37:35 +0000 (11:37 +0000)] 
Initialize string memory

13 years agoAdd Afrikaans translation for old versions thank to Gert Brits
Frédéric Marchal [Tue, 1 Jun 2010 10:43:59 +0000 (10:43 +0000)] 
Add Afrikaans translation for old versions thank to Gert Brits

13 years agoFix IP resolution on windows.
Frédéric Marchal [Tue, 1 Jun 2010 09:14:06 +0000 (09:14 +0000)] 
Fix IP resolution on windows.
Increase buffer size for excluded codes.

13 years agoAdd simplified Chinese translation
Frédéric Marchal [Sat, 29 May 2010 05:26:54 +0000 (05:26 +0000)] 
Add simplified Chinese translation

13 years agoUpdate the po files
Frédéric Marchal [Fri, 28 May 2010 06:58:56 +0000 (06:58 +0000)] 
Update the po files

13 years agoRemove the note requiring the log files to be listed in chronological order as it...
Frédéric Marchal [Thu, 27 May 2010 18:57:16 +0000 (18:57 +0000)] 
Remove the note requiring the log files to be listed in chronological order as it isn't true

13 years agoAccept the input files on the command line without the -l option
Frédéric Marchal [Thu, 27 May 2010 18:51:45 +0000 (18:51 +0000)] 
Accept the input files on the command line without the -l option

13 years agoConvert or split all the input logs
Frédéric Marchal [Thu, 27 May 2010 18:20:14 +0000 (18:20 +0000)] 
Convert or split all the input logs

13 years agoAdd an option to make sarg generates the css template
Frédéric Marchal [Thu, 27 May 2010 18:04:45 +0000 (18:04 +0000)] 
Add an option to make sarg generates the css template

13 years agoAccept unlimited line length when converting or splitting the input log.
Frédéric Marchal [Thu, 27 May 2010 12:49:25 +0000 (12:49 +0000)] 
Accept unlimited line length when converting or splitting the input log.
Use long options on the command line.

13 years agoRemove duplicate attribute in css
Frédéric Marchal [Thu, 27 May 2010 10:41:20 +0000 (10:41 +0000)] 
Remove duplicate attribute in css

13 years agoApply patch from Maxim Britov to fix the css
Frédéric Marchal [Thu, 27 May 2010 10:37:58 +0000 (10:37 +0000)] 
Apply patch from Maxim Britov to fix the css

13 years agoChange the build date and update the date_time_by comment in sarg.conf
Frédéric Marchal [Fri, 21 May 2010 19:38:29 +0000 (19:38 +0000)] 
Change the build date and update the date_time_by comment in sarg.conf

13 years agoUpdate the messages
Frédéric Marchal [Fri, 21 May 2010 07:36:58 +0000 (07:36 +0000)] 
Update the messages

13 years agoOutput both graphs in a HTML file to display the two of them at the same time
Frédéric Marchal [Thu, 20 May 2010 20:16:35 +0000 (20:16 +0000)] 
Output both graphs in a HTML file to display the two of them at the same time

13 years agoRevert previous change as the percent character must remain unchanged in the url...
Frédéric Marchal [Thu, 20 May 2010 19:36:49 +0000 (19:36 +0000)] 
Revert previous change as the percent character must remain unchanged in the url read from the log file

13 years agoEscape any percent character in the URL
Frédéric Marchal [Thu, 20 May 2010 17:54:55 +0000 (17:54 +0000)] 
Escape any percent character in the URL

13 years agoUpdate default value and comment for date_time_by in sarg.conf
Frédéric Marchal [Thu, 20 May 2010 07:18:00 +0000 (07:18 +0000)] 
Update default value and comment for date_time_by in sarg.conf

13 years agoFix the date format in the redirector report
Frédéric Marchal [Thu, 20 May 2010 07:15:00 +0000 (07:15 +0000)] 
Fix the date format in the redirector report

13 years agoRemove the unnecessary constants in the graph creation
Frédéric Marchal [Wed, 19 May 2010 19:36:01 +0000 (19:36 +0000)] 
Remove the unnecessary constants in the graph creation

13 years agoFix a regression to accept any directory name length in the index
Frédéric Marchal [Wed, 19 May 2010 19:18:03 +0000 (19:18 +0000)] 
Fix a regression to accept any directory name length in the index

13 years agoChange default graph type to byte instead of elap
Frédéric Marchal [Wed, 19 May 2010 19:08:51 +0000 (19:08 +0000)] 
Change default graph type to byte instead of elap

13 years agoOutput both date/time textual reports.
Frédéric Marchal [Tue, 18 May 2010 20:46:56 +0000 (20:46 +0000)] 
Output both date/time textual reports.
Sarg log file stores the date as dd/mm/yyyy and doesn't change it depending on the current date representation selected in sarg.conf.
Intermediary log files store the date as dd/mm/yyyy irrespective of the current date representation in sarg.conf.

13 years agoUse constants in the plotting of the logarithmic scale
Frédéric Marchal [Tue, 18 May 2010 08:33:14 +0000 (08:33 +0000)] 
Use constants in the plotting of the logarithmic scale

13 years agoFix the scale of the Y axis on the graph
Frédéric Marchal [Tue, 18 May 2010 07:58:09 +0000 (07:58 +0000)] 
Fix the scale of the Y axis on the graph

13 years agoFix the creation of a report for only one user with command line option -u
Frédéric Marchal [Tue, 18 May 2010 07:12:48 +0000 (07:12 +0000)] 
Fix the creation of a report for only one user with command line option -u

13 years agoFix the graph plotting to use a computed logarithmic scale when plotting bytes.
Frédéric Marchal [Mon, 17 May 2010 21:02:54 +0000 (21:02 +0000)] 
Fix the graph plotting to use a computed logarithmic scale when plotting bytes.
Show the time when plotting the elapsed time.

13 years agoUse a boolean instead of a string compare
Frédéric Marchal [Wed, 12 May 2010 21:35:35 +0000 (21:35 +0000)] 
Use a boolean instead of a string compare

13 years agoUse a lower case message and avoid the extra processing
Frédéric Marchal [Wed, 12 May 2010 21:34:38 +0000 (21:34 +0000)] 
Use a lower case message and avoid the extra processing

13 years agoList the source of the redirection rule in a squidGuard log
Frédéric Marchal [Tue, 11 May 2010 08:26:17 +0000 (08:26 +0000)] 
List the source of the redirection rule in a squidGuard log

13 years agoFix a translation error
Frédéric Marchal [Tue, 11 May 2010 08:16:58 +0000 (08:16 +0000)] 
Fix a translation error

13 years agoAllow only one graph type at a time for now
Frédéric Marchal [Tue, 11 May 2010 08:16:30 +0000 (08:16 +0000)] 
Allow only one graph type at a time for now

13 years agoAccept the old option squidguard_log_format but display a warning if it is used.
Frédéric Marchal [Tue, 11 May 2010 07:00:43 +0000 (07:00 +0000)] 
Accept the old option squidguard_log_format but display a warning if it is used.
Replace squidguard_ignore_date by redirector_ignore_date but keep the old option with a warning.

13 years agoFix the validation of the sarg log file name.
Frédéric Marchal [Mon, 10 May 2010 12:12:26 +0000 (12:12 +0000)] 
Fix the validation of the sarg log file name.
Read a compressed log file through a pipe.

13 years agoFix a regression when processing an input log not in the squid format (the date was...
Frédéric Marchal [Mon, 10 May 2010 08:13:09 +0000 (08:13 +0000)] 
Fix a regression when processing an input log not in the squid format (the date was not written into the intermediary logs).
Check more return code when writing files.
Use a boolean to select the content of the graph instead of a string (the two possible values are not mutually exclusive on purpose).

13 years agoUse parameteric dimensions in the graph creation instead of hard coded constants.
Frédéric Marchal [Sun, 9 May 2010 16:00:59 +0000 (16:00 +0000)] 
Use parameteric dimensions in the graph creation instead of hard coded constants.
Remove the temporary file and sorting in graph creation.
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).
Allow up to 64 redirector log files to be passed through the command line option -L and the sarg.conf option redirector_log.
Configuration option squidguard_log_format renamed into redirector_log_format for equity with the various redirectors that can be used with sarg.

13 years agoTake the length of the label in the locale language into account when placing it...
Frédéric Marchal [Fri, 7 May 2010 21:40:33 +0000 (21:40 +0000)] 
Take the length of the label in the locale language into account when placing it on the graph

13 years agoUpdate the messages
Frédéric Marchal [Fri, 7 May 2010 09:24:10 +0000 (09:24 +0000)] 
Update the messages

13 years agoTest some more write errors.
Frédéric Marchal [Fri, 7 May 2010 09:18:28 +0000 (09:18 +0000)] 
Test some more write errors.
Avoid a couple of close/open on the same file.
Purge sarg-general when the program exits.

13 years agoReview the creation of a file name from the URL to avoid any possible unsafe character
Frédéric Marchal [Fri, 7 May 2010 07:59:26 +0000 (07:59 +0000)] 
Review the creation of a file name from the URL to avoid any possible unsafe character

13 years agoStrengthen the making of the report file name to drastically limit the characters...
Frédéric Marchal [Fri, 7 May 2010 07:13:58 +0000 (07:13 +0000)] 
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).

13 years agoAdd clever date ranges specification to command line option -d
Frédéric Marchal [Mon, 3 May 2010 20:09:11 +0000 (20:09 +0000)] 
Add clever date ranges specification to command line option -d

13 years agoChange the version date
Frédéric Marchal [Mon, 3 May 2010 10:27:04 +0000 (10:27 +0000)] 
Change the version date

13 years agoCompute the size of the excluded codes file instead of always allocating 1024 bytes.
Frédéric Marchal [Mon, 3 May 2010 10:25:43 +0000 (10:25 +0000)] 
Compute the size of the excluded codes file instead of always allocating 1024 bytes.
Check the return codes when moving the file pointers to compute the file size.

13 years agoExtend the comment to describe the content of the file
Frédéric Marchal [Mon, 3 May 2010 10:19:29 +0000 (10:19 +0000)] 
Extend the comment to describe the content of the file

13 years agoIgnore comments in exclude_code file
Frédéric Marchal [Mon, 3 May 2010 09:51:28 +0000 (09:51 +0000)] 
Ignore comments in exclude_code file

13 years agoFix the exclusion of status codes to exclude more than one code
Frédéric Marchal [Mon, 3 May 2010 09:38:04 +0000 (09:38 +0000)] 
Fix the exclusion of status codes to exclude more than one code

14 years agoAdd a Makefile rule to fetch the po files from translationproject.org
Frédéric Marchal [Mon, 26 Apr 2010 10:55:16 +0000 (10:55 +0000)] 
Add a Makefile rule to fetch the po files from translationproject.org

14 years agoLanguage updated by Juris Valdovskis
Frédéric Marchal [Mon, 26 Apr 2010 10:54:16 +0000 (10:54 +0000)] 
Language updated by Juris Valdovskis

14 years agoIgnore input log files too old to contain any entry to process
Frédéric Marchal [Tue, 13 Apr 2010 09:43:19 +0000 (09:43 +0000)] 
Ignore input log files too old to contain any entry to process

14 years agoThe date range passed as argument is not restricted to the actual range covered by...
Frédéric Marchal [Tue, 13 Apr 2010 09:17:49 +0000 (09:17 +0000)] 
The date range passed as argument is not restricted to the actual range covered by the log files

14 years agoUse the word "Redirector" instead of squidGuard in the report as other redirectors...
Frédéric Marchal [Mon, 12 Apr 2010 13:28:30 +0000 (13:28 +0000)] 
Use the word "Redirector" instead of squidGuard in the report as other redirectors may be compatible with sarg.
Display the correct user id and ip in the redirector report.
Reduce the number of ip resolution when computing the redirector report.

14 years agoKeep only UserIp at the global scope and remove global userip
Frédéric Marchal [Mon, 12 Apr 2010 13:25:21 +0000 (13:25 +0000)] 
Keep only UserIp at the global scope and remove global userip

14 years agoUse some boolean variables
Frédéric Marchal [Mon, 12 Apr 2010 13:22:14 +0000 (13:22 +0000)] 
Use some boolean variables

14 years agoClarify an entry of the report's menu
Frédéric Marchal [Mon, 12 Apr 2010 09:15:13 +0000 (09:15 +0000)] 
Clarify an entry of the report's menu