]> git.ipfire.org Git - thirdparty/sarg.git/log
thirdparty/sarg.git
14 years agoFixed a regression in the usertab file not accepting IPv6 addresses any more.
Frédéric Marchal [Sun, 24 Jan 2010 16:31:04 +0000 (16:31 +0000)] 
Fixed a regression in the usertab file not accepting IPv6 addresses any more.
Reintroduced in user_name the buffer size check that was present in get_usertab_name.
Rewrote the code from the old usertab file to blend it cleanly with the ldap code.
Added btree_cache.h that was missing from the repository.
Added const declaration where appropriate in btree_cache.
Fixed the inclusion of the ldap headers to compile without the local declarations in defs.h.

14 years agoPorted r208 from branches/v2_2_7
Frédéric Marchal [Sat, 23 Jan 2010 19:29:07 +0000 (19:29 +0000)] 
Ported r208 from branches/v2_2_7

14 years agoFixed regressions in creation and reading of a sarg parsed log (thanks to Joao Alves)
Frédéric Marchal [Fri, 22 Jan 2010 09:59:25 +0000 (09:59 +0000)] 
Fixed regressions in creation and reading of a sarg parsed log (thanks to Joao Alves)

14 years agoDetect if the URL is just a hostname (in that case .com match the default download...
Frédéric Marchal [Fri, 22 Jan 2010 09:36:26 +0000 (09:36 +0000)] 
Detect if the URL is just a hostname (in that case .com match the default download list)

14 years agoForce the alignment of the data2 column because konqueror center it due to englobing...
Frédéric Marchal [Fri, 22 Jan 2010 09:34:56 +0000 (09:34 +0000)] 
Force the alignment of the data2 column because konqueror center it due to englobing <div center>

14 years agoTrivial optimization of string testing
Frédéric Marchal [Wed, 20 Jan 2010 13:34:41 +0000 (13:34 +0000)] 
Trivial optimization of string testing

14 years agoFixed empty entries in squidGuard log when the URL doesn't start with protocol://
Frédéric Marchal [Wed, 20 Jan 2010 12:38:23 +0000 (12:38 +0000)] 
Fixed empty entries in squidGuard log when the URL doesn't start with protocol://

14 years agoReplace --enable-htmldir by --enable-sargphp to avoid confusion on the name.
Frédéric Marchal [Wed, 20 Jan 2010 11:43:02 +0000 (11:43 +0000)] 
Replace --enable-htmldir by --enable-sargphp to avoid confusion on the name.
Installation of sarg-php can be disabled with --disable-sargphp.

14 years agoFixed exclude_hosts to exclude subdomains and IPv4 subnets
Frédéric Marchal [Mon, 18 Jan 2010 20:32:24 +0000 (20:32 +0000)] 
Fixed exclude_hosts to exclude subdomains and IPv4 subnets

14 years agoDon't duplicate sarg-php upon installation
Frédéric Marchal [Thu, 14 Jan 2010 10:33:20 +0000 (10:33 +0000)] 
Don't duplicate sarg-php upon installation

14 years agoPossible fix for bug #1841109: report an error if iconv fails to convert the string
Frédéric Marchal [Mon, 11 Jan 2010 08:37:08 +0000 (08:37 +0000)] 
Possible fix for bug #1841109: report an error if iconv fails to convert the string

14 years agoApply patch reported by rudi@darx.com in bug #1626911
Frédéric Marchal [Mon, 11 Jan 2010 08:35:10 +0000 (08:35 +0000)] 
Apply patch reported by rudi@darx.com in bug #1626911

14 years agoA few trivial optimizations
Frédéric Marchal [Fri, 8 Jan 2010 15:32:48 +0000 (15:32 +0000)] 
A few trivial optimizations

14 years agoSuppress message reporting an ISA log when debug mode is off (thanks to Turgay Smirnov)
Frédéric Marchal [Thu, 7 Jan 2010 15:24:28 +0000 (15:24 +0000)] 
Suppress message reporting an ISA log when debug mode is off (thanks to Turgay Smirnov)

14 years agoRemove unecessary strlen (trivial change)
Frédéric Marchal [Thu, 7 Jan 2010 15:17:50 +0000 (15:17 +0000)] 
Remove unecessary strlen (trivial change)

14 years agoPorted r194 from branches/v2_2_6_1 (detect fopen64 usage)
Frédéric Marchal [Wed, 6 Jan 2010 21:27:19 +0000 (21:27 +0000)] 
Ported r194 from branches/v2_2_6_1 (detect fopen64 usage)

14 years agoUpdate the copyright date of the remaining source files
Frédéric Marchal [Wed, 6 Jan 2010 09:28:34 +0000 (09:28 +0000)] 
Update the copyright date of the remaining source files

14 years agoForce a default value for a boolean parameter if the language file is not updated
Frédéric Marchal [Wed, 6 Jan 2010 09:27:19 +0000 (09:27 +0000)] 
Force a default value for a boolean parameter if the language file is not updated

14 years agoCheck for lstat in configure.in.
Frédéric Marchal [Wed, 6 Jan 2010 09:11:32 +0000 (09:11 +0000)] 
Check for lstat in configure.in.
Fix detection of -Werror=format-security.

14 years agoSupport systems without lstat and detect which libiconv to link
Frédéric Marchal [Wed, 6 Jan 2010 08:53:13 +0000 (08:53 +0000)] 
Support systems without lstat and detect which libiconv to link

14 years agoPorted r188 from branches/v2_2_6_1 (graphs label)
Frédéric Marchal [Wed, 6 Jan 2010 08:51:58 +0000 (08:51 +0000)] 
Ported r188 from branches/v2_2_6_1 (graphs label)

14 years agoPorted r186 from branches/v2_2_6_1 (flags accepted by real time report)
Frédéric Marchal [Tue, 5 Jan 2010 13:42:44 +0000 (13:42 +0000)] 
Ported r186 from branches/v2_2_6_1 (flags accepted by real time report)

14 years agoAdd a missing tab in the realtime temporary file and can use the IP instead of the...
Frédéric Marchal [Mon, 4 Jan 2010 13:33:19 +0000 (13:33 +0000)] 
Add a missing tab in the realtime temporary file and can use the IP instead of the user name

14 years agoFix recursive directory deletion.
Frédéric Marchal [Mon, 4 Jan 2010 11:46:30 +0000 (11:46 +0000)] 
Fix recursive directory deletion.
Detect and re-read old sarg-general files with space separated columns.

14 years agoIndex created using an internal sort algorithm instead of a system call
Frédéric Marchal [Sun, 3 Jan 2010 18:27:14 +0000 (18:27 +0000)] 
Index created using an internal sort algorithm instead of a system call

14 years agoPorted r180 from branches/v2_2_6_1 (DESTDIR support in Makefile)
Frédéric Marchal [Thu, 31 Dec 2009 08:02:34 +0000 (08:02 +0000)] 
Ported r180 from branches/v2_2_6_1 (DESTDIR support in Makefile)

14 years agoDirectories deleted without using the rm system command
Frédéric Marchal [Thu, 31 Dec 2009 07:25:17 +0000 (07:25 +0000)] 
Directories deleted without using the rm system command

14 years agoRestore the creation of the link to the image directory lost during the rewritting...
Frédéric Marchal [Tue, 29 Dec 2009 18:17:46 +0000 (18:17 +0000)] 
Restore the creation of the link to the image directory lost during the rewritting of the conversion of the index.

14 years agoThe %u doesn't have to be the last item of the Require statement in sarg.conf.
Frédéric Marchal [Sun, 27 Dec 2009 16:02:47 +0000 (16:02 +0000)] 
The %u doesn't have to be the last item of the Require statement in sarg.conf.

14 years agoAdded missing Require keyword
Frédéric Marchal [Sun, 27 Dec 2009 15:31:53 +0000 (15:31 +0000)] 
Added missing Require keyword

14 years agoProtect the creation of the index against invalid directories.
Frédéric Marchal [Sun, 27 Dec 2009 14:38:26 +0000 (14:38 +0000)] 
Protect the creation of the index against invalid directories.
Only copy the files when creating the directory with the images to link the reports to.

14 years agoUse boolean to enable all the options instead of string compares.
Frédéric Marchal [Wed, 23 Dec 2009 20:48:06 +0000 (20:48 +0000)] 
Use boolean to enable all the options instead of string compares.
Accept an absolute path for the language file in sarg.conf.
Experimental: Can show the backtrace of the program when a getword loop is detected to help in locating the origin of the error.
Fix for the date reported in the index.
Fix for the reports with IndexTree set to file.

14 years agoUse boolean to enable some options instead of string compares
Frédéric Marchal [Mon, 21 Dec 2009 20:29:39 +0000 (20:29 +0000)] 
Use boolean to enable some options instead of string compares

14 years agoFix uninitialized variables.
Frédéric Marchal [Mon, 21 Dec 2009 19:05:27 +0000 (19:05 +0000)] 
Fix uninitialized variables.
Report the correct day of week in index.html

14 years agoDownload suffix stored in index with dichotomic search for efficiency.
Frédéric Marchal [Sun, 20 Dec 2009 20:06:18 +0000 (20:06 +0000)] 
Download suffix stored in index with dichotomic search for efficiency.
Added getword_atoll to extract a number without requiring an additionnal string buffer.

14 years agoSarg.conf can use multiple access_log lines.
Frédéric Marchal [Sat, 19 Dec 2009 21:20:20 +0000 (21:20 +0000)] 
Sarg.conf can use multiple access_log lines.
Some small optimizations.

14 years agoPorted r167 from branches/v2_2_6_1 (several changes).
Frédéric Marchal [Fri, 18 Dec 2009 13:45:28 +0000 (13:45 +0000)] 
Ported r167 from branches/v2_2_6_1 (several changes).
Use LC_TIME to format the dates and times according to the selected locale.

14 years agoUse string pointers in getword instead of copying the strings
Frédéric Marchal [Tue, 15 Dec 2009 20:43:57 +0000 (20:43 +0000)] 
Use string pointers in getword instead of copying the strings

14 years agoPorted r161 from branches/v2_2_6_1 (fix regression in sarg-date)
Frédéric Marchal [Mon, 14 Dec 2009 10:07:35 +0000 (10:07 +0000)] 
Ported r161 from branches/v2_2_6_1 (fix regression in sarg-date)

14 years agoPorted r159 from branches/v2_2_6_1 (sarg-date format change)
Frédéric Marchal [Mon, 14 Dec 2009 09:19:18 +0000 (09:19 +0000)] 
Ported r159 from branches/v2_2_6_1 (sarg-date format change)

14 years agoPorted r157 from branches/v2_2_6_1 (remove warnings if no libgd)
Frédéric Marchal [Mon, 14 Dec 2009 08:04:08 +0000 (08:04 +0000)] 
Ported r157 from branches/v2_2_6_1 (remove warnings if no libgd)

14 years agoLDAP usertab feature added
Pedro Orso [Fri, 11 Dec 2009 17:21:33 +0000 (17:21 +0000)] 
LDAP usertab feature added

14 years agoLDAP usertab feature added
Pedro Orso [Fri, 11 Dec 2009 13:30:34 +0000 (13:30 +0000)] 
LDAP usertab feature added

14 years agoLDAP usertab feature added
Pedro Orso [Fri, 11 Dec 2009 13:27:03 +0000 (13:27 +0000)] 
LDAP usertab feature added

14 years agoPorted r152 from branches/v2_2_6_1 (detect bzero with autoconf)
Frédéric Marchal [Thu, 10 Dec 2009 15:44:04 +0000 (15:44 +0000)] 
Ported r152 from branches/v2_2_6_1 (detect bzero with autoconf)

14 years agoPorted r150 from branches/v2_2_6_1 (useragent report statistics)
Frédéric Marchal [Thu, 10 Dec 2009 12:29:17 +0000 (12:29 +0000)] 
Ported r150 from branches/v2_2_6_1 (useragent report statistics)

14 years agoPorted r146 from branches/v2_2_6_1 (useragent font size)
Frédéric Marchal [Thu, 10 Dec 2009 10:52:29 +0000 (10:52 +0000)] 
Ported r146 from branches/v2_2_6_1 (useragent font size)

14 years agoPorted r144 from branches/v2_2_6_1 (useragent sort separator)
Frédéric Marchal [Thu, 10 Dec 2009 08:46:31 +0000 (08:46 +0000)] 
Ported r144 from branches/v2_2_6_1 (useragent sort separator)

14 years agoPorted r140 from branches/v2_2_6_1 (create paths during install)
Frédéric Marchal [Wed, 9 Dec 2009 13:35:05 +0000 (13:35 +0000)] 
Ported r140 from branches/v2_2_6_1 (create paths during install)

14 years agoPorted r137 from branches/v2_2_6_1 (test gcc options)
Frédéric Marchal [Wed, 9 Dec 2009 08:36:43 +0000 (08:36 +0000)] 
Ported r137 from branches/v2_2_6_1 (test gcc options)

14 years agoPorted r135 from branches/v2_2_6_1 (update ChangeLog)
Frédéric Marchal [Tue, 8 Dec 2009 14:11:48 +0000 (14:11 +0000)] 
Ported r135 from branches/v2_2_6_1 (update ChangeLog)

14 years agoPorted r133 from branches/v2_2_6_1 (may ignore rlim_t)
Frédéric Marchal [Tue, 8 Dec 2009 12:10:58 +0000 (12:10 +0000)] 
Ported r133 from branches/v2_2_6_1 (may ignore rlim_t)

14 years agoPorted r131 from branches/v2_2_6_1 (remove off_t dependency)
Frédéric Marchal [Tue, 8 Dec 2009 08:47:22 +0000 (08:47 +0000)] 
Ported r131 from branches/v2_2_6_1 (remove off_t dependency)

14 years agoBranch created for the future version 2.2.7.
Frédéric Marchal [Fri, 4 Dec 2009 12:37:19 +0000 (12:37 +0000)] 
Branch created for the future version 2.2.7.

14 years agoFix regression in sort separator.
Frédéric Marchal [Fri, 4 Dec 2009 10:36:03 +0000 (10:36 +0000)] 
Fix regression in sort separator.

14 years agoInput log file type detection partly rewritten to clearly distinguish which type...
Frédéric Marchal [Thu, 3 Dec 2009 21:13:59 +0000 (21:13 +0000)] 
Input log file type detection partly rewritten to clearly distinguish which type is processed where.
Read the input log file from standard input if log file name is -.

14 years agoNew comments added
Pedro Orso [Thu, 3 Dec 2009 16:36:18 +0000 (16:36 +0000)] 
New comments added

14 years agoInvalid sort field separator
Pedro Orso [Thu, 3 Dec 2009 16:33:30 +0000 (16:33 +0000)] 
Invalid sort field separator

14 years agoSarg Hall of Fame
Pedro Orso [Thu, 3 Dec 2009 11:14:06 +0000 (11:14 +0000)] 
Sarg Hall of Fame

14 years agoCompile and run time protection (FORTIFY_SOURCE) fixed
Pedro Orso [Thu, 3 Dec 2009 10:56:55 +0000 (10:56 +0000)] 
Compile and run time protection (FORTIFY_SOURCE) fixed

14 years agoChanged date to 2009
Pedro Orso [Wed, 2 Dec 2009 17:49:22 +0000 (17:49 +0000)] 
Changed date to 2009

14 years agoAllow multiple headers in an ISA log.
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.

14 years agoFixed date problem when US date format is selected.
Frédéric Marchal [Mon, 30 Nov 2009 20:48:48 +0000 (20:48 +0000)] 
Fixed date problem when US date format is selected.

14 years agoRemove redundant options.
Frédéric Marchal [Mon, 30 Nov 2009 10:55:36 +0000 (10:55 +0000)] 
Remove redundant options.

14 years agoUse tabulations instead of spaces in temporary intermediary files to avoid a shift...
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.

14 years agoChange the version number to 2.2.6.
Frédéric Marchal [Fri, 27 Nov 2009 14:57:51 +0000 (14:57 +0000)] 
Change the version number to 2.2.6.

14 years agoAdd a debug message to acknowledge the reading of a ISA log.
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.

14 years agoFix typo (thank to Владимир Баюнчиков).
Frédéric Marchal [Thu, 12 Nov 2009 12:21:28 +0000 (12:21 +0000)] 
Fix typo (thank to Владимир Баюнчиков).

14 years agoTranslation of the last messages.
Frédéric Marchal [Thu, 5 Nov 2009 10:48:24 +0000 (10:48 +0000)] 
Translation of the last messages.

14 years agoWhen multiple access.log are read, any empty access.log prevents the generation of...
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.

14 years agoExit sarg if undocumented -y option is specified on the command line to list the...
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.

14 years agoAdd line feed in the output of the lines of the configuration file by flag -m.
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.

14 years agoFixed inconsequential memory leaks when sarg terminates early.
Frédéric Marchal [Wed, 14 Oct 2009 13:22:02 +0000 (13:22 +0000)] 
Fixed inconsequential memory leaks when sarg terminates early.

14 years agoClose unclosed files when multiple access.log files are processed.
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.

14 years agoInitialize variable content.
Frédéric Marchal [Tue, 13 Oct 2009 11:30:47 +0000 (11:30 +0000)] 
Initialize variable content.

14 years agoDocumentation of the last function of the file.
Frédéric Marchal [Tue, 13 Oct 2009 08:23:48 +0000 (08:23 +0000)] 
Documentation of the last function of the file.

14 years agoDocumentation of grepday.c.
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.

14 years agoAdded an option to use GCC's protections at compile and run time.
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.

14 years agoReplace more single quotes by double quotes in external commands to be compatible...
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.

14 years agoAdjustments to run sarg on windows outside of msys.
Frédéric Marchal [Wed, 30 Sep 2009 14:41:05 +0000 (14:41 +0000)] 
Adjustments to run sarg on windows outside of msys.

14 years agoZ files are uncompressed by zcat to avoid deleting the original log file.
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.

14 years agoRemoved missplaced off_t as suggested in bug #2864425.
Frédéric Marchal [Wed, 23 Sep 2009 06:50:45 +0000 (06:50 +0000)] 
Removed missplaced off_t as suggested in bug #2864425.

14 years agoFixed bug #2863485.
Frédéric Marchal [Tue, 22 Sep 2009 07:09:14 +0000 (07:09 +0000)] 
Fixed bug #2863485.

14 years agoMoved two strings to the languages files.
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.

14 years agoCompute the report date without resorting to the system command.
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.

14 years agoFixed the cmake configuration with msys+mingw.
Frédéric Marchal [Mon, 14 Sep 2009 14:22:46 +0000 (14:22 +0000)] 
Fixed the cmake configuration with msys+mingw.

14 years agoWord wrap the document.
Frédéric Marchal [Mon, 14 Sep 2009 07:55:41 +0000 (07:55 +0000)] 
Word wrap the document.

14 years agoFix of the cmake configuration file.
Frédéric Marchal [Mon, 14 Sep 2009 07:47:37 +0000 (07:47 +0000)] 
Fix of the cmake configuration file.

14 years agoAsk for help.
Frédéric Marchal [Sun, 13 Sep 2009 19:09:58 +0000 (19:09 +0000)] 
Ask for help.

14 years agoUse configurable paths for the files that used to reside in SYSCONFDIR.
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.

14 years agoStop if the output file name is more than 255 characters instead of truncating the...
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.

14 years agoDocumentation of the multiple usage of option -l and the acceptance of compressed...
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.

14 years agoA few string optimizations.
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.

14 years agoSimply rewind the stream instead of closing it and reopening it.
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.

14 years agoUpdate build date.
Frédéric Marchal [Mon, 7 Sep 2009 13:31:23 +0000 (13:31 +0000)] 
Update build date.

14 years agoDon't reopen the denied.log and authfail.log when parsing a new access.log file as...
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.

14 years agoDon't ignore URL of sites without directories.
Frédéric Marchal [Mon, 7 Sep 2009 13:09:32 +0000 (13:09 +0000)] 
Don't ignore URL of sites without directories.

14 years agoChanged default directory for the squid access.log.
Frédéric Marchal [Thu, 27 Aug 2009 13:49:58 +0000 (13:49 +0000)] 
Changed default directory for the squid access.log.

14 years agoChanged the default access.log directory to match the usual directory of squid as...
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.

14 years agoApplied Gentoo patch 08_all_sarg-2.2.5-LDFLAGS.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.