Update documentation to clarify the use of space character in aliases files. Thanks to Darren Spruell for the report.

This commit is contained in:
Gilles Darold 2017-04-03 11:20:22 +02:00
parent 31467ff936
commit bc2bfa22a6
3 changed files with 10 additions and 6 deletions

6
README
View File

@ -297,7 +297,8 @@ CONFIGURATION
LOCATION_NAME IP_NETWORK_ADDRESS LOCATION_NAME IP_NETWORK_ADDRESS
Separator must be a tabulation. Separator must be a tabulation this allow the use of space character
in the network alias name.
You can use regex to match and group some network addresses. See You can use regex to match and group some network addresses. See
network-aliases file for examples. network-aliases file for examples.
@ -318,7 +319,8 @@ CONFIGURATION
FULL_USERNAME LOGIN_NAME FULL_USERNAME LOGIN_NAME
Separator for both must be a tabulation. Separator for both must be a tabulation this allow the use of space
character in the user alias name.
You can use regex to match and group some user login or ip You can use regex to match and group some user login or ip
addresses. See user-aliases file for examples. addresses. See user-aliases file for examples.

View File

@ -308,7 +308,8 @@ create a file with this format:
LOCATION_NAME IP_NETWORK_ADDRESS LOCATION_NAME IP_NETWORK_ADDRESS
Separator must be a tabulation. Separator must be a tabulation this allow the use of space character
in the network alias name.
You can use regex to match and group some network addresses. See You can use regex to match and group some network addresses. See
network-aliases file for examples. network-aliases file for examples.
@ -328,7 +329,8 @@ user name for example, create a file with this format:
FULL_USERNAME LOGIN_NAME FULL_USERNAME LOGIN_NAME
Separator for both must be a tabulation. Separator for both must be a tabulation this allow the use of space character
in the user alias name.
You can use regex to match and group some user login or ip addresses. See You can use regex to match and group some user login or ip addresses. See
user-aliases file for examples. user-aliases file for examples.

View File

@ -1,8 +1,8 @@
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
# Squid Analyzer User Alias configuration file # Squid Analyzer User Alias configuration file
# FORMAT : FULL_USER_NAME IP_ADDRESS|LOGIN_NAME,LOGIN_REGEX # FORMAT : FULL_USER_NAME IP_ADDRESS|LOGIN_NAME,LOGIN_REGEX
# Field separator must be one or more tabulation. Space in user name are not # Field separator must be one or more tabulation. Space in user are allowed.
# allowed. See example below # See example below
#------------------------------------------------------------------------------- #-------------------------------------------------------------------------------
#MyFirstName mylogin,192.168.1.12 #MyFirstName mylogin,192.168.1.12
#MyOtherNames logon\d+ #MyOtherNames logon\d+