LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-04-2006, 08:45 AM   #1
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Rep: Reputation: 30
Question proftpd 550


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!
 
Old 05-05-2006, 11:18 PM   #2
gabsik
Member
 
Registered: Dec 2005
Location: This planet
Distribution: Debian,Xubuntu
Posts: 567

Original Poster
Rep: Reputation: 30
Everything works fine now apart from the incoming dir where only uploads are allowed
I'm using a Umask 177 007 ....
<Directory incoming/*>

<Limit WRITE>
AllowAll
</Limit>
<Limit READ>
DenyAll
</Limit>
<Limit STORE STOU>
AllowAll
</Limit>
</Directory>

when upload a file it says "upload complete" but the incoming dir is empty !!!!!!!!

P.S.
How do i make separate comments when i post the forum ???How are they called separte script windows ? A separete window for peaces of code for example ..........

Last edited by gabsik; 05-05-2006 at 11:21 PM.
 
  


Reply

Tags
ggg



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
How can I tell if my pc is actually using the two PIII 550 CPUs? ExCIA Linux - Hardware 6 04-25-2005 02:07 PM
Sendmail 550: can't send outside [GOD]Anck Slackware 5 04-05-2005 02:44 PM
weired ProFtpd error: 550 Overwrite permission denied !! apache Linux - Software 1 07-23-2004 06:21 AM
Disabling the chroot in proftpd and enabling root logins on ssh/proftpd jon_k Linux - Software 1 06-16-2004 10:27 AM
Vsftpd help- 550 error hda Linux - Networking 1 10-15-2003 01:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:01 AM.

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