Visualizzazione dei risultati da 1 a 3 su 3

Discussione: [ubuntu] squid+ftp

  1. #1
    Utente di HTML.it
    Registrato dal
    Jan 2003
    Messaggi
    177

    [ubuntu] squid+ftp

    avrei bisogno di una mano
    le ho provate tutte ma non riesco a capire come mai non mi funziona la connessione FTP attraverso proxy squid. la connessione viene effttuata tramite filezilla con ovviamente impostato il proxy http 1.1
    premetto che il firewall l'ho testati ed configurato correttamente
    ecco un estratto del file di conf

    Codice PHP:

    acl manager proto cache_object
    acl localhost src 127.0.0.1
    /32
    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


    acl mediaweb src 172.28.118.0
    /24
    acl ospiti src 172.28.116.0
    /24
    acl authenticated proxy_auth REQUIRED 


    acl app dst 172.28.32.0
    /255.255.240.0
    acl HTTP proto HTTP

    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 app 
    http_access allow mediaweb 
    http_access allow authenticated ospiti 
    http_access deny ospiti 
    http_access deny all 
    questo il log di due tentate connessioni ftp


    10/Sep/2008 19:09:56 172.28.115.240 si-0247.ausl.fo.it - CONNECT ftp.sitoftp.com:21 NONE/- text/html TCP_DENIED HTTP/1.1
    10/Sep/2008 19:10:08 172.28.115.240 si-0247.ausl.fo.it - CONNECT ftp.sitoftp1.com:21 NONE/- text/html TCP_DENIED HTTP/1.1

    ciao e grazie

  2. #2
    Utente di HTML.it
    Registrato dal
    Jan 2003
    Messaggi
    177
    dimenticavo...se metto un
    http_access allow all

    prima di

    http_access deny CONNECT !SSL_ports
    ftp funzia

    se lo metto dopo smette di andare

    se commento http_access deny CONNECT !SSL_ports
    non funzia.


  3. #3
    Utente di HTML.it
    Registrato dal
    Jan 2003
    Messaggi
    177
    risolto con

    http_access allow CONNECT

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.