+ Responder ao Tópico



  1. #1
    Emersux
    Visitante

    Padrão Estação não recebe tela de login para acessar ftp autenticad

    Tenho server Linux Conectiva 10 estações rWXP pro e quando tento acessar endereços ftp fora que não precisem de autenticação rola blz (ftp.uol.com.br), mas quando o server exige autenticação não aparece para o usuário a tela pedindo login e senha e o squid retorna erro de access denied.

    Fora outras regras de firewall a q trata o ftp é:

    ## Execucao de sessoes FTP
    insmod ip_conntrack_ftp
    insmod ip_nat_ftp



    A Pagina WEB retornada é:

    ERROR
    The requested URL could not be retrieved

    --------------------------------------------------------------------------------

    An FTP authentication failure occurred while trying to retrieve the URL: ftp://clientes.dpcomp.com.br/

    Squid sent the following FTP command:

    PASS <yourpassword>
    and then received this reply
    Login incorrect.

    Your cache administrator is webmaster.

    --------------------------------------------------------------------------------

    Pq a tela de login e senha não aparece antes deste erro ?

    Calma lá na resposta, digamos que sou um usuário esperto que demora
    mas axa o que procura !!!

  2. #2

    Padrão Estação não recebe tela de login para acessar ftp autenticad

    FTP usa as portas TCP 20 e 21.
    Essas portas estão liberadas em seu firewall ?

  3. #3
    wrochal
    Visitante

    Padrão Estação não recebe tela de login para acessar ftp autenticad

    Caro,

    Veja no squid se a opção ftp passive esta ativa.

    falou,

  4. #4
    Emersux
    Visitante

    Padrão Meu squid.conf

    http_port 3128
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    cache_mem 384 MB
    cache_swap_low 95
    cache_swap_high 98
    maximum_object_size 16384 KB
    maximum_object_size_in_memory 20 KB
    cache_dir ufs /var/cache/squid 10000 16 256
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log
    pid_filename /var/run/squid.pid
    #acl all src 0.0.0.0/0.0.0.0
    acl all src 0.0.0.0/0
    acl manager proto cache_object
    acl rede_interna src 192.168.0.0/24
    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 22 #SSH
    #acl Safe_ports port 44405 #MUOnline
    acl CONNECT method CONNECT
    http_access allow rede_interna
    icp_access allow rede_interna
    http_access deny all
    icp_access deny all
    visible_hostname LNX_SERVER_01
    httpd_accel_with_proxy on
    httpd_accel_port 80

  5. #5

    Padrão Re: Meu squid.conf

    Citação Postado originalmente por Emersux
    http_port 3128
    hierarchy_stoplist cgi-bin ?
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    cache_mem 384 MB
    cache_swap_low 95
    cache_swap_high 98
    maximum_object_size 16384 KB
    maximum_object_size_in_memory 20 KB
    cache_dir ufs /var/cache/squid 10000 16 256
    cache_access_log /var/log/squid/access.log
    cache_log /var/log/squid/cache.log
    cache_store_log /var/log/squid/store.log
    pid_filename /var/run/squid.pid
    #acl all src 0.0.0.0/0.0.0.0
    acl all src 0.0.0.0/0
    acl manager proto cache_object
    acl rede_interna src 192.168.0.0/24
    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 22 #SSH
    #acl Safe_ports port 44405 #MUOnline
    acl CONNECT method CONNECT
    http_access allow rede_interna
    icp_access allow rede_interna
    http_access deny all
    icp_access deny all
    visible_hostname LNX_SERVER_01
    httpd_accel_with_proxy on
    httpd_accel_port 80
    Tenta configurar as opções relacionadas à FTP no seu squid.conf.


    Abraços!