+ Responder ao Tópico



  1. #1
    cleberoli
    Visitante

    Padrão Estações só navegam depois de dar um squid -k reconfigure !!

    Salve pessoal !!!


    Tenho o squid rodando num FC3, mas estou tendo problemas nas estações de trabalho para navegar. O squid só libera a navegação após eu dar um squid -k reconfigure ou um service squid reload.
    Alguém saberia me dizer o que está rolando ??

    Se ajudar, segue o meu squid.conf !!!

    Valeu ...



    http_port 3128

    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY

    cache_mem 96 MB
    cache_swap_low 90
    cache_swap_high 95
    maximum_object_size 800 MB
    minimum_object_size 0 KB

    cache_dir ufs /var/spool/squid 100 16 256

    client_netmask 255.255.255.0

    error_directory /usr/share/squid/errors/Portuguese/

    refresh_pattern ^ftp: 1440 20% 10080
    refresh_pattern ^gopher: 1440 0% 1440
    refresh_pattern . 0 20% 4320

    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 SSL_ports port 443 563
    acl Safe_ports port 80 # http
    acl Safe_ports port 21 # ftp
    acl Safe_ports port 443 563 # https, snews
    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 Safe_ports port 901 # SWAT
    acl purge method PURGE
    acl CONNECT method CONNECT

    acl redelocal src 10.1.0.0/24
    http_access allow localhost
    http_access allow redelocal

    acl proibir_sites dstdomain "/etc/squid/dominios"
    http_access deny proibir_sites

    acl palavras_proib url_regex -i "/etc/squid/proibidas"
    acl livres src "/etc/squid/liberados"
    http_access deny palavras_proib livres
    http_access allow livres

    #acl sites_liberados url_regex -i "etc/squid/sites"
    #acl restritos src 192.168.0.0/24
    #http_access allow sites_liberados restritos

    http_access allow manager localhost
    http_access deny manager
    http_access allow purge localhost
    http_access deny purge
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports

    miss_access allow all

    http_access deny all

    visible_hostname explosao

    httpd_accel_host virtual
    httpd_accel_port 80
    httpd_accel_with_proxy on
    httpd_accel_uses_host_header on

  2. #2
    wrochal
    Visitante

    Padrão Estações só navegam depois de dar um squid -k reconfigure !!

    Caro,

    Apenas um dica:

    Comente:

    client_netmask 255.255.255.0

    E no http_port troque por:

    http_port IP_do_proxy:3128

    Sem Mais,

  3. #3
    cleberoli
    Visitante

    Padrão Valeu cara !!!

    Farei esta modificação !!! Obrigado pela força ...

    :clap: