]>
git.ipfire.org Git - thirdparty/sarg.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Frédéric Marchal [Tue, 1 Dec 2009 19:46:01 +0000 (19:46 +0000)]
Allow multiple headers in an ISA log.
Introduce getword_skip to skip a word without storing it in a buffer.
Frédéric Marchal [Mon, 30 Nov 2009 20:48:48 +0000 (20:48 +0000)]
Fixed date problem when US date format is selected.
Frédéric Marchal [Mon, 30 Nov 2009 10:55:36 +0000 (10:55 +0000)]
Remove redundant options.
Frédéric Marchal [Sun, 29 Nov 2009 19:16:37 +0000 (19:16 +0000)]
Use tabulations instead of spaces in temporary intermediary files to avoid a shift in the columns if the URL contains a space.
Use sizeof(buffer) for every strftime (the hard coded size was sometime wrong).
Test the user to single out after replacing the user ID by the IP address because the user ID is always - if no user ID is used in the log.
Removed getword3 because it is now identitical to getword.
Removed legacy code to write the denied downloads.
Removed legacy code to write the access.log entries in the user file.
Frédéric Marchal [Fri, 27 Nov 2009 14:57:51 +0000 (14:57 +0000)]
Change the version number to 2.2.6.
Frédéric Marchal [Fri, 27 Nov 2009 14:57:19 +0000 (14:57 +0000)]
Add a debug message to acknowledge the reading of a ISA log.
Frédéric Marchal [Thu, 12 Nov 2009 12:21:28 +0000 (12:21 +0000)]
Fix typo (thank to Владимир Баюнчиков).
Frédéric Marchal [Thu, 5 Nov 2009 10:48:24 +0000 (10:48 +0000)]
Translation of the last messages.
Frédéric Marchal [Wed, 4 Nov 2009 08:50:47 +0000 (08:50 +0000)]
When multiple access.log are read, any empty access.log prevents the generation of the report even if valid records are found in another access.log.
Frédéric Marchal [Wed, 4 Nov 2009 08:50:14 +0000 (08:50 +0000)]
Exit sarg if undocumented -y option is specified on the command line to list the current language strings.
Frédéric Marchal [Fri, 30 Oct 2009 08:23:23 +0000 (08:23 +0000)]
Add line feed in the output of the lines of the configuration file by flag -m.
Frédéric Marchal [Wed, 14 Oct 2009 13:22:02 +0000 (13:22 +0000)]
Fixed inconsequential memory leaks when sarg terminates early.
Frédéric Marchal [Tue, 13 Oct 2009 11:31:41 +0000 (11:31 +0000)]
Close unclosed files when multiple access.log files are processed.
Frédéric Marchal [Tue, 13 Oct 2009 11:30:47 +0000 (11:30 +0000)]
Initialize variable content.
Frédéric Marchal [Tue, 13 Oct 2009 08:23:48 +0000 (08:23 +0000)]
Documentation of the last function of the file.
Frédéric Marchal [Tue, 13 Oct 2009 08:18:33 +0000 (08:18 +0000)]
Documentation of grepday.c.
Fixed inconsequential memory leaks that clutered the valgrind reports.
Added more warning options at compile time.
Fixed the warnings highlighted by -Wextra.
Frédéric Marchal [Mon, 12 Oct 2009 14:55:39 +0000 (14:55 +0000)]
Added an option to use GCC's protections at compile and run time.
Fixed more advanced warnings resulting from the hardening of the compilation.
Fixed one more buffer overflow.
Fixed one memory leak.
Frédéric Marchal [Thu, 1 Oct 2009 09:15:18 +0000 (09:15 +0000)]
Replace more single quotes by double quotes in external commands to be compatible with windows.
Frédéric Marchal [Wed, 30 Sep 2009 14:41:05 +0000 (14:41 +0000)]
Adjustments to run sarg on windows outside of msys.
Frédéric Marchal [Thu, 24 Sep 2009 09:29:14 +0000 (09:29 +0000)]
Z files are uncompressed by zcat to avoid deleting the original log file.
Compressed log files are uncompressed in /tmp/sarg to delete the file when the process completes.
Frédéric Marchal [Wed, 23 Sep 2009 06:50:45 +0000 (06:50 +0000)]
Removed missplaced off_t as suggested in bug #
2864425 .
Frédéric Marchal [Tue, 22 Sep 2009 07:09:14 +0000 (07:09 +0000)]
Frédéric Marchal [Fri, 18 Sep 2009 10:32:41 +0000 (10:32 +0000)]
Moved two strings to the languages files.
Fixed the languages files with missing lines.
Frédéric Marchal [Thu, 17 Sep 2009 18:20:20 +0000 (18:20 +0000)]
Compute the report date without resorting to the system command.
Allow the use of spaces in the temporary directory.
Frédéric Marchal [Mon, 14 Sep 2009 14:22:46 +0000 (14:22 +0000)]
Fixed the cmake configuration with msys+mingw.
Frédéric Marchal [Mon, 14 Sep 2009 07:55:41 +0000 (07:55 +0000)]
Word wrap the document.
Frédéric Marchal [Mon, 14 Sep 2009 07:47:37 +0000 (07:47 +0000)]
Fix of the cmake configuration file.
Frédéric Marchal [Sun, 13 Sep 2009 19:09:58 +0000 (19:09 +0000)]
Ask for help.
Frédéric Marchal [Sun, 13 Sep 2009 19:05:59 +0000 (19:05 +0000)]
Use configurable paths for the files that used to reside in SYSCONFDIR.
Add cmake configuration files.
Frédéric Marchal [Wed, 9 Sep 2009 05:26:32 +0000 (05:26 +0000)]
Stop if the output file name is more than 255 characters instead of truncating the file name and using an invalid name.
Frédéric Marchal [Wed, 9 Sep 2009 05:25:39 +0000 (05:25 +0000)]
Documentation of the multiple usage of option -l and the acceptance of compressed files.
Frédéric Marchal [Mon, 7 Sep 2009 18:57:10 +0000 (18:57 +0000)]
A few string optimizations.
Truncate the user name at the %20 instead of the first % if a %20 is found somewhere in the user name.
Frédéric Marchal [Mon, 7 Sep 2009 18:54:22 +0000 (18:54 +0000)]
Simply rewind the stream instead of closing it and reopening it.
Frédéric Marchal [Mon, 7 Sep 2009 13:31:23 +0000 (13:31 +0000)]
Update build date.
Frédéric Marchal [Mon, 7 Sep 2009 13:13:51 +0000 (13:13 +0000)]
Don't reopen the denied.log and authfail.log when parsing a new access.log file as that truncates the two files and produces empty results.
Frédéric Marchal [Mon, 7 Sep 2009 13:09:32 +0000 (13:09 +0000)]
Don't ignore URL of sites without directories.
Frédéric Marchal [Thu, 27 Aug 2009 13:49:58 +0000 (13:49 +0000)]
Changed default directory for the squid access.log.
Frédéric Marchal [Thu, 27 Aug 2009 07:16:40 +0000 (07:16 +0000)]
Changed the default access.log directory to match the usual directory of squid as suggested by Gentoo patch 01_all_sarg-2.2.3.1-lots-of-compiler-warnings.patch.
Frédéric Marchal [Thu, 27 Aug 2009 07:05:34 +0000 (07:05 +0000)]
Applied Gentoo patch 08_all_sarg-2.2.5-LDFLAGS.patch.
Frédéric Marchal [Tue, 25 Aug 2009 19:44:16 +0000 (19:44 +0000)]
Applied Gentoo patch 12_all_sarg-2.2.5-enlarge-ntemp.patch.
Frédéric Marchal [Tue, 25 Aug 2009 19:43:33 +0000 (19:43 +0000)]
Applied Gentoo patch 10_all_sarg-2.2.5-enlarge-day-mon-buffers.patch
Frédéric Marchal [Mon, 17 Aug 2009 12:26:21 +0000 (12:26 +0000)]
Proper format for size_t in printf.
Frédéric Marchal [Fri, 14 Aug 2009 17:58:09 +0000 (17:58 +0000)]
Fixed e-mail report (may also fix bug #
2153024 ).
Fixed total and percentages of topuser page.
Frédéric Marchal [Fri, 14 Aug 2009 05:17:46 +0000 (05:17 +0000)]
Protect the reading of the configuration file against buffer overflows.
Logo image height taken into account.
Accept longer mail utility name.
Frédéric Marchal [Mon, 3 Aug 2009 17:13:49 +0000 (17:13 +0000)]
More Doxygen documentation.
Frédéric Marchal [Mon, 3 Aug 2009 17:12:59 +0000 (17:12 +0000)]
Minor changes.
Frédéric Marchal [Sat, 1 Aug 2009 21:07:51 +0000 (21:07 +0000)]
Frédéric Marchal [Sat, 1 Aug 2009 20:48:34 +0000 (20:48 +0000)]
Frédéric Marchal [Sat, 1 Aug 2009 20:32:19 +0000 (20:32 +0000)]
Applied suggestion of bug #
2830643 .
Frédéric Marchal [Sat, 1 Aug 2009 20:24:19 +0000 (20:24 +0000)]
Frédéric Marchal [Sat, 1 Aug 2009 20:23:06 +0000 (20:23 +0000)]
Partly applied advice of bug #
1659784 .
Frédéric Marchal [Thu, 30 Jul 2009 20:21:28 +0000 (20:21 +0000)]
Frédéric Marchal [Thu, 30 Jul 2009 12:12:52 +0000 (12:12 +0000)]
Frédéric Marchal [Mon, 27 Jul 2009 19:21:26 +0000 (19:21 +0000)]
Use the correct format for off_t on amd64.
Use the mechanism provided by configure to set the directories of the application instead of the custom variables.
More doxygen documentation.
Frédéric Marchal [Mon, 20 Jul 2009 15:01:20 +0000 (15:01 +0000)]
Sanitized a little bit the generated HTML.
Frédéric Marchal [Mon, 20 Jul 2009 08:11:35 +0000 (08:11 +0000)]
Update version date.
Add embryo of documentation for conf.h.
Frédéric Marchal [Mon, 20 Jul 2009 08:09:45 +0000 (08:09 +0000)]
Frédéric Marchal [Thu, 16 Jul 2009 14:48:32 +0000 (14:48 +0000)]
Detect downloaded suffix bigger than 3 characters, don't match the cases and don't stop on a partial match.
Frédéric Marchal [Thu, 16 Jul 2009 10:33:55 +0000 (10:33 +0000)]
Fixed debian bug #504749.
Frédéric Marchal [Thu, 16 Jul 2009 09:35:39 +0000 (09:35 +0000)]
Removed a few unecessary strings copy.
Embryo of documentation for the code with doxygen.
Changed subs to replace the string in place and avoid allocating a memory that was freed on only one occasion.
A few improvements on strings manipulations.
Frédéric Marchal [Mon, 13 Jul 2009 08:27:20 +0000 (08:27 +0000)]
Moved local variables declared at the global scope to the function that use them.
Display a warning if no resource is defined to limit the number of open files.
Frédéric Marchal [Mon, 13 Jul 2009 08:25:29 +0000 (08:25 +0000)]
Avoid a buffer overflow if the language file contains more lines than expected.
Display the name of the language file being red when displaying the texts.
Frédéric Marchal [Fri, 10 Jul 2009 13:45:59 +0000 (13:45 +0000)]
Applied debian patch: opensuse_7_year_assertion.patch
Frédéric Marchal [Thu, 9 Jul 2009 13:05:23 +0000 (13:05 +0000)]
Applied an extended version of debian patch: opensuse_5_limit_sprintf.patch
Function debuga format the output string itself, so there is no need to use sprintf.
Frédéric Marchal [Thu, 9 Jul 2009 12:35:12 +0000 (12:35 +0000)]
Applied debian patch: opensuse_4_enlarge_log_buffer.patch
Frédéric Marchal [Thu, 9 Jul 2009 12:12:43 +0000 (12:12 +0000)]
Applied debian patch: opensuse_3_too_small_font_buffer.patch
Frédéric Marchal [Thu, 9 Jul 2009 12:00:52 +0000 (12:00 +0000)]
Applied debian patch: opensuse_2_enlarge_report_buffers.patch
Frédéric Marchal [Thu, 9 Jul 2009 11:53:25 +0000 (11:53 +0000)]
Applied debian patches: sarg-polish.patch, sarg-turkish.patch
Frédéric Marchal [Thu, 9 Jul 2009 11:34:25 +0000 (11:34 +0000)]
Replaced the ifdef FOPEN64 by a single call to MY_FOPEN for code clarity.
User IP/ID is searched only in the first column of the usertab file.
Some indentation fixes.
Speed up by removing two uncessary ip resolutions.
Frédéric Marchal [Wed, 8 Jul 2009 11:02:16 +0000 (11:02 +0000)]
Fixed Debian bug #444845.
Frédéric Marchal [Wed, 8 Jul 2009 10:01:56 +0000 (10:01 +0000)]
Moved all the functions declarations from conf.h to defs.h for consistency.
Fixed bug #
2089451 .
Frédéric Marchal [Tue, 7 Jul 2009 13:21:05 +0000 (13:21 +0000)]
All the sprintf/fputs have been replaced by fprintf to avoid an intermediary buffer and possible buffer overflow.
Frédéric Marchal [Tue, 7 Jul 2009 08:45:05 +0000 (08:45 +0000)]
Fixed the same bug as patch #
1733337 but in a cleaner way.
Frédéric Marchal [Tue, 7 Jul 2009 08:43:40 +0000 (08:43 +0000)]
Replace CPPFLAGS by CFLAGS to avoid duplicate use of the flags in the lines executed by make.
Frédéric Marchal [Mon, 6 Jul 2009 14:40:44 +0000 (14:40 +0000)]
Fixed the real time report.
Frédéric Marchal [Mon, 6 Jul 2009 14:21:54 +0000 (14:21 +0000)]
Remove all the warnings (inspired from patch #
1771501 ).
Frédéric Marchal [Tue, 30 Jun 2009 07:41:08 +0000 (07:41 +0000)]
Patch #
2657320 applied.
Fix #else #if into #elif.
Frédéric Marchal [Fri, 26 Jun 2009 13:36:39 +0000 (13:36 +0000)]
Protect ip2name against buffer overflows and replace characters that are valid in URL but not in file names when building a file name from a URL.
Frédéric Marchal [Fri, 26 Jun 2009 12:54:27 +0000 (12:54 +0000)]
Removed fscanf that is prone to buffer overflows.
Size of buffers increased.
Frédéric Marchal [Fri, 26 Jun 2009 12:30:47 +0000 (12:30 +0000)]
Limit the content of the squidguard log file to the date of the day being processed.
Frédéric Marchal [Fri, 26 Jun 2009 12:25:42 +0000 (12:25 +0000)]
Frédéric Marchal [Fri, 26 Jun 2009 12:11:45 +0000 (12:11 +0000)]
Frédéric Marchal [Fri, 26 Jun 2009 12:02:26 +0000 (12:02 +0000)]
Removed the duplicate file opening that resulted in a resource leak.
Frédéric Marchal [Fri, 26 Jun 2009 11:04:22 +0000 (11:04 +0000)]
Detect external commands failures and print the exact command that produced the error. The offending file is kept for debugging if possible.
The format of the date written in sarg-date is forced to prevent a failure if the locale is not en_US.
Frédéric Marchal [Fri, 26 Jun 2009 10:49:31 +0000 (10:49 +0000)]
Updated to autoconf 2.61.
Frédéric Marchal [Fri, 26 Jun 2009 07:41:39 +0000 (07:41 +0000)]
Frédéric Marchal [Fri, 26 Jun 2009 07:29:47 +0000 (07:29 +0000)]
Protection against buffer overflows in getword and friends and report the origin of the error instead of always blaming access.log.
Frédéric Marchal [Thu, 25 Jun 2009 12:26:12 +0000 (12:26 +0000)]
Write HTML trailer before closing the file.
Frédéric Marchal [Thu, 25 Jun 2009 12:24:57 +0000 (12:24 +0000)]
Include sys/wait.h to fix missing references to WIFEXITED and WEXITSTATUS.
Frédéric Marchal [Thu, 25 Jun 2009 12:20:36 +0000 (12:20 +0000)]
Second documented -x option is in fact -z.
Frédéric Marchal [Thu, 25 Jun 2009 12:19:41 +0000 (12:19 +0000)]
File forgotten during the mass commit to version 2.2.5.
Frédéric Marchal [Thu, 25 Jun 2009 09:39:47 +0000 (09:39 +0000)]
Mass commit of all the changes made between version 2.1 and 2.2.5. See ChangeLog for more details.
Frédéric Marchal [Thu, 25 Jun 2009 07:33:08 +0000 (07:33 +0000)]
Changed Pedro's address in headers.
Changed the line ending of the files that ended with CRLF to the unix standard.
Guido Serassio [Wed, 15 Feb 2006 18:23:08 +0000 (18:23 +0000)]
no index.html when lastlog tag is greather then 0, caused by some debug messages
Guido Serassio [Wed, 15 Feb 2006 18:22:33 +0000 (18:22 +0000)]
fix the following configure errors
datafile.c:160: error: conflicting types for 'saverecs2'
datafile.c:118: error: previous implicit declaration of 'saverecs2' was here
make: ** [datafile.o] Error 1
Guido Serassio [Wed, 15 Feb 2006 18:07:39 +0000 (18:07 +0000)]
Imported Sarg 2.1.0
Guido Serassio [Wed, 15 Feb 2006 18:01:05 +0000 (18:01 +0000)]
Imported Sarg 2.1.0
Guido Serassio [Sat, 5 Nov 2005 13:57:36 +0000 (13:57 +0000)]
Imported sarg 2.0.9
Guido Serassio [Sun, 17 Jul 2005 19:30:28 +0000 (19:30 +0000)]
This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.
Guido Serassio [Sun, 17 Jul 2005 19:30:28 +0000 (19:30 +0000)]
Standard project directories initialized by cvs2svn.