LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-17-2006, 09:25 AM   #1
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Rep: Reputation: 31
the most secure ftp server today?


HI All,

I wanted to know which ftp server is the most secure?? Although, Im googling around, but I would like to hear your opinions too..

Thanks

Danish
 
Old 11-17-2006, 10:07 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
FTP isn't a very secure protocol. You'd do better to use sftp, or use a regular FTP service over a VPN.

As with anything, 80% of the security comes from setting it up properly.
 
Old 11-17-2006, 12:57 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If you insist on using an actual ftp server though, probably the one with the best current track record is vsftpd.

Stands for Very Secure FTP Daemon.
 
Old 11-18-2006, 02:00 AM   #4
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Original Poster
Rep: Reputation: 31
What about jscape secure ftp server? I was going through the website yesterday.
One more thing.

Like https:// . Isnt there a protocol called ftps://. From what I remember, it uses the port 990 and 995 I guess. I was wondering if I could set up a ftp server where in I can connect by giving the url
ftps://x.x.x.x:990..and once the ftp server is contacted, a certificate is thrown, from a CA, showing that data communication is encrytped..

Thanks
Danish
 
Old 11-18-2006, 06:42 AM   #5
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

Rep: Reputation: 282Reputation: 282Reputation: 282
According to /etc/services on my box 989 and 990. If it will work depends (as far as I know) if the browser supports the protocol.

Last note:
Why specify the port? You also don't specify it for https

PS: I use vsftpd for secure ftp; will try one day if it works from a browser.

Last edited by Wim Sturkenboom; 11-18-2006 at 06:43 AM.
 
Old 11-19-2006, 12:49 AM   #6
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Original Poster
Rep: Reputation: 31
Im using FC4..and there is no entry for port 990 and 989. But I had read on it somewhere..so wanted to implement it..Not sure how to..
Firefox does not support it..

IE does...i guess..

Well..if the port is specified in /etc/services..then I guess there is no need to specify ports in the url

Danish
 
Old 11-19-2006, 06:39 AM   #7
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally Posted by dsids
Im using FC4..and there is no entry for port 990 and 989. But I had read on it somewhere..so wanted to implement it..Not sure how to..
Firefox does not support it..

IE does...i guess..

Well..if the port is specified in /etc/services..then I guess there is no need to specify ports in the url

Danish
Usually when you want to set up a secure protocol, you need to create security certificates for the service in order for it to be secure. Just using the port number allocated for it doesn't make it secure.
 
Old 11-20-2006, 03:20 AM   #8
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by trickykid
Usually when you want to set up a secure protocol, you need to create security certificates for the service in order for it to be secure. Just using the port number allocated for it doesn't make it secure.
Yes..that is correct...Im gonna try it and get back to you with the errors..

Thanks
Danish
 
Old 11-20-2006, 07:45 AM   #9
dsids
Member
 
Registered: Mar 2006
Distribution: FC4
Posts: 184

Original Poster
Rep: Reputation: 31
Well, I created an ftp site on my LAN..and also created and loaded the certificates while starting the vsftpd server.

When I access the ftp server from a different machine using an ftp client like filezilla with the option FTP over SSL ( explicit encryption), a certicate pops up certifying the ftp server..But when I connect using a browser like IE..why am I given an error that Anonymous sessions must use encryption

Why is the certificate not showing?

my vsftpd.conf file


listen=YES

listen_address=192.168.10.235

anonymous_enable=YES


dirmessage_enable=YES

xferlog_enable=YES

connect_from_port_20=YES

rsa_cert_file=/usr/local/vsftpd-2.0.5/ftp_cert.pem

ssl_enable=YES

force_anon_logins_ssl=YES

Thanks
Danish
 
Old 11-28-2006, 04:23 PM   #10
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
You get the error because of your last line in the config file:

<CODE>
force_anon_logins_ssl=YES
</CODE>

You might see if there are any settings for FTP in IE that need adjusting - check the handling of certs in IE as well. Other than that I would presume it is an IE specific problem since another browser works...test more browsers.
 
Old 06-02-2016, 09:15 PM   #11
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
asking... the port number have to be 22 ? 23 ?
 
Old 06-03-2016, 05:50 AM   #12
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by fhleung View Post
asking... the port number have to be 22 ? 23 ?
No. the ftp service daemon can run on any open port.

The ftp protocol is insecure.
Use sftp or scp protocols.
 
Old 06-03-2016, 06:40 AM   #13
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,671
Blog Entries: 4

Rep: Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945Reputation: 3945
There are certain "commonly accepted port-numbers," and these are usually less-than 1024, which (briefly) requires root-privileges for the server to open them.

By "secure," the question is, "what do you mean by that?" The FTP protocol does not encrypt the traffic that's passing over the net; SFTP does. FTP also uses "simple password" authentication, which means that at some point a password is passing over the wire, unencrypted. But SFTP can accept "simple passwords," too.

Basically, if you want truly-secure communication, you have to eliminate passwords. There must be nothing, open to the public Internet, that anyone can "try to send a 'user-name and password' to," period.

When you go to work, you probably have to use a badge. You can't duplicate the badge, it's assigned uniquely to you, and when you leave the company your badge drops dead. (I have an Apple badge, for instance, but it won't get me into the front door at Cupertino now.) Certificate-based security can do the same thing.
 
Old 06-07-2016, 09:28 PM   #14
fhleung
Member
 
Registered: Aug 2004
Distribution: Lubuntu Live OS
Posts: 432

Rep: Reputation: 30
ok... SFTP
in Linux, what are the command(S) for SFTP ?
Code:
# scp
 
Old 06-08-2016, 01:41 AM   #15
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,330
Blog Entries: 3

Rep: Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726Reputation: 3726
If you are using a graphical interface, you can use your file manager. Usually there is a shortcut like ctrl-L or File->Connect to Server where you can enter a URI like this:

Code:
sftp://fhleung@server.example.org/some/path/
That will then connect you via your file manager to your remote SSH server using SFTP. At that point you can drag and drop and etc just like with local files.

Quote:
Originally Posted by fhleung View Post
ok... SFTP
in Linux, what are the command(S) for SFTP ?
Code:
# scp
It's sftp

Code:
sftp fhleung@server.example.org
and it can take several options. In advanced use, it can even pass options on to the underlying ssh. See the manual page for sftp for details. If you use keys + an agent then you can even automate sftp activities using the batch mode.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I secure my nis server ?can I use openSSL to secure it form sniffing ? abhi_raj Linux - Networking 1 07-10-2006 06:19 AM
Setting up a secure FTP and Tunneling Server Randvegeta Linux - Software 2 12-30-2005 10:44 AM
creating a secure ftp server with chrooting MisterESauce Linux - Networking 6 04-07-2005 11:22 AM
How to make a secure ftp server ? exalik Linux - Security 3 09-05-2003 04:21 AM
secure ftp server j-me Linux - Software 3 04-18-2003 11:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:39 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