PDA

View Full Version : SUSE Perfect Setup - ProFTPD Problem


melefire
13th November 2006, 22:53
Hello, I set up a suse 10.1 server using your instructiuons and every thing worked exept proftpd. When i atempt to connect to my server via ftp i connect then the connection is closed.

Could someone please help me fix the problem?
Thanks

falko
14th November 2006, 16:30
Are there any errors in your logs? What's the output of netstat -tap and ps aux|grep -i apparmor?

melefire
14th November 2006, 22:16
there does not appear to be any errors. i can also accses FTP from an online ftp client, don't know if this means anything

melefire
14th November 2006, 22:19
Oh and this is what i see in SmartFTP from a remote computer:

SmartFTP v1.5.991.32
Resolving host name "**.***.***.**"
Connecting to **.***.***.** Port: 21
Connected to **.***.***.**.
220 ProFTPD 1.3.0 Server (mainserver) [::ffff:192.168.1.25]
USER matt@teknoblog.net
331 Password required for matt@teknoblog.net.
PASS (hidden)
230 User matt@teknoblog.net logged in.
SYST
215 UNIX Type: L8
FEAT
211-Features:
MDTM
REST STREAM
SIZE
211 End
PWD
257 "/" is current directory.
TYPE A
200 Type set to A
PASV
An established connection was aborted by the software in your host machine.
Server closed connection

so possibly someone can tell the problem from that

falko
15th November 2006, 17:35
Did you try both active and passive transfers in your FTP client? Might be a firewall problem.

melefire
15th November 2006, 22:45
I can not transfer at all, i get on then defore the directory loads it kicks me off...
EDIT:
when i do
ftp localhost
it works so i think there is a problem with accsesing it out of the firewall

falko
16th November 2006, 17:06
Please switch off the firewall and try again.

melefire
21st November 2006, 00:25
Um i think i located the problem, the passive ftp does not work, i can log in but when i run the ls command its hangs.
it configured the ftp to only use port 6111 for passive,
then i forwarded it on my netgear router to 192.168.1.25, my suse server
but it still does not work!! i know ftp server works becuase i can do transfers from within the network but i can't transfer from out side

falko
21st November 2006, 17:00
Either use active transfers, or have a look here: http://www.howtoforge.com/forums/showthread.php?t=6104&highlight=60000