vnstat
Спасибо!
Пользователь решил продолжить мысль 05 Марта 2010, 09:45:14:
Проблема.
С такой конфигурацией инет работает медленно (медленно грузяться страниы). Делит трафик на разные прокси
...
cache_peer 192.168.1.69 parent 8080 0 name=xx1 userhash
cache_peer 192.168.161.9 parent 8080 0 name=xx2 userhash
cache_peer 192.168.1.4 parent 8088 0 name=xx3 userhash
acl nomy src "/etc/squid/4b8cfeef09ae6.sams"
acl nomy src "/etc/squid/4b8fa0df25dfb.sams"
acl nomy src "/etc/squid/4b8fa6cda9e95.sams"
acl my src "/etc/squid/4b8fafc0444d7.sams"
...
cache_peer_access xx3 allow my
acl loc_server dstdomain 192.168.161.10
acl proxy1 dst ubuntu.ru
cache_peer_access xx1 allow proxy1
never_direct allow proxy1
never_direct deny loc_server
cache_peer_access xx2 allow nomy
never_direct allow all
С такой конфигурацией пытается пробиться только через прокси на 192.168.1.69.
...
cache_peer 192.168.1.69 parent 8080 0 name=xx1 userhash
cache_peer 192.168.161.9 parent 8080 0 name=xx2 userhash
cache_peer 192.168.1.4 parent 8088 0 name=xx3 userhash
acl nomy src "/etc/squid/4b8cfeef09ae6.sams"
acl nomy src "/etc/squid/4b8fa0df25dfb.sams"
acl nomy src "/etc/squid/4b8fa6cda9e95.sams"
acl my src "/etc/squid/4b8fafc0444d7.sams"
...
cache_peer_access xx3 allow my
acl loc_server dstdomain 192.168.161.10
#acl proxy1 dst ubuntu.ru
#cache_peer_access xx1 allow proxy1
#never_direct allow proxy1
never_direct deny loc_server
cache_peer_access xx2 allow nomy
never_direct allow all
С такой конфигурацией работает шустро через обе прокси.
...
#cache_peer 192.168.1.69 parent 8080 0 name=xx1 userhash
cache_peer 192.168.161.9 parent 8080 0 name=xx2 userhash
cache_peer 192.168.1.4 parent 8088 0 name=xx3 userhash
acl nomy src "/etc/squid/4b8cfeef09ae6.sams"
acl nomy src "/etc/squid/4b8fa0df25dfb.sams"
acl nomy src "/etc/squid/4b8fa6cda9e95.sams"
acl my src "/etc/squid/4b8fafc0444d7.sams"
...
cache_peer_access xx3 allow my
acl loc_server dstdomain 192.168.161.10
#acl proxy1 dst ubuntu.ru
#cache_peer_access xx1 allow proxy1
#never_direct allow proxy1
never_direct deny loc_server
cache_peer_access xx2 allow nomy
never_direct allow all
В чем может быть проблема???