Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-12-2006, 06:34 PM   #1
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 564

Rep: Reputation: 30
Exclamation Only Anonymous proftpd login issue

As a start here it is my proftpd.conf
ServerName			""
ServerType			standalone
ServerIdent                     off
DeferWelcome			off
MultilineRFC2228		on
DefaultServer			on
ShowSymlinks			on
TimeoutNoTransfer		600
TimeoutStalled			600
TimeoutIdle			1200
DisplayLogin                    welcome.msg
DisplayFirstChdir               .message
ListOptions                	"-l"
DenyFilter			\*.*/
#PersistentPasswd		off
#TLSEngine 			on
#Quotas				on
#Ratios				on
Port				21
MaxInstances			30
User				nobody
Group				nogroup
Umask				011  011
AllowOverwrite			on
DelayEngine 			on
DefaultRoot			~ftp
UseReverseDNS 			off
IdentLookups			off
PassivePorts                60000 65535
RootLogin                       off
ExtendedLog               /var/log/proftpd.log ALL default   

# A basic anonymous configuration, no upload directories.

 <Anonymous ~ftp>
   User				ftp
   Group			nogroup
   UserAlias			anonymous ftp
   DirFakeUser	on ftp
   DirFakeGroup on ftp
   DirFakeMode  4777
   RequireValidShell		off
   MaxClients			10
   DisplayLogin			welcome.msg
   DisplayFirstChdir		.message
# Limit WRITE everywhere in the anonymous chroot
   <Directory *>
# Uncomment this if you're brave.
 <Directory incoming/*>
   Umask				022  022
            <Limit READ>
            <Limit STOR MKD XMKD>
# PUB Downloads

<Directory pub/*>
 Umask 011

<Limit READ>

Basically i want anonymous foreign ips chrooted in /home/ftp where there is incoming dir only for uploads and none downloads and pub dir only for downloads and none uploads.The strangeness is when i connect with a command line ftp client proftpd allows the login if i use any other ftp client like gftp, windows cuteftp , filezilla ecc. it refuses login as anonymous and as normal user.
this is gftp log:
gFTP 2.0.18, Copyright (C) 1998-2003 Brian Masney <>. If you have any questions, comments, or
suggestions about this program, please feel free to email them to me. You can always find out the latest news about
gFTP from my website at
gFTP comes with ABSOLUTELY NO WARRANTY; for details, see the COPYING file. This is free software, and you are
welcome to redistribute it under certain conditions; for details, see the COPYING file
Successfully changed local directory to /home/ftp
Looking up
Connected to
220 FTP server ready
USER anonymous

331 Anonymous login ok, send your complete email address as your password.
PASS xxxx
230-Welcome to FTP dot GABRIX dot FOO dot CX Just do class A !!!
230 Anonymous access granted, restrictions apply.

215 UNIX Type: L8

200 Type set to A

257 "/" is current directory.
Loading directory listing / from server (LC_TIME=en_GB)

227 Entering Passive Mode (82,61,84,174,250,156).
Cannot create a data connection: Connection refused
Disconnecting from site

An another weerdness is i'm using directive
ExtendedLog /var/log/proftpd.log ALL default
for logging but /etc/proftpd.log stays empty one more head scratch ....
Well if anyone wants to give a try can contact me personally on skype at gabx666.
Post here any other question.Thanks !

Last edited by gabsik; 11-12-2006 at 07:30 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPD 1.2.10 Standalone - Unable to login with non-anonymous account dalesan Linux - Networking 3 10-14-2005 06:41 PM
Proftpd and anonymous login problem from localhost. immer Linux - Networking 0 12-12-2004 07:36 AM
Proftpd Anonymous login sxp03m Red Hat 0 10-28-2003 06:55 AM
proftpd anonymous login issues jstander Linux - Software 3 05-05-2003 07:11 PM
Proftpd Anonymous login badsvt351 Linux - Networking 2 02-15-2002 05:15 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:50 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration