Skocz do zawartości

Squid I Brak Logów ...


orrik

Rekomendowane odpowiedzi

Witam

NA FC6 zainstalowałem yume-em squida. Przerobiłem go do postaci jak poniżej. Muszę przyznać że internecik śmiga w sieci LAN spoko ale na serwerku w /var/log/squid/access.log i store.log nic nie ma. Logi są puste. cache log nie wykazuje jakichkolwiek błędów. Czy ktoś z Was może mi podpowiedzieć co może być przyczyną takiego zachowania ?

Oto mój konfig :

http_port 8080

hierarchy_stoplist cgi-bin ?

acl QUERY urlpath_regex cgi-bin \?

cache deny QUERY

acl apache rep_header Server ^Apache

broken_vary_encoding allow apache

cache_mem 8 MB

cache_swap_low 90

cache_swap_high 95

maximum_object_size 4096 KB

ipcache_size 1024

ipcache_low 90

ipcache_high 95

cache_replacement_policy lru

cache_dir ufs /s_cache/low 100 16 256

cache_dir ufs /s_cache/high 8000 16 128

logformat squid %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt

logformat squidmime %ts.%03tu %6tr %>a %Ss/%03Hs %<st %rm %ru %un %Sh/%<A %mt [%>h] [%<h]

logformat common %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st %Ss:%Sh

logformat combined %>a %ui %un [%tl] "%rm %ru HTTP/%rv" %Hs %<st "%{Referer}>h" "%{User-Agent}>h" %Ss:%Sh

access_log /var/log/squid/access.log squid

cache_log /var/log/squid/cache.log

cache_store_log /var/log/squid/store.log

mime_table /etc/squid/mime.conf

pid_filename /var/run/squid.pid

client_netmask 255.255.0.0

acl all src 0.0.0.0/0.0.0.0

acl manager proto cache_object

acl localhost src 127.0.0.1/255.255.255.255

acl to_localhost dst 127.0.0.0/8

acl SSL_ports port 443

acl Safe_ports port 80 # http

acl Safe_ports port 21 # ftp

acl Safe_ports port 443 # https

acl Safe_ports port 70 # gopher

acl Safe_ports port 210 # wais

acl Safe_ports port 1025-65535 # unregistered ports

acl Safe_ports port 280 # http-mgmt

acl Safe_ports port 488 # gss-http

acl Safe_ports port 591 # filemaker

acl Safe_ports port 777 # multiling http

acl CONNECT method CONNECT

 

http_access allow manager localhost

http_access deny manager

http_access deny !Safe_ports

http_access deny CONNECT !SSL_ports

acl our_networks src 192.168.0.0/24

http_access allow localhost

http_access deny all

 

http_reply_access allow all

icp_access deny all

cache_effective_user squid

cache_effective_user squid

visible_hostname ns1.domena.pl

icon_directory /usr/share/squid/icons

error_directory /usr/share/squid/errors/Polish

ie_refresh on

 

Pozdrawiam

Orrk

Odnośnik do komentarza
Udostępnij na innych stronach

Może to głupi pomysł, ale czy ktokolwiek w tej sieci ma wpisane proxy w przglądarce? :unsure:

 

Może źle myślę ale skoro mam w iptables zrobione przekierowanie z portu 80 na 8080 to w przeglądarce nie trzeba ustawiać adresu serwera proxy. A poza tym jeżeli wyłącze squida to pojawia się komunikat o niemożności skomunikowania się z serwerem poprzez serwer proxy - więc wg. mnie squid działa - ale niestety w logach mam pustkę.

 

Orrik

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...