• Post Reply Bookmark Topic Watch Topic
  • New Topic

ftpd - installed? howto?  RSS feed

 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Another ignorant linux question:
I want to run ftp on my linux box but it's not running, and might not even be installed.
It's not even in my linuxconf commands and daemons GUI manager as an available service.
I did "whereis" and found some files in the man pages directories, but nothing else.
In the Redhat package manager, it seems though I have a whole bunch of ftpd variants installed - wu-ftp, anonftp and trivialftp servers.
Reading the man page for ftpd though, it says this is normally started by inetd, about which I haven't found out much yet.
So what I want to ask is:
is anonftp as simple as it really sounds, or is there another better ftp server that is almost just as simple?
Also, how do I get programs to appear in my linuxconf services list? Is that only for rpm installs? I noticed iptables wasn't in there, presumably because I didn't install it as an rpm, but just downloaded it.
TIA
Adam
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adam - ftp daemons will normally be disabled.
They are normally started as needed by xinetd.
Look in the directory:
/etc/xinetd.d
and you should find a config file for wu-ftpd.
Change enable=no to enable=yes (or maybe it is disable=yes to disable=no). Restart xinetd. This should get you started.
Relevant:
man xinetd
man xinetd.conf
man chkconfig
Also the 'service' script for which there is no man page.
Cannot help you with the GUI config manager, ...
Regards, Guy
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd be careful running an ftp daemon. If you do use wu-ftpd make sure you read up on all the security updates.
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I agree with Sean about the security issues - my assumption is you want to allow it on a totally open in-house LAN, but not from the outside world.
This S/B easily handled in firewall code.
G.
 
Sean Casey
Ranch Hand
Posts: 625
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Following up with what Guy said, I hope you are running a firewall, or a firewall script of some sort. If you're using Redhat, you should check out Bastille - it's pretty user-friendly, but if you really want to get you're hands dirty you should check out the ipchains or iptables (depending on your kernel version) tutorials.
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am running iptables and have set up a bunch of rules that drop all incoming non-response packets.
But I'm not an expert at it and I have my doubts whether it's 100% secure at the moment. I was running Kazaa the file sharing program and I saw someone uploading my files, which I thought the firewall would block - not that I want to not share, I just want my firewall to work first.
Thanks for the info about xinetd. Probably would have thrashed around in the dark for a while because of that little 'x'.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!