+ Responder ao Tópico



  1. #1
    Emersux
    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. FTP usa as portas TCP 20 e 21.
    Essas portas estão liberadas em seu firewall ?



  3. #3
    wrochal
    Caro,

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

    falou,

  4. #4
    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



  5. 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!






Tópicos Similares

  1. Hots pot nao abre tela de login
    Por felipeschmidt no fórum Redes
    Respostas: 7
    Último Post: 08-02-2009, 22:13
  2. Respostas: 6
    Último Post: 26-01-2009, 23:51
  3. Hotspot Nao Abre Tela De Login
    Por correarct no fórum Redes
    Respostas: 1
    Último Post: 12-05-2008, 21:21
  4. Terminal Server não exibe tela de login
    Por scarmagnani no fórum Servidores de Rede
    Respostas: 2
    Último Post: 15-08-2006, 13:00
  5. Respostas: 1
    Último Post: 02-07-2006, 20:07

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L