mirror of
https://github.com/darold/squidanalyzer.git
synced 2025-07-31 01:44:29 +02:00
Add documentation about the new "Include" configuration directive.
This commit is contained in:
parent
eebcf06dc5
commit
8fe09bbe27
24
README
24
README
@ -303,6 +303,30 @@ CONFIGURATION
|
|||||||
|
|
||||||
you can have multiple line of the same exclusion type.
|
you can have multiple line of the same exclusion type.
|
||||||
|
|
||||||
|
Include inclusion_file
|
||||||
|
Used to set client ip addresses, network addresses or auth login to
|
||||||
|
include into the report. All others will not be included. It works
|
||||||
|
as the opposite of the Include parameter.
|
||||||
|
|
||||||
|
You can define one by line inclusion by specifying first the type of
|
||||||
|
the inclusion (USER or CLIENT) and a space separated list of valid
|
||||||
|
regex.
|
||||||
|
|
||||||
|
You can also use the NETWORK type to define network address with
|
||||||
|
netmask using the CIDR notation: xxx.xxx.xxx.xxx/n
|
||||||
|
|
||||||
|
See example bellow:
|
||||||
|
|
||||||
|
NETWORK 192.168.1.0/24 10.10.0.0/16
|
||||||
|
CLIENT 192\.168\.1\.2
|
||||||
|
CLIENT 10\.169\.1\.\d+ 192\.168\.10\..*
|
||||||
|
USER myloginstr
|
||||||
|
USER guestlogin\d+ guestdemo
|
||||||
|
URI http:\/\/myinternetdomain.dom.*
|
||||||
|
URI .*\.webmail\.com\/.*\/login\.php.*
|
||||||
|
|
||||||
|
you can have multiple line of the same inclusion type.
|
||||||
|
|
||||||
Lang language_file
|
Lang language_file
|
||||||
Used to set the translation file to be used. Value must be set to a
|
Used to set the translation file to be used. Value must be set to a
|
||||||
file containing all string translated. See the lang directory for
|
file containing all string translated. See the lang directory for
|
||||||
|
@ -324,6 +324,30 @@ See example bellow:
|
|||||||
|
|
||||||
you can have multiple line of the same exclusion type.
|
you can have multiple line of the same exclusion type.
|
||||||
|
|
||||||
|
=item Include inclusion_file
|
||||||
|
|
||||||
|
Used to set client ip addresses, network addresses or auth login
|
||||||
|
to include into the report. All others will not be included. It
|
||||||
|
works as the opposite of the Include parameter.
|
||||||
|
|
||||||
|
You can define one by line inclusion by specifying first the type of the
|
||||||
|
inclusion (USER or CLIENT) and a space separated list of valid regex.
|
||||||
|
|
||||||
|
You can also use the NETWORK type to define network address with netmask
|
||||||
|
using the CIDR notation: xxx.xxx.xxx.xxx/n
|
||||||
|
|
||||||
|
See example bellow:
|
||||||
|
|
||||||
|
NETWORK 192.168.1.0/24 10.10.0.0/16
|
||||||
|
CLIENT 192\.168\.1\.2
|
||||||
|
CLIENT 10\.169\.1\.\d+ 192\.168\.10\..*
|
||||||
|
USER myloginstr
|
||||||
|
USER guestlogin\d+ guestdemo
|
||||||
|
URI http:\/\/myinternetdomain.dom.*
|
||||||
|
URI .*\.webmail\.com\/.*\/login\.php.*
|
||||||
|
|
||||||
|
you can have multiple line of the same inclusion type.
|
||||||
|
|
||||||
=item Lang language_file
|
=item Lang language_file
|
||||||
|
|
||||||
Used to set the translation file to be used. Value must be set to
|
Used to set the translation file to be used. Value must be set to
|
||||||
|
@ -124,7 +124,7 @@
|
|||||||
.\" ========================================================================
|
.\" ========================================================================
|
||||||
.\"
|
.\"
|
||||||
.IX Title "SQUIDANALYZER 1"
|
.IX Title "SQUIDANALYZER 1"
|
||||||
.TH SQUIDANALYZER 1 "2013-12-23" "perl v5.14.2" "User Contributed Perl Documentation"
|
.TH SQUIDANALYZER 1 "2014-01-31" "perl v5.14.2" "User Contributed Perl Documentation"
|
||||||
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
|
||||||
.\" way too many mistakes in technical documents.
|
.\" way too many mistakes in technical documents.
|
||||||
.if n .ad l
|
.if n .ad l
|
||||||
@ -455,6 +455,31 @@ See example bellow:
|
|||||||
.Ve
|
.Ve
|
||||||
.Sp
|
.Sp
|
||||||
you can have multiple line of the same exclusion type.
|
you can have multiple line of the same exclusion type.
|
||||||
|
.IP "Include inclusion_file" 4
|
||||||
|
.IX Item "Include inclusion_file"
|
||||||
|
Used to set client ip addresses, network addresses or auth login
|
||||||
|
to include into the report. All others will not be included. It
|
||||||
|
works as the opposite of the Include parameter.
|
||||||
|
.Sp
|
||||||
|
You can define one by line inclusion by specifying first the type of the
|
||||||
|
inclusion (\s-1USER\s0 or \s-1CLIENT\s0) and a space separated list of valid regex.
|
||||||
|
.Sp
|
||||||
|
You can also use the \s-1NETWORK\s0 type to define network address with netmask
|
||||||
|
using the \s-1CIDR\s0 notation: xxx.xxx.xxx.xxx/n
|
||||||
|
.Sp
|
||||||
|
See example bellow:
|
||||||
|
.Sp
|
||||||
|
.Vb 7
|
||||||
|
\& NETWORK 192.168.1.0/24 10.10.0.0/16
|
||||||
|
\& CLIENT 192\e.168\e.1\e.2
|
||||||
|
\& CLIENT 10\e.169\e.1\e.\ed+ 192\e.168\e.10\e..*
|
||||||
|
\& USER myloginstr
|
||||||
|
\& USER guestlogin\ed+ guestdemo
|
||||||
|
\& URI http:\e/\e/myinternetdomain.dom.*
|
||||||
|
\& URI .*\e.webmail\e.com\e/.*\e/login\e.php.*
|
||||||
|
.Ve
|
||||||
|
.Sp
|
||||||
|
you can have multiple line of the same inclusion type.
|
||||||
.IP "Lang language_file" 4
|
.IP "Lang language_file" 4
|
||||||
.IX Item "Lang language_file"
|
.IX Item "Lang language_file"
|
||||||
Used to set the translation file to be used. Value must be set to
|
Used to set the translation file to be used. Value must be set to
|
||||||
|
Loading…
x
Reference in New Issue
Block a user