7 posts / 0 new
Last post
#1 Fri, 08/17/2007 - 08:56
winlinfix

proftp

Hi,

i am facing issue while login at ftp a/c... logs show following in /var/log/message USER testadmin: Login successful

but i am getting connection reset with login failed in ftp client. i tried filezilla / wx-ftp and windows default by cmd i am getting same problem.

so let me know the process of create ftp user and login problem

i am unable to see 21 port is open by doing netstat -n but i can see by netstat -a tcp 0 0 :ftp *: LISTEN
thank you,

Fri, 08/17/2007 - 23:49
Joe
Joe's picture

Sounds like active vs. passive firewall issues (e.g., you either need to switch your clients to match your firewall settings, or open your firewall further--ftp-data is definitely required, and you'll need at least a rule for ESTABLISHED,RELATED connections on the high ports, though I always just open the high ports 1024:).

--

Check out the forum guidelines!

Mon, 08/20/2007 - 13:18 (Reply to #2)
tony.p

Hi Joe,

may I ask you also one thing regarding ProFTPd. When I connect to one of my domains I can not issue the following important commands:

Cmd: SITE CHMOD 770 tmp
550: test: Permission denied
Cmd: MLST test.php
500: MLST not understood
Cmd: SIZE test.php
550: SIZE: Operation not permitted

Why is that? A setting in ProFTPd?

Thanks
Tony

Wed, 08/22/2007 - 09:23 (Reply to #3)
Joe
Joe's picture

Not sure. Sounds like it could be configuration in ProFTPd, but it could also be that the file is owned by someone other than what ProFTPd is dropping privileges to when chrooting.

You'll probably need to look in the secure.log or wherever it is that Mac OS X spits out login related errors (it's /var/log/secure.log on Red Hat based systems, for example). Maybe ProFTPd will have to have logging cranked up.

--

Check out the forum guidelines!

Wed, 08/22/2007 - 09:45 (Reply to #4)
tony.p

I checked, but nothing in secure.log.. the path is the same on OSX btw. ;)

But I found a setting in the ProFTPd Config wich I can not find in Webmin!?

[code:1]# Bar use of SITE CHMOD by default
<Limit SITE_CHMOD>
DenyAll
</Limit>[/code:1]

I guess that should be set to something else than "DenyAll". I figured if I can not find it in Webmin then it does not exist. Now I know... ;)

Tony

Wed, 08/22/2007 - 13:06 (Reply to #5)
tony.p

Uh.. I get this when trying to enter for instance a wrong range for PASV ports.. like 21 and 21

<div class='quote'>Error - Perl execution failed

Undefined subroutine &amp;proftpd::print_tempfie called at ./proftpd-lib.pl line 692</div>

Tony

Thu, 08/23/2007 - 01:06 (Reply to #6)
Joe
Joe's picture

Any time you see a perl error, it's a bug that ought to be filed in the ticket tracker.

Make sure you're running the latest version of everything, first, of course.

--

Check out the forum guidelines!

Topic locked