Menu

Tree [b48fe1] master /
 History

HTTPS access


File Date Author Commit
 cfgaux 2015-06-22 Frederic Marchal Frederic Marchal [ea4317] Update the configure script and its dependencies
 documentation 2017-04-26 Frederic Marchal Frederic Marchal [371bd6] Rewrite hours and weekdays parameters management
 fonts 2009-06-25 Frédéric Marchal Frédéric Marchal [d6e703] Mass commit of all the changes made between ver...
 images 2006-02-15 Guido Serassio Guido Serassio [491b86] Imported Sarg 2.1.0
 include 2022-03-30 Frederic Marchal Frederic Marchal [dd4463] Allow for very long connection time in report
 po 2022-03-30 Frederic Marchal Frederic Marchal [039abd] Update po files.
 samples 2009-12-11 Pedro Orso Pedro Orso [717996] LDAP usertab feature added
 sarg-php 2019-12-22 Frederic Marchal Frederic Marchal [58765c] Validate url passed to php scripts
 sorttable 2011-07-04 Frédéric Marchal Frédéric Marchal [2ef1d2] Protect the columns sorting against missing or ...
 .gitignore 2012-08-21 Frédéric Marchal Frédéric Marchal [77ac28] Ignore Doxygen files (hmtl and log)
 ABOUT-NLS 2011-01-12 Frédéric Marchal Frédéric Marchal [7b0f91] Update the po files
 BETA-TESTERS 2005-07-17 Guido Serassio Guido Serassio [25697a] This commit was generated by cvs2svn to compens...
 CMakeLists.txt 2022-03-30 Frederic Marchal Frederic Marchal [75f19c] Update version number.
 CONTRIBUTORS 2009-06-25 Frédéric Marchal Frédéric Marchal [d6e703] Mass commit of all the changes made between ver...
 COPYING 2005-07-17 Guido Serassio Guido Serassio [25697a] This commit was generated by cvs2svn to compens...
 ChangeLog 2022-03-30 Frederic Marchal Frederic Marchal [ec5e5f] Update changelog.
 DONATIONS 2009-06-25 Frédéric Marchal Frédéric Marchal [c37945] Changed Pedro's address in headers.
 Doxyfile 2015-10-02 Frederic Marchal Frederic Marchal [829548] Draw dependency graphs in doxygen documentation
 LICENSE 2005-07-17 Guido Serassio Guido Serassio [25697a] This commit was generated by cvs2svn to compens...
 Makefile.in 2015-06-10 Frederic Marchal Frederic Marchal [800eaf] Use a library to read gzip access.log files
 PROGRAMMERS 2010-02-02 Frédéric Marchal Frédéric Marchal [1164c4] Removed Pedro Orso's e-mail as per his request
 README 2011-11-01 Frédéric Marchal Frédéric Marchal [619e84] Add a note about sorttable.js to README
 README_cmake 2012-07-17 Frédéric Marchal Frédéric Marchal [f08b4a] Remove the old language files
 README_svn 2010-01-28 Frédéric Marchal Frédéric Marchal [0cdb57] Exclude the configuration script from svn as it...
 alias.c 2015-07-27 Frederic Marchal Frederic Marchal [7abbda] Accept case insensitive regular expressions
 archive.sh 2020-01-16 Frederic Marchal Frederic Marchal [75c200] Fix path in checksum files
 auth.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 authfail.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 btree_cache.c 2022-03-30 Frederic Marchal Frederic Marchal [458fac] Take absolute value of an int instead of a float
 config.h 2009-09-13 Frédéric Marchal Frédéric Marchal [b3695c] Use configurable paths for the files that used ...
 configure.ac 2022-03-30 Frederic Marchal Frederic Marchal [75f19c] Update version number.
 convlog.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 css.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 css.tpl 2010-05-27 Frédéric Marchal Frédéric Marchal [d183fb] Add an option to make sarg generates the css te...
 dansguardian_log.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 dansguardian_report.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 datafile.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 decomp.c 2016-10-30 Frederic Marchal Frederic Marchal [842d63] Add support to decompress xz files
 denied.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 dichotomic.c 2015-04-26 Frederic Marchal Frederic Marchal [af9618] Display the source of the message displayed on ...
 download.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 email.c 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 exclude.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 exclude_codes 2005-07-17 Guido Serassio Guido Serassio [25697a] This commit was generated by cvs2svn to compens...
 filelist.c 2015-10-04 Frederic Marchal Frederic Marchal [ad278b] Always display a message when exiting on a fail...
 fileobject.c 2015-06-10 Frederic Marchal Frederic Marchal [800eaf] Use a library to read gzip access.log files
 fnmatch.c 2015-04-26 Frederic Marchal Frederic Marchal [110ce9] Update the copyright year in every source file
 getconf.c 2022-03-30 Frederic Marchal Frederic Marchal [6ccaab] Add undeclared variable.
 grepday.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 htaccess 2005-07-17 Guido Serassio Guido Serassio [25697a] This commit was generated by cvs2svn to compens...
 html.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 index.c 2022-03-30 Frederic Marchal Frederic Marchal [b48fe1] Add more spaces to the code.
 indexonly.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 ip2name.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 ip2name_dns.c 2015-04-26 Frederic Marchal Frederic Marchal [af9618] Display the source of the message displayed on ...
 ip2name_exec.c 2015-04-26 Frederic Marchal Frederic Marchal [af9618] Display the source of the message displayed on ...
 lastlog.c 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 log.c 2022-03-30 Frederic Marchal Frederic Marchal [dd4463] Allow for very long connection time in report
 longline.c 2015-06-13 Frederic Marchal Frederic Marchal [a1e4e3] Restore support for bzip2 files
 readlog.c 2022-03-30 Frederic Marchal Frederic Marchal [dd4463] Allow for very long connection time in report
 readlog_common.c 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 readlog_extlog.c 2022-03-30 Frederic Marchal Frederic Marchal [dd4463] Allow for very long connection time in report
 readlog_sarg.c 2022-03-30 Frederic Marchal Frederic Marchal [dd4463] Allow for very long connection time in report
 readlog_squid.c 2022-03-30 Frederic Marchal Frederic Marchal [dd4463] Allow for very long connection time in report
 realtime.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 redirector.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 repday.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 report.c 2022-03-30 Frederic Marchal Frederic Marchal [dd4463] Allow for very long connection time in report
 sarg.1 2015-11-12 Frederic Marchal Frederic Marchal [384139] Update the man page
 sarg.conf 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 sarg_htaccess 2010-03-11 Frédéric Marchal Frédéric Marchal [d5d021] Build the .htaccess of each report out of a tem...
 sarg_manpage.xml 2015-11-12 Frederic Marchal Frederic Marchal [384139] Update the man page
 siteuser.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 smartfilter.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 sort.c 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 splintrc 2010-03-18 Frédéric Marchal Frédéric Marchal [2824ec] Apply a few more recommandation from splint
 splitlog.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 stringbuffer.c 2015-04-26 Frederic Marchal Frederic Marchal [110ce9] Update the copyright year in every source file
 topsites.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 topuser.c 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 totday.c 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 updatecyear.sh 2015-04-26 Frederic Marchal Frederic Marchal [b09cd5] Make the script to change copyright date execut...
 url.c 2015-06-10 Frederic Marchal Frederic Marchal [800eaf] Use a library to read gzip access.log files
 usage.c 2017-03-02 Frederic Marchal Frederic Marchal [4425fb] Update the option list in the usage page.
 user_limit_block 2009-12-11 Pedro Orso Pedro Orso [e3af0a] LDAP usertab feature added
 useragent.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 userinfo.c 2022-03-30 Frederic Marchal Frederic Marchal [67a884] Remove global variables declared in conf.h
 usertab.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code
 util.c 2022-03-30 Frederic Marchal Frederic Marchal [2f51d9] Uniform space layout in source code

Read Me

Sarg is a Squid Analysis Report Generator that allow you to view "where" your users
are going to on the Internet.
Sarg generates reports in html, with many fields, like: users, IP Addresses, bytes, sites and times.

Source: http://sourceforge.net/projects/sarg/


Installation
------------

1. run ./configure

   Useful configure options:
     --prefix - The root directory of the installation
               default: /usr/local

     --bindir - where sarg binary will be saved
               default: /usr/local/bin

     --sysconfdir - where the configuration directory is
               default: /usr/local/etc

     --mandir - where the sarg man page will be saved
               default: /usr/local/share/man

     --enable-sargphp - where to install sarg-php (--disable-sargphp don't install sarg-php)
               default: /var/www/html

     --enable-fontdir - where to find the fonts for the reports (--diable-fontdir don't install the fonts)
               default: /usr/local/share/sarg/fonts

     --enable-imagedir - where sarg take the images to include in the reports
               default: /usr/local/share/sarg/images

     --enable-extraprotection - compile sarg with extra GCC options for increased security
               default: use standard compilation warnings and no protection

   For a complete list of all the options, run ./configure --help.

3. make

4. make install

5. Go to /usr/local/sarg (or file entered with --sysconfdir on configure)
   and change sarg.conf as you need.

6. Notes about sarg:

   Date/Time report:
         Every minute that a request is logged your time is incremented by the smaller
         of 1 minute or the total time for the requests.

Usage: sarg -h

Sorttable.js
------------

Starting with sarg v2.3.2-pre2, a javascript is distributed along with sarg to
dynamically sort the reports. It is sorttable.js written by Stuart Langridge
and available at http://www.kryogenix.org/code/browser/sorttable/.  The version
included with sarg contains some fixes and improvements over the original
version. The patches have been reported to the author but he doesn't seem to
support it any more.

To use sorttable.js (or any other script including your own custom made
script), simply copy it to your website and edit sarg.conf to point the
sorttable option to the location of the script on your website. The path
indicated in sarg.conf must be the path as seen by a client visiting your
server.

Translations
------------

As of March 14th, 2010 (sarg 2.3), the translations have been ported to gettext. This makes it easier
to translate all the messages (the number of translated messages went from 144 to 448). Therefore, the
old language files are obsolete. The old translated message have been converted automatically to
gettext but due to the changes made to the strings in the program after the automatic conversion,
it is likely that the old messages are, at best, meaningless.

Translations are handled at http://translationproject.org/domain/sarg.html. If your language is
not yet supported or the current translation is obsolete, please check with the team working
on your language at the Translation Project to be sure nobody is assigned to sarg. If necessary,
contact the coordinator of that team to join the team and be assigned to sarg.

If no po file exists for you language, download the latest sarg.pot on this page
http://translationproject.org/domain/sarg.html and rename it as YourLanguageCode.po. See
http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes for the list of the
valid languages codes.

Translate YourLanguageCode.po (see http://www.gnu.org/software/gettext/manual/gettext.html for more informations).

Submit the translated po file to robot@translationproject.org. You must be a member of the team
working on the language for which you are submitting the po file or the robot will reject
your file. It is not necessary to fill the disclaimer to translate sarg.


Special thanks to:
Matteo Colombo <matteo@calcol.it> 			- Italian language
Palamarchuk Eugen <eugen@cit.od.ukrtel.net> 		- Russian language
Csaba Kabai <ckabai@icnpharm.com>			- Hungarian language
Evren Yurtesen <yurtesen@ispro.net.tr>          	- Turkish language
Andreas Piek <a.piesk@gmx.net>				- German language
Fred Pacquier <fredp@dial.oleane.com>			- French language
Leonardo A. D'Angelo <ldangelo@san-cayetano.com>	- Spanish language
Seth Mos <stimpy@stimpy.multiweb.nl>			- Dutch language
Milos Prudek <prudek@nembv.cz>                          - Czech language
Dima I. Allaverdov <allav@ur.rags.ru>                   - Russian_windows1251 language
V Gatut Harijiso <gatut@student.unpar.ac.id>		- Indonesian language
Ivan Minchev <vanko@uni-svishtov.bg>			- Bulgarian_windows1251 language
Akira Kitamura <click@anet.ne.jp>			- Japanese language
Radovan Drobnjakovic <admin.rts@rts.co.yu>		- Serbian language
Pieter Kooistra <pkooistra@hr.nl>			- Dutch language fix
Andrew Okhmat <andy@crgu.com>			        - Russian Koi8 language fixed
Nikolai V. Ivanyushin <koko@infocenter.bryansk.ru>	- Russian and Bulgarian language fix
Juris Valdovskis <juris@auce.lv>			- Latvian language
Jordan Kanev <dancho@globcom.net>			- Bulgarian language fix
Wszebor Boksa <Wszebor_Boksa@koncept.pl>		- Polish language
Adi Cretu <adi@usv.ro>					- Romanian language
Roman Vynar <rvynar@icqmail.com>			- Ukrainian_windows1251 language
Andreu Sanchez <tanis@lleida.com>			- Catalan language
Antonis Maglaras <vegos@magla.gr>			- Greek language
Dusan Woletz <Dusan.WOLETZ@orange.sk>			- Slovak Language
Jose Luis Hernandez <jhdz@simbiotica.net>		- Spanish language fix
Theo kastermans <t.kastermans@zandvoort.nl>		- Dutch language fix
Alex Deiter <tiamat@komi.mts.ru>			- Russian UTF-8 language
Josef Karliak <karliak@ajetaci.cz>			- Czech UTF-8
Igor Ageikin <iageikin@lipen.elektra.ru>		- Russian UTF-8 fix


Suggestions or remarks
----------------------

Any suggests or comments may be posted on the forum
http://sourceforge.net/projects/sarg/forums/forum/363374 or sent to Frederic Marchal
(fmarchal@users.sourceforge.net)
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.