+ Responder ao Tópico



  1. #1

    Arrow Squid Bloqueia Webmail!

    bom dia, estou com um problema aqui na minha empresa, o squid esta bloqueando o acesso a pagina do meu webmail. eu ja inclui ele na lista dos permitidos e nada..

    vou encaminhar para voces o endereço e o squid.conf... se alguem puder ajudar fico grato

    URL:

    https://mail.master.agr.br:243/cgi/webmail/cgi-bin/openwebmail/openwebmail.pl
    mail.master.agr.br:243

    SQUID.CONF

    http_port 3128
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    cache deny QUERY
    acl apache rep_header Server ^Apache
    broken_vary_encoding allow apache
    access_log /var/log/squid/access.log squid
    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 to_localhost dst 127.0.0.0/8
    # ------- Define Rede Local
    acl rede_interna src 192.168.2.0/24
    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 Safe_ports port 243 # webmail
    acl CONNECT method CONNECT
    #As excessoes
    acl unblockedsites url_regex -i "/etc/squid/bloqueados/liberado.txt"
    #Lista de palavras e ou sites proibidos
    acl blockedsites url_regex -i "/etc/squid/bloqueados/proibido.txt"
    # acl nova
    acl liberado url_regex "/etc/squid/lib.txt"
    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    http_access allow localhost
    http_access deny blockedsites !unblockedsites
    http_access allow unblockedsites
    http_access allow liberado
    # ------- Libera Rede local -------
    http_access allow rede_interna
    http_access deny all
    http_reply_access allow all
    # Regras Especificas
    #http_access allow rede_interna
    icp_access allow all
    coredump_dir /var/cache/squid

  2. #2

    Padrão

    http_access deny blockedsites !unblockedsites
    http_access allow unblockedsites
    http_access allow liberado
    Cara, te recomendo utilizar da seguinte forma:

    http_access allow unblockedsites
    http_access allow liberado
    http_access deny blockedsites

    Faz uns testes e depois retorne o resultado...

  3. #3

    Padrão

    Citação Postado originalmente por PEdroArthurJEdi Ver Post
    Cara, te recomendo utilizar da seguinte forma:

    http_access allow unblockedsites
    http_access allow liberado
    http_access deny blockedsites

    Faz uns testes e depois retorne o resultado...
    Mesma coisa!!!

    q droga!

    ERROR
    The requested URL could not be retrieved
    --------------------------------------------------------------------------------
    While trying to retrieve the URL: mail.master.agr.br:243
    The following error was encountered:
    Access Denied.
    Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
    Your cache administrator is webmaster.

    --------------------------------------------------------------------------------
    Generated Tue, 15 Jan 2008 10:32:25 GMT by LinuxVPN.masteriv (squid/

  4. #4

    Padrão

    Citação Postado originalmente por ricardomaster Ver Post
    Mesma coisa!!!

    q droga!

    ERROR
    The requested URL could not be retrieved
    --------------------------------------------------------------------------------
    While trying to retrieve the URL: mail.master.agr.br:243
    The following error was encountered:
    Access Denied.
    Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
    Your cache administrator is webmaster.

    --------------------------------------------------------------------------------
    Generated Tue, 15 Jan 2008 10:32:25 GMT by LinuxVPN.masteriv (squid/
    acl rede src 192.168.0.0/24
    acl webmail port 243

    http_access allow rede webmail


    coloca essas acl's em cima das outras principal da http_acces deny all!

  5. #5

    Padrão

    Citação Postado originalmente por ricardomaster Ver Post
    Mesma coisa!!!
    ERROR
    The requested URL could not be retrieved
    --------------------------------------------------------------------------------
    While trying to retrieve the URL: mail.master.agr.br:243
    The following error was encountered:
    Access Denied.
    Rapaz, sua mensagem de erro disse tudo...

    troque:
    acl Safe_ports port 243 # webmail
    por:
    acl SSL_ports port 243
    talvez seu webmail precise utilizar o método CONNECT que é liberado pela:
    acl CONNECT method CONNECT
    http_access deny CONNECT !SSL_ports