##-----------------------------------------------------------------------------
## squid.txt - fli4l configuration parameters                      3.0.1
##
##        P L E A S E   R E A D   T H E   D O C U M E N T A T I O N ,
##                      S E E   R E A D M E . T X T
##
##        B I T T E  U N B E D I N G T   D I E   D O K U M E N T A T I O N
##              L E S E N ,  S I E H E   R E A D M E . T X T
##
##
##
## OPT basiert auf - OPT_SQUID 2.1.7 - 1.1
##                   von Hermann Strassner (hermann.strassner@web.de)
##
##                 - OPT_NEWSQUID 2.0
##                   von Dominik Egert (fli4l@killus.net)
##
##
## Letzte Bearbeitung: 07.05.2006   Ingo Winiarski (iwiniarski@gmx.de)
##
##
##
## This program is free software; you can redistribute it and/or modify
## it under the terms of the GNU General Public License as published by
## the Free Software Foundation; either version 2 of the License, or
## (at your option) any later version.
##-----------------------------------------------------------------------------

#------------------------------------------------------------------------------
# Optional package: PROXY (squid)
#------------------------------------------------------------------------------
OPT_SQUID='no'
SQUID_TRANSPARENT_CACHING='no'                  # squid redirects port 80 to
                                                # cache clients who do not
                                                # enter proxy in configuration
SQUID_HTTP_PORT='3128'                          # Squid listens on this port
                                                # default: 3128
SQUID_MEM_CACHE_SIZE='8'                        # in MB
                                                # default: 8
SQUID_DISK_CACHE_SIZE='128'                     # in MB
                                                # first Squid cache directory
SQUID_MAX_OBJECT_SIZE='65536'                   # maximum size of objects in
                                                # cache in kB
SQUID_WORK_DIR='/data/squid'                    # dir where cache and logs are
                                                # stored. Must have rw access
                                                # and should not be deleted on
                                                # reboot

#----------------------------------
# log file settings:
#----------------------------------
SQUID_CYCLE_LOG_N='10'                          # number of logfile rotations
                                                # (0=disable the rotation)
SQUID_CYCLE_LOG_TIME='172800'                   # if empty default of 48 hours
                                                # will be used. You have to set
                                                # it in seconds(48h=172800sec.)
                                                # could be 1h (3600) if you
                                                # have not enough space
                                                # after X sec. log files will
                                                # be deleted to free up space
SQUID_ACCESS_LOG='yes'                          # create access.log or not
SQUID_HTTPD_LIKE_LOG='yes'                      # emulate httpd like log entries
                                                # to make them more readable
                                                # e.g. if you don't want to have
                                                # a unix like timestamp in your
                                                # log's
                                                # prevents some loganalyzers

#----------------------------------
# squid network settings:
#----------------------------------
SQUID_AUTO_CONFIG='yes'                         # configure allowed networks
                                                # with networks in base.txt
SQUID_ACCESS_NET_N='0'                          # number of IP ethernet networks
SQUID_ACCESS_NET_1='10.0.0.0/8'                 # network wich is allowed to
                                                # access squid
SQUID_ACCESS_NET_2='172.16.0.0/12'              # network wich is allowed to
                                                # access squid
SQUID_ACCESS_NET_3='192.168.0.0/16'             # network wich is allowed to
                                                # access squid

#----------------------------------
# squid advanced settings:
#----------------------------------
SQUID_CONNECT_TIMEOUT='60'                      # time duration until which squid
                                                # waits for reply from server
SQUID_CACHE_DIR_N='0'                           # define more than cache dirs
                                                # if you want to spread cache
                                                # over multiple disks
SQUID_CACHE_1_DIR='/disk2/squid-cache'          # where the cache is located
SQUID_CACHE_1_SIZE='1000'                       # in MB

SQUID_NEXT_PROXY='no'                           # Parent Proxy
SQUID_NEXT_PROXY_URL='www-proxy.t-online.de'    # URL or IP of Parent Proxy
SQUID_NEXT_PROXY_PORT='80'                      # Port Parent Proxy
