Is it possible to activate (without jails) the regular FTP server that comes with Free BSD and VSFTPD at the same time? ... also as it stands now on my vsftpd testing server it allows regular ftp access amonth other encrypted methods as well. if i do take the path you duggested by having two servers then id like to make VSFTPD use ONLY encrypted standards. currently i use core FTP to connect to it when testing and it does sucessefully pass my open SSL certificate. but how can i deny regular FTP to VSFTPD/ thanks
Main Topics
Browse All Topics





by: giltjrPosted on 2009-09-09 at 04:27:39ID: 25290014
Unfortunately I'm fairly sure you can't do it solely based on user id. The problem is that the user-id is not known until after the connection is made. It like saying I want all people named Bill to use door#1 and everybody else to use door#2, but you don't ask their name until after they have already entered the door.
What you would need to do is run two ftp servers, one for non-encrypted access and one for encrypted access. Then tell the users which one to use and only allow them to connect to the one you want them to access.
You can run two instances of vsftpd on the same server, but you will need to use either a unique IP address or a unique TCP port to separate the two.