problems with ftp server

Discussion in 'Installation/Configuration' started by webstergd, Dec 13, 2005.

  1. webstergd

    webstergd New Member

    when loging in with web-ftp I get the following error:
    Code:
     Could not connect as user webmaster
    If I connect directly to the server using firefox I am able to browse the ftp directory with the user webmaster and proper password. (different computer)

    If I connect using SmartFTP v1.5 here is the following error message: (from a different computer)
    Code:
        SmartFTP v1.5.990.2
        Resolving host name "www.axiompvp.com"
        Connecting to 24.125.34.87 Port: 21
        Connected to www.axiompvp.com.
    220 ProFTPD 1.2.10 Server (ProFTPD server) [192.168.1.55]
        USER webmaster
    331 Password required for webmaster.
        PASS (hidden)
    230 User webmaster logged in.
        SYST
    215 UNIX Type: L8
        FEAT
    211-Features:
     MDTM
     REST STREAM
     SIZE
    211 End
        PWD
    257 "/" is current directory.
        TYPE I
    200 Type set to I
        PASV
    227 Entering Passive Mode (192,168,1,55,128,34).
        Opening data connection to 192.168.1.55 Port: 32802
        LIST -aL
        Timeout (20s).
        Active Help: http://www.smartftp.com/support/kb/index.php/74
        Client closed the connection.
        Automatic failover of data connection mode from "Passive Mode (PASV)" to "Active Mode (PORT)".
    
    If i use gFTP I am able to log in perfectly. (on the server itself)

    Any idea's on why web-ftp is not allowing me to connect? I have been working on this for about 2 days currently and any help would be amazing. I need to finish the website in as little time as possible. I also have my senior engineering finals this week so I am a little short on time to figure it out myself.

    Thank you so much for your help
    webstergd
     
  2. webstergd

    webstergd New Member

    Server is set up using Perfect Fedora Core 4. I added programs and codec's in order to listen to music and watch movie and that is about it.
     
  3. webstergd

    webstergd New Member

    /etc/pam.d/ftp:
    Code:
    #%PAM-1.0
    auth    required        pam_unix.so     nullok
    account required        pam_unix.so
    session required        pam_unix.so
    I checked to see if the ftpclients that could connect could also upload and they cannot. it is also extreamly slow.
     
  4. webstergd

    webstergd New Member

    after playing with it I have been able to get web-ftp to work. no have idea how. Currently I cannot log into the server with any other ftp clients.
     
    Last edited: Dec 13, 2005
  5. falko

    falko Super Moderator Howtoforge Staff

    Have you tried both active and passive mode in your ftp clients?
    Might be a firewall problem... Can you post the output of
    Code:
    iptables -L
    ?
     
  6. webstergd

    webstergd New Member

    thank you for the reply. Ish Liber Dich! <- about the only German I can write. I can only understand spoken.

    in my router I set the server to DMZ. I also took down the firewall on my laptop, router, and server. Still same result. Passive and active both will not connect. Error:
    Code:
    Response:	227 Entering Passive Mode (192,168,1,55,129,155).
    Command:	LIST
    Error:	Transfer channel can't be opened. Reason: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
    Error:	Could not retrieve directory listing
    Command:	TYPE I
    iptables -L:
    Code:
    Chain FORWARD (policy DROP)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
    DROP       all  --  anywhere             anywhere
    
    Chain INPUT (policy DROP)
    target     prot opt source               destination
    DROP       tcp  --  anywhere             127.0.0.0/8
    ACCEPT     all  --  anywhere             anywhere            state RELATED,ESTABLISHED
    ACCEPT     all  --  anywhere             anywhere
    DROP       all  --  BASE-ADDRESS.MCAST.NET/4  anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    PUB_IN     all  --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain INT_IN (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain INT_OUT (0 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere
    ACCEPT     all  --  anywhere             anywhere
    
    Chain OUTPUT (policy ACCEPT)
    target     prot opt source               destination
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    PUB_OUT    all  --  anywhere             anywhere
    
    Chain PAROLE (9 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
    Chain PUB_IN (3 references)
    target     prot opt source               destination
    ACCEPT     icmp --  anywhere             anywhere            icmp destination-unreachable
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-reply
    ACCEPT     icmp --  anywhere             anywhere            icmp time-exceeded
    ACCEPT     icmp --  anywhere             anywhere            icmp echo-request
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ftp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:ssh
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:smtp
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:domain
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:http
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:81
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:pop3
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:https
    PAROLE     tcp  --  anywhere             anywhere            tcp dpt:10000
    ACCEPT     udp  --  anywhere             anywhere            udp dpt:domain
    DROP       icmp --  anywhere             anywhere
    DROP       all  --  anywhere             anywhere
    
    Chain PUB_OUT (3 references)
    target     prot opt source               destination
    ACCEPT     all  --  anywhere             anywhere
    
     

Share This Page