Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-24-2004, 05:51 AM
|
#1
|
LQ Newbie
Registered: Feb 2004
Posts: 9
Rep:
|
people connecting to my machine via ftp
hi all,
i have been keeping an eye on my servers log. I see that every now and again a certain ip connects to my machine and tries a few ftp connections using anonymous, test, irc etc. They are getting unknown user errors but is there anything I should do to make sure its safe?
I have a firewall and closed ports I dont use etc. I was thinking of setting up a rule that only allows my ip to use ftp and block everyone else as currently only I use the ftp.
Any thoughts? suggestions? or help?
Thanks!
Stewart
|
|
|
02-24-2004, 06:04 AM
|
#2
|
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658
Rep:
|
Having people probe your FTP server for holes is pretty common. If you're the only one who needs access, then by all means restrict it to only the IPs you need (an iptables rule would work fine). Usually its SOP to restrict access to services to as few systems as you possibly can.
|
|
|
02-24-2004, 07:14 AM
|
#3
|
LQ Newbie
Registered: Feb 2004
Posts: 9
Original Poster
Rep:
|
What does that mean? thanks again for your reply
|
|
|
02-24-2004, 07:22 AM
|
#4
|
LQ Newbie
Registered: Feb 2004
Posts: 9
Original Poster
Rep:
|
SOP = standard operating practice?
if so are you saying most ppl restrict to as few as possible
or
do you mean they restrict as much as possible?
|
|
|
02-24-2004, 08:00 AM
|
#5
|
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658
Rep:
|
Sorry, SOP=Standard Operating Procedure/Practice
Meaning you should try and give access only to those that need it. If you're the only one you want having FTP access, then restrict access to it, so that only your IP can access it. No sense in having it publicly accessible so that every clown out there can pound away at the FTP daemon if you don't need to. FTP and HTTP servers both seem to attract these kinds of probes, so you'll probably sleep better at night if you don't have to worry about who is doing what to your FTP server.
|
|
|
02-26-2004, 01:34 PM
|
#6
|
Member
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259
Rep:
|
To further back up what caveman said, I would also look at your ftp config files to make sure if there are restrications you can add to the server its self. Then take a look at ftpusers, in /etc/ftpusers add every account you can think of except yours.
One alternative to ftp if you are the only one who needs files off of this machine is: scp. A tool that comes with ssh, if you have sshd running anyway you may be able to close the ftp server.
Just some thoughts

|
|
|
All times are GMT -5. The time now is 05:33 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|