##----------------------------------------------------------------------------- ## squid.txt - fli4l configuration parameters __FLI4LVER__ ## ## 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 ## ## Creation: 14.01.2001 mb ## Last Update: 17.09.2001 mb ## ## ## ## 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_ACCESS='192.168.0.0/24' # network wich is allowed to # access squid SQUID_TRANSPARENT_CACHING='yes' # also cache the surfer who # doesn't entered proxy in # their browser SQUID_HTTP_PORT='3128' # default: 3128 SQUID_DISK_CACHE_SIZE='400' # in MB SQUID_MEM_CACHE_SIZE='8' # in MB - must be smaller than # SQUID_DISK_CACHE_SIZE SQUID_WORK_DIR='/usr/local/data/squid' # dir where cache and logs are # stored. Must have rw access # and should not be deleted on # reboot 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 OPT_SQUID_BLOCK_PORN='no' # blocks porn sites # See documentation!!! #---------------------------------- # squid advanced settings: #---------------------------------- 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_HEADER_MAX_SIZE='10' # default is 10. it is set in # KB. it possibly bewares you # from buffer-overflows or DOS # attacks # if you get problems, leave # empty SQUID_BODY_MAX_SIZE='' # default: empty. set a limit # to the size of file user can # download via squid. set in KB # can be used to prevent user # from downloading MP3's or # moviez SQUID_QUICK_ABORT_SIZE='16' # set in KB. if user stops/ # breaks download less than # this value, squid will # finish download # default 16 KB. nice if you # are surfing and continue # clicking although time was # too less to cache in squid. # if enabled, site will be # downloaded and cached (you'll # get a cache hit if going back # now). SQUID_QUICK_PCT='95' # if more than SQUID_QUICK_PCT # of the transfer has completed # squid will finish the # retrieval. SQUID_POSITIVE_DNS_CACHE='6' # set in hours. default 6. # there can be problems with # some dynDNS providers (IP # changes, but wrong IP in # cache) .. # won't affect you if using # squid in transparent mode # (browser does DNS lookups # direktly) SQUID_NEGATIVE_DNS_CACHE='3' # default 3. set in minutes SQUID_READ_TIMEOUT='15' # default 15. set in minutes SQUID_CONNECT_TIMEOUT='120' # default 120. set in seconds SQUID_REQUEST_TIMEOUT='30' # default 30. set in seconds