After upgrading from proftpd-1.2.9_rc2-1 to proftpd-1.2.9_rc3 the active mode stopped working. When using simple active mode, I get the following logfile entries on the server: Oct 24 21:18:11 goliath proftpd[15053]: goliath.??? (pD951302D.dip.t-dialin.net [217.81.48.45]) - Refused PORT 217,81,48,45,134,71 (address mismatch) This is the corresponding raw debug from lukemftp: ftp> ls ---> PORT 217,81,48,45,134,71 500 Illegal PORT command As you see, the IP addresses and port in the PORT command and the host I'm connecting from are the same. In proftpd-1.2.9_rc2-r1 this works flawlessly. Reproducible: Always Steps to Reproduce: 1. emerge =proftpd-1.2.9_rc3 2. connect to server with lukemftp 3. use simple active mode: in lukemftp the following settings are relevant: "passive off" and "epsv4 off" 4. try to do some transfers Actual Results: I'm getting the reply 500 Illegal PORT command from proftpd. Expected Results: Should accept the PORT command and transfer files ;) Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r6, 2.4.20-G-R7) ================================================================= System uname: 2.4.20-G-R7 i686 AMD Duron(tm) processor Gentoo Base System version 1.4.3.11 ccache version 2.3 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon -O3 -pipe -mfpmath=sse -foptimize-sibling-calls -fforce- addr -frerun-cse-after-loop -frerun-loop-opt -fgcse -fexpensive-optimizations - foptimize-register-move -funroll-loops -fprefetch-loop-arrays -fmove-all- movables -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args - msse -mmmx -m3dnow" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/env.d" CXXFLAGS="-march=athlon -O3 -pipe -mfpmath=sse -foptimize-sibling-calls -fforce- addr -frerun-cse-after-loop -frerun-loop-opt -fgcse -fexpensive-optimizations - foptimize-register-move -funroll-loops -fprefetch-loop-arrays -fmove-all- movables -fomit-frame-pointer -falign-functions=4 -maccumulate-outgoing-args - msse -mmmx -m3dnow -Wno-deprecated" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.tu- clausthal.de/pub/linux/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.inode.at/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 crypt encode foomaticdb gif jpeg mad ncurses nls pdflib png truetype xml2 zlib gdbm berkdb slang readline mysql tcpd pam libwww ssl perl python ldap acl apache2 curl flash gd gd-external imap innodb ipv6 lcms maildir mbox nptl php postgres sasl socks5 sse tiff wmf xml -oss -apm -arts -avi -cups -gpm -gtk - imlib -java -kde -gnome -libg++ -mikmod -motif -mpeg -opengl -qt -quicktime - sdl -spell -svga -X -xmms -xv -oggvorbis"
see http://bugs.proftpd.org/show_bug.cgi?id=2247
Upstream problem; seems to be resolved in 1.2.9. Please upgrade and report.
Works as expected.