LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-23-2007, 04:53 AM   #1
Chrizzieej
Member
 
Registered: Jan 2007
Location: Netherlands, The
Posts: 51

Rep: Reputation: 15
Running Anonymous FTP on specified port with Proftpd


Hello,

I want to use Proftpd for my ftp-server, but I want two sorts of users to connect, normal users and anonymous users. I want anonymous users to connect to another port than the normal users. Anonymous users can download from a Public folder en can upload to an Incoming folder. I also want normal users to remove files from the Incoming folder.

Is this possible? If it's yes, can you help me pleasee?

Thanks, Chrizziej

Last edited by Chrizzieej; 01-23-2007 at 10:43 AM.
 
Old 01-25-2007, 02:11 AM   #2
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Have you looked at:
-proftpd's man pages?
-the proftpd.org website, especially the example configurations & FAQ? http://www.proftpd.org/docs/example-conf.html
I'm using vsftpd myself, so I can't help you. But it should be possible to allow both real users and the "anonymous" user and to define separate upload/download permissions for both.

As for connecting the different users to different ports: I'm not sure what you mean by that (please elaborate/give example). FTP uses different ports for control and data connections, which also depend on active vs passive ftp mode.
 
Old 01-25-2007, 09:19 AM   #3
Chrizzieej
Member
 
Registered: Jan 2007
Location: Netherlands, The
Posts: 51

Original Poster
Rep: Reputation: 15
I allready looked there. The problem is the userpermissions and the different ports:

I want normal users to connect to port 21 (default port) and I want anonymous users to connect to port 4000. I don't want the problem that all kinds of anonymous users can connect to my ftp-server.
 
Old 01-25-2007, 10:03 AM   #4
timmeke
Senior Member
 
Registered: Nov 2005
Location: Belgium
Distribution: Red Hat, Fedora
Posts: 1,515

Rep: Reputation: 61
Then disable anonymous ftp altogether.
Hackers/spammers/... often use port scanners to find out open ports (that's really easy).
So theyyour port 4000 will be found and used by users you don't want.

If you insist, you might want to have a look at tcpwrappers and other stuff like that.
 
  


Reply



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
ftp with proftpd JROCK1980 Linux - Software 1 09-06-2005 02:03 PM
FTP Server Up and running... how do I hide ftp users from local login screen? joe1031 Mandriva 2 03-18-2005 04:24 PM
proftpd (ftp server) Adrian13 Linux - Software 3 10-18-2004 04:22 PM
FTP Permissions With Proftpd Seventh Linux - Newbie 11 06-19-2004 02:25 PM
Proftpd - ftp help on fedora brevig Linux - Software 0 02-08-2004 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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