The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
how to block a user temporarily? winky AIX 3 06-19-2007 10:27 AM
Anonymous User ronald_brayan UNIX for Advanced & Expert Users 1 02-28-2007 03:49 AM
Want to block ftp for root user jumadhiya SUN Solaris 3 02-07-2007 05:01 AM
Disable anonymous ftp???? rrivas UNIX for Dummies Questions & Answers 2 06-21-2002 02:49 PM
Anonymous FTP Server ByondF1 UNIX for Dummies Questions & Answers 6 04-02-2002 08:24 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 04-10-2008
dennisheazle dennisheazle is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 13
How to block an anonymous ftp user?

Could anyone provide information on how to block a specific client machine from being able to log onto anonymous ftp?
  #2 (permalink)  
Old 04-10-2008
lowbyte lowbyte is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 73
Hey,

which FTP-Server do you use?
Every FTP-Server has a config file, here you can filter every user.

CU
lowbyte
  #3 (permalink)  
Old 04-10-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
Or if it's a particular IP address, drop it in hosts.deny
  #4 (permalink)  
Old 04-10-2008
dennisheazle dennisheazle is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 13
Thanks for your quick replies

We are using Redhat Linux.
  #5 (permalink)  
Old 04-10-2008
dennisheazle dennisheazle is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 13
Another thing

When I use the "last command" the attacking server's ID shows as "can59-4-82-240-1". Can this be used as the IP address in the hosts.deny file.
For example would this work?
ALL : can59-4-82-240-1
  #6 (permalink)  
Old 04-10-2008
era era is offline Forum Advisor  
Herder of Useless Cats (On Sabbatical)
  
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 3,652
That looks truncated. Do you know the full domain name for that?

Many ISPs have a convention to put the IP address in the host name for dynamic (dial-up or home ADSL) users. By that convention, it would look like the IP address for this host would be 59.4.82.240, or possibly 4.82.240.1 (or maybe even 1.240.82.4 or 240.82.4.59; but those are not valid / allocated anyway).

Sometimes the reverse DNS is missing, and in that case, using the host name won't work. The DNS lookup will take time anyway, so using the bare IP address is probably more efficient.

If this is a dynamic user, they could come up at a different IP address the next time they reconnect to their ISP.

Have you tried contacting the attacker's ISP, by the by?

whois -h whois.arin.net 59.4.82.240 suggests this is in Korea, but if that's the wrong IP address, that's of course just a red herring. 4.82.240.1 belongs to Level 3 / Genuity.
Closed Thread

Bookmarks

Tags
linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:40 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0