192.168.1.3 UNKNOWN ftp [04/May/2006:15:25:41 +0200] "RETR /pub//Software//Analisi reti WiFi//Kismet//kismet-3.0.1.tar.gz*" 550 -
192.168.1.3 UNKNOWN ftp [04/May/2006:15:25:41 +0200] "PASV" 227 -
192.168.1.3 UNKNOWN ftp [04/May/2006:15:25:41 +0200] "CWD /pub//Software//Analisi reti WiFi//Kismet//kismet-3.0.1.tar.gz*"550 -
This is the message whene i try to download a file from my ftp.I'm using really "free" rules lots of <Limit ALL>AllowAll</Limit> to be precise here is my proftpd.conf:
ServerName "ProFTPD Anonymous Server"
ServerType standalone
Port 21
Bind 192.168.1.6
RootLogin off
ShowSymlinks off
<Limit LOGIN>
DenyAll
</Limit>
User nobody
Group nogroup
MaxInstances 30
TimeoutStalled 300
DisplayLogin welcome.msg
DisplayFirstChdir .message
ListOptions "-F"
DefaultRoot ~
DenyFilter \*.*/
Umask 011 011
AllowOverwrite on
DelayEngine on
UseReverseDNS off
ExtendedLog /var/log/ftp_paranoid.log ALL default
<Anonymous ~ftp>
DirFakeMode 0776
<Limit LOGIN>
AllowAll
</Limit>
<Limit ALL>
AllowAll
</Limit>
MaxClients 5 "Sorry, max %m users -- try again later"
User ftp
Group nogroup
UserAlias
anonymous ftp
<Directory /*>
<Limit SITE_CHMOD DELETE>
DenyAll
</Limit>
<Limit ALL>
AllowAll
</Limit>
</Directory>
<Directory uploads/*>
<Limit READ>
DenyAll
</Limit>
<Limit STOR WRITE MKD XMKD>
AllowAll
</Limit>
</Directory>
<Directory pub/*>
<Limit ALL>
AllowAll
</Limit>
<Limit SITE_CHMOD DELETE>
DenyAll
</Limit>
</Directory>
</Anonymous>
These are file ownership and permissions on chroot /home/ftp
drwxrwxrw- 4 ftp nogroup 4096 May 2 16:15 ftp
inside:
drw-rw-rw- 2 ftp nogroup 4096 May 2 13:44 incoming
drwxrw-rw- 7 ftp nogroup 4096 May 3 14:05 pub
-r--r--r-- 1 ftp nogroup 318 May 2 19:39 welcome.msg
It should be clear i want in the chroot a directoy where is possible to download and just download and the incoming for upload and i would not use much longer all this "freedom"!!!
I hope someone helps !!!!
thanks!