#visible_hostname 192.168.100.3
visible_hostname localhost
http_port 3128

icp_port 3130

#cache_effective_user squid
#cache_effective_group squid

#http://www.proxy-listen.de/Proxy/Proxyliste.html
##92.246.220.61
##195.35.223.10:3128 Нидерладны
##176.31.89.107	3128 Франция
##176.31.224.128	80 Франция
## 213.246.52.37:3129	Франция (блочит пл)
## 213.186.46.43:3128	Франция (сильно тормозит)
## 195.157.156.70	8080	Франция ошибка 403
## 213.186.46.43	3128	Франция

##88.80.208.224	80 Германия
# Германия
#195.37.234.5	80
#cache_peer 195.37.234.5 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#88.80.208.224	80
#cache_peer 88.80.208.224 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#212.184.184.171	80 Крайне долгий ответ с сервера
#cache_peer 212.184.184.171 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#88.80.208.22
#cache_peer 88.80.208.22 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1


#VE
#190.202.223.85	8080 Забанен
#cache_peer 190.202.223.85 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1

#Gabon
#41.158.128.190 80
#cache_peer 41.158.128.190 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1


## Франция
## Закрылась прокся
#cache_peer 176.31.89.107 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##Error 403
#cache_peer 195.157.156.70 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1
#cache_peer 213.186.46.43 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#cache_peer 176.31.224.128 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=2
##Error 403
#cache_peer 213.246.52.37 parent 3129 0 no-query no-digest no-netdb-exchange round-robin weight=1
#188.165.201.94	80
#cache_peer 188.165.201.94 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#94.23.250.210	80	
#cache_peer 94.23.250.210 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#91.121.147.18 3128 Есть коннэкт
#cache_peer 91.121.147.18 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1


#Нидерланды
#195.35.223.10	3128
cache_peer 195.35.223.10 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#176.34.235.172	80 Есть контакт
#cache_peer 176.34.235.172 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#195.200.82.161	80 Серивис недоступен (забанен)
#cache_peer 195.200.82.161 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#77.249.93.97	80 Очень долго думает
#cache_peer 77.249.93.97 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1


# Россия
##62.76.191.241	3129 Видит наличие прокси
#cache_peer 62.76.191.241 parent 3129 0 no-query no-digest no-netdb-exchange round-robin weight=1
##195.189.109.43	3128 (блочит пл)
#cache_peer 195.189.109.43 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##81.25.55.138	3128 (504 ошибка)
#cache_peer 81.25.55.138	parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##194.36.161.212	3128 (Zero Sized Reply)
#cache_peer 194.36.161.212 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##109.252.242.81	3128 (Zero Sized Reply)
#cache_peer 109.252.242.81 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##109.191.240.175	3128 (Zero Sized Reply)
#cache_peer 109.191.240.175 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##46.229.182.130	3128 (светит реальный ардес, не использовать) (Zero Sized Reply)
#cache_peer 46.229.182.130 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#178.206.228.161	8080 Забанен
#cache_peer 178.206.228.161 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1
#94.137.247.36	3128	
#cache_peer 94.137.247.36  parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#188.143.232.47	3128
#cache_peer 188.143.232.47  parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
# 217.76.35.238	3128
#cache_peer 217.76.35.238  parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1


#Китай
#221.122.53.228 3128 Показывает наличие прокси и наш ип
#cache_peer 221.122.53.228 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#122.72.2.180
#cache_peer 122.72.2.180 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1


#Кувейт
#168.187.42.100	80 Забанено проксёй из-за местных законов страны
#cache_peer 168.187.42.100 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1

#Филипины
#85.92.159.84	8080
#cache_peer 85.92.159.84 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1

#Замбия
#41.223.116.54	8080 Запрещают слишком далёкие ресурсы
#cache_peer 41.223.116.54 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1

# США
#50.78.12.41	80 Неработает
#cache_peer 50.78.12.41 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#67.55.115.76	8080 Забанен
#cache_peer 67.55.115.76 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1
#69.163.96.22	8080 Забанен
#cache_peer 69.163.96.22 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1
#65.51.47.106	80
#cache_peer 65.51.47.106 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#72.64.146.73	3128
#cache_peer 72.64.146.73 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#216.18.208.54	3128
#cache_peer 216.18.208.54 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#207.67.110.238	80
#cache_peer 207.67.110.238 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#209.114.41.168	80
#cache_peer 209.114.41.168 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#184.106.66.30	80
#cache_peer 184.106.66.30 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#50.63.128.49	80
#cache_peer 50.63.128.49 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#70.60.135.134	8080
#cache_peer 70.60.135.134 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1

#50.57.134.15	80 Есть коннэкт, правда тормозной ))))))))))))))))))))))))))))))))
#cache_peer 50.57.134.15 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1

#71.246.204.189	3128 Забанен
#cache_peer 71.246.204.189 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#76.94.232.72	80 Коннэкт есть, крайне тормозной коннэкт ))))))
#cache_peer 76.94.232.72 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#174.137.152.60	8080	Забанен
#cache_peer 174.137.152.60 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1
#216.155.139.115	3128 Есть коннэкт, не отправляет пост запросы (не даёт авторизоваться)
#cache_peer 216.155.139.115 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#69.252.120.90	80 Долго думает, но страница прилетает полностью сразу
#cache_peer 69.252.120.90 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
#23.19.68.66	3128 Самый лучший коннэкт ) Забанен
#cache_peer 23.19.68.66 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
#66.160.159.108 8080
#cache_peer 23.19.68.66 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1


#http://www.samair.ru/proxy/
#cache_peer 190.167.213.228  parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=1
#cache_peer 195.199.205.26  parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=2
#cache_peer 77.91.174.37  parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=3
#cache_peer 187.35.83.132  parent 6588 0 no-query no-digest no-netdb-exchange round-robin weight=4
## close##cache_peer 186.114.205.130  parent 8085 0 no-query no-digest no-netdb-exchange round-robin weight=5
#cache_peer 95.65.27.202  parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=6

#109.200.97.254:3128 V Pishma
#cache_peer 109.200.97.254 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1

##2011.11.04
##109.123.178.124:3128
#cache_peer 109.123.178.124 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##114.213.251.63:8080
#cache_peer 114.213.251.63 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=2
##114.213.254.253:8080
#cache_peer 114.213.254.253 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=3
#119.147.146.135:8080
#cache_peer 119.147.146.135 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=4
##119.167.225.1:80
#cache_peer 119.167.225.1 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=5
##178.173.19.162:8080
#cache_peer 178.173.19.162 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=6
##178.208.90.102:3128
#cache_peer 178.208.90.102 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=7
##180.210.207.174:8118
#cache_peer 180.210.207.174 parent 8118 0 no-query no-digest no-netdb-exchange round-robin weight=8
##188.133.205.79:808
#cache_peer 188.133.205.79 parent 808 0 no-query no-digest no-netdb-exchange round-robin weight=9


##Список проксей высокой анонимности без обнаружения прокси, динамичный ип:
##204.56.0.137:3128 ип динамичный (меняется при загрузке каждой страницы) + страница приветствия
#cache_peer 204.56.0.137 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##133.1.74.163:3128 ип динамичный (меняется при загрузке каждой страницы) + страница приветствия
#cache_peer 133.1.74.163 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=2
##164.73.47.244:3127 ип динамичный, меняется примерно раз в несколько минут
#cache_peer 164.73.47.244 parent 3127 0 no-query no-digest no-netdb-exchange round-robin weight=3
##133.1.74.163:3124 ип динамичный (меняется при загрузке каждой страницы)
#cache_peer 133.1.74.163 parent 3124 0 no-query no-digest no-netdb-exchange round-robin weight=4


##Список проксей высокой анонимности без обнаружения прокси, статичный ип:
##82.138.95.56:80 ип 149.6.161.50
#cache_peer 82.138.95.56 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=1
##74.54.156.73:80 ип такой же
#cache_peer 74.54.156.73 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=2
##128.232.103.203:3128 ип 195.113.161.82 страница приветствия
#cache_peer 128.232.103.203 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=3
##164.73.47.244:3124 ип 195.113.161.83, очень долгий ответ + страница приветствия
#cache_peer 164.73.47.244 parent 3124 0 no-query no-digest no-netdb-exchange round-robin weight=4
##128.232.103.203:3124 ип такой же + страница приветствия
#cache_peer 128.232.103.203 parent 3124 0 no-query no-digest no-netdb-exchange round-robin weight=5
##77.88.66.251:8000 ип такой же, имя хоста отсутствует
#cache_peer 77.88.66.251 parent 8000 0 no-query no-digest no-netdb-exchange round-robin weight=6



#cache_peer 192.168.100.2 parent 3128 0 no-query no-digest no-netdb-exchange
#cache_peer 114.30.47.10 parent 80 0 no-query no-digest no-netdb-exchange
#cache_peer 91.143.58.1 parent 80 0 no-query no-digest no-netdb-exchange

#191011 Saint-Petersburg, Russia, Lomonosova sq. 1
#cache_peer 80.93.186.195 parent 3128 0 no-query no-digest no-netdb-exchange


##cache_peer 91.149.187.83 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=1
##cache_peer 92.241.101.148 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=2
##cache_peer 81.91.63.154 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=3
##cache_peer leased-line-91-149-187-83.telecom.by parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=4
##cache_peer ip-208-109-190-98.ip.secureserver.net parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=5
#- cache_peer s010600112fdac9b6.ed.shawcable.net parent 8085 0 no-query no-digest no-netdb-exchange round-robin weight=6
#- cache_peer cust-181-151.on4.ontelecoms.gr parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=7
#- cache_peer bxn133.internetdsl.tpnet.pl parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=8
#--cache_peer 94.244.176.133.nash.net.ua parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=9
#--cache_peer server48997.santrex.net parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=10
#--cache_peer torcache01.xplornet.com parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=11
#--cache_peer 77.94.32.172.satgate.net parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=12
#--cache_peer ks27853.kimsufi.com parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=14
#--cache_peer proxy2.telconet.net parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=15
#- cache_peer zaggazow.fastsh.it parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=16
#--cache_peer 91.203.240.114 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=17
#--cache_peer 92.238.108.209 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=18
#-cache_peer 92.233.110.126 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=19
#--cache_peer 219.139.158.59 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=20
#--cache_peer 218.14.227.197 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=21
#cache_peer 75.76.217.190 parent 8085 0 no-query no-digest no-netdb-exchange round-robin weight=22
#--cache_peer 58.19.176.200 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=23


###cache_peer 211.138.124.197 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=24
###cache_peer 80.251.128.196:8080 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=33


#cache_peer 202.83.163.94 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=25
#-cache_peer 202.65.113.146 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=26
#-cache_peer 211.138.124.198 parent 80 0 no-query no-digest no-netdb-exchange round-robin weight=27
##--cache_peer 67.228.104.31 parent 12345 0 no-query no-digest no-netdb-exchange round-robin weight=28
#cache_peer 91.186.30.28 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=30
##--cache_peer 84.255.220.2 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=31
##--cache_peer 91.196.37.130 parent 3128 0 no-query no-digest no-netdb-exchange round-robin weight=32



#cache_peer 87.224.170.133 parent 4421 0 no-query no-digest no-netdb-exchange round-robin weight=10
# cache_peer 87.224.229.101 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=11
# cache_peer 87.224.229.101 parent 1080 0 login=:1 no-query no-digest no-netdb-exchange round-robin weight=4
# cache_peer 87.224.163.150 parent 1080 0 login=:1 no-query no-digest no-netdb-exchange round-robin weight=5
# cache_peer 87.224.203.150 parent 8080 0 no-query no-digest no-netdb-exchange round-robin weight=6
# cache_peer 87.224.248.12 parent 4282 0 no-query no-digest no-netdb-exchange round-robin weight=7

dead_peer_timeout 50 seconds # (как долго ждать прежде, чем объявить соседа "мертвым") 
cache_store_log none  # (журнал записи объектов в дисковый кеш; автор рекомендуют поставить none, т.к. программ анализа все равно нет, нужен ли?) 
forwarded_for off # если включено - по умолчанию - то squid будет вставлять IP-адрес или имя в заголовок перенаправляемых 

cache_access_log /var/log/squid/access.log 
# /root/squid_access.log  # /usr/local/squid/logs/access.log # (журнализируется каждый запрос к кешу) 
#cache_log /var/log/squid/squid_cache.log  #/usr/local/squid/logs/cache.log # (журнал запусков процессов) 

cache_mem 4 MB
maximum_object_size 1024 KB 
cache_swap_low 95
cache_swap_high 99 
dns_nameservers 127.0.0.1

cache_dir ufs /var/spool/squid 12 1 16

ie_refresh off
balance_on_multiple_ip on
pipeline_prefetch on

ftp_user anonymous@
ftp_list_width 32 
ftp_passive on
ftp_sanitycheck on 

# connect_timeout 1 seconds

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl all dst 0.0.0.0/0

#acl dst_host_hidden dst "/etc/squid/dst_host_hidden"

#acl dst_besplatno dst "/etc/squid/dst_besplatno"
#acl dst_private dst "/etc/squid/dst_private"
#acl src_besplatno src "/etc/squid/src_besplatno"
#acl src_private src "/etc/squid/src_private"
#acl src_unlim src "/etc/squid/src_unlim"
acl src_internet src "/etc/squid/src_internet"
acl dst_pornolab dst "/etc/squid/pornolab"
acl limit maxconn 4

acl limit_unlim maxconn 10

# acl unlim src 192.168.200.0/27

acl reklama1 url_regex -i "/etc/squid/urls"
acl reklama2 url_regex -i "/etc/squid/urls_porno"
acl reklama3 urlpath_regex -i "/etc/squid/urls_pcre"
acl reklama4 urlpath_regex -i "/etc/squid/urls_reklama"
acl noreklama dst "/etc/squid/urls_access"
acl my_filter dst "/etc/squid/my_filter"

# Свежесть объектов 30 дней
refresh_pattern -i \.gif$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.png$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.jpg$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.jpeg$ 43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.pdf$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.zip$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.tar$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.gz$   43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.tgz$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.exe$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.prz$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.ppt$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.inf$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.swf$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.mid$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.wav$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.mp3$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.avi$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.mpg$  43200 100% 43200 override-lastmod override-expire 
refresh_pattern -i \.mpeg$  43200 100% 43200 override-lastmod override-expire 

#always_direct allow localhost
#always_direct allow allowed_hosts
#always_direct deny all

# always_direct allow dst_besplatno
# always_direct allow dst_kabinet
# always_direct allow dst_private
# never_direct allow all !dst_besplatno !dst_kabinet !dst_private

never_direct allow dst_pornolab
always_direct deny dst_pornolab
############never_direct allow all
############always_direct deny all
always_direct allow all
never_direct deny all 
#!dst_pornolab

#always_direct allow dst_pornolab
#never_direct allow !dst_pornolab
#never_direct allow all
#always_direct deny all

# http_access deny manager all


# always_direct allow dst_host_hidden


##always_direct deny dst_host_hidden
##never_direct allow dst_host_hidden



#http_access allow src_private dst_private !reklama1 !reklama2 !reklama3
#http_access allow src_besplatno dst_besplatno !limit !reklama1 !reklama2 !reklama3
#http_access allow src_unlim !dst_private !limit_unlim !reklama1 !reklama2 !reklama3

#header_access Referer deny all
#header_access Expiries deny all

forwarded_for off

header_access Via deny all
header_access X-Forwarded-For deny all
#header_access User-Agent deny all
#header_replace User-Agent Mozilla

#http_access allow src_internet noreklama
http_access deny my_filter
http_access allow src_internet !reklama1 !reklama3 !reklama4

#!reklama3
http_access deny all

#icp_access allow allowed_hosts
#icp_access deny all
