Bug#628471: proftpd fails to enable passive mode if SQLShowInfo directive is used

Francis Brosnan Blázquez francis at aspl.es
Sun May 29 09:45:06 UTC 2011


Package: proftpd-basic
Version: 1.3.3a-6squeeze1

Having a working proftpd configuration tested on lenny machines, it
seems there are some interaction with SQLShowInfo instruction causing
proftpd to fail to enable passive mode. 

The way to reproduce the problem is to enable passive connection from a
client on localhost (to discard firewall problems).

>> ftp localhost
(after introducing user and password)

ftp> passive on
Passive mode on.

ftp> ls
200 Type set to A
Passive mode address scan failure.Shouldn't happen!

After googling it seems there are other proftpd users that found the
same issue [1]. 

In our case, to solve the issue just comment declaration (SQLShowInfo)
inside proftpd.conf:

 # SQLShowInfo PASS "230" "You've logged on %{getcount} times, %u"

After restarting proftpd everything works fine.
Regards,

[1] http://bugs.proftpd.org/show_bug.cgi?id=3423







More information about the Pkg-proftpd-maintainers mailing list