serving FTP on linux - which?

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
i was just planning on installing proftpd, but someone mentioned theopenbsd ftp server (and it wasnt n0cmonkey :Q)..so, considering i'mpretty ignorant in this area, tell me about your preference/recommendation. thanks :)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
bsd-ftpd (yes it's packed in Debian =)) is very featureless compared to ProFTPd, see if it's missing anything you want to use.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
i read a bit about it (although i couldnt find anything on the openbsd site - ???), seems perfect. i dont really need anything complex, so i suppose i will install it tonight (and get my site working :))
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
ok got it installed, i have anonymous working, but while installing (debian, debconf) i told it to not let normal users log into it. but, can i still create users for ftpd? i would like to be able to have:

1. anonymous ftp, download only, for whatever (already got that)
2. special login/directory where i can upload my site stuff, html, images, etc (the machine is also running apache)
3. later on perhaps, other logins for specific things or people or whatever.

i looked and looked and looked, searched on google and everything, there seems to be very little documentation. i found that /etc/ftpchroot contains users which need to be chroot'ed, but i dont even know how to make the users for it.

and thats the only documentation i could find, the manpage for /etc/ftpchroot. the in.ftpd man page just has command line options and whatnot.
 

nihil

Golden Member
Feb 13, 2002
1,479
0
0
i'm not sure if it works exactly the same with debian (i'm a kind of a *nix newbie). but i did find this. hope that helps. if not then i just look really stupid. :(
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< i'm not sure if it works exactly the same with debian (i'm a kind of a *nix newbie). but i did find this. hope that helps. if not then i just look really stupid. :( >>


dont worry, i look stupid all the time ;)

that would work, if i set up ftpd to allow normal users (ones in /etc/passwd) to log into ftp, but i decided not to, figuring there was a way to make users for ftpd. if not, i guess i'll have to go back and reconfig it to let normal users log in, and in that case, that link will definitely help :)
 

nihil

Golden Member
Feb 13, 2002
1,479
0
0


<< At Network Eleven we only use ProFTPD >>



i use bsd ftp on my open bsd box and it's rock solid. in fact i accidently left anon access on for 2 weeks (big mistake) and i had ~200 logins from around the world. someone even tried to exploit the server and they couldn't do it.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< scp :) >>


i have tried out scp (to make sure it was working and stuff), didnt think it would work very well for big directories and stuff. i'll go look at it now.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0


<<

<< scp :) >>


i have tried out scp (to make sure it was working and stuff), didnt think it would work very well for big directories and stuff. i'll go look at it now.
>>



I use ftp for *LARGE* files or a lot of files (sometimes), but I use scp more than anything else. I scp whole directories worth of stuff, or tar it before hand.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<<

<<

<< scp :) >>


i have tried out scp (to make sure it was working and stuff), didnt think it would work very well for big directories and stuff. i'll go look at it now.
>>



I use ftp for *LARGE* files or a lot of files (sometimes), but I use scp more than anything else. I scp whole directories worth of stuff, or tar it before hand.
>>


i checked out the man page and scp -pr should work perfect. dont even need the -p really but hey its good form :p. the machine is right next to me and they're connected @ 100Mb so speed is no big issue. thanks :D

edit: cool, done, site should be up now (link in sig everyone :D)
||
||
||
\/
 

N11

Senior member
Mar 5, 2002
309
0
0
i use bsd ftp on my open bsd box and it's rock solid. in fact i accidently left anon access on for 2 weeks (big mistake) and i had ~200 logins from around the world. someone even tried to exploit the server and they couldn't do it.

I, unfortunately, have little experience with BSD. I've installed it once and that is about as far as I've gotten.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
i checked out the man page and scp -pr should work perfect. dont even need the -p really but hey its good form. the machine is right next to me and they're connected @ 100Mb so speed is no big issue. thanks

The box's CPU affects scp more than the network speed because of all the encryption, I have a P133 that can saturate a 100Mb line with FTP but does about 1/5 that if I use scp.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0


<< i checked out the man page and scp -pr should work perfect. dont even need the -p really but hey its good form. the machine is right next to me and they're connected @ 100Mb so speed is no big issue. thanks

The box's CPU affects scp more than the network speed because of all the encryption, I have a P133 that can saturate a 100Mb line with FTP but does about 1/5 that if I use scp.
>>


yeah the other machine is a p233 and it took a few seconds to transfer, while normal data would have been almost instant. i thought about it and figured it was the encryption slowing it down. oh well, 2-3 seconds is fast enough for me :p
 
Mar 14, 2002
54
0
0
I recently had to copy an entire webroot from one machine to another (the source was an old sun box, with 10mbit ethernet and a 70mhz processor, the destination was a new dell with dual p3 gigahertz processors) ....

We initially considered using scp, but found that the encryption just took too long, and realized the easy way to do it was with NFS. Export the webroot from the old one, mount it somewhere convenient, and use normal cp -Rp to move it.

If you ever have to move LOTS of LARGE files, this is the way to go. Otherwise, scp is usually sufficient.