hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : Ban by ISP?
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

Ban by ISP?

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 02-11-2002, 11:27 PM
gertiebeth gertiebeth is offline
Junior Guru Wannabe
 
Join Date: Jan 2001
Location: MN, USA
Posts: 97
Question

Ban by ISP?


Is there a way to use a .htaccess file to ban one particular ISP address (meaning a single PERSON, not everyone who uses the service) from viewing a website?

__________________
~Gertiebeth

Reply With Quote


Sponsored Links
  #2  
Old 02-11-2002, 11:33 PM
Christopher Christopher is offline
Junior Guru Wannabe
 
Join Date: Oct 2001
Posts: 72
I think this depends on how they access their service.

If it is a dial up connection, they probably have a dynamic ip address, which would change everytime they sign off and then sign back on. That would make it impossible (as far as I know) to block just that single user.

If they have dsl or something like that they might have an ip address assigned to them, it would not change so you could block that ip,

Chris

Reply With Quote
  #3  
Old 02-11-2002, 11:37 PM
gertiebeth gertiebeth is offline
Junior Guru Wannabe
 
Join Date: Jan 2001
Location: MN, USA
Posts: 97
Quote:
Originally posted by Christopher
I think this depends on how they access their service.

If it is a dial up connection, they probably have a dynamic ip address, which would change everytime they sign off and then sign back on. That would make it impossible (as far as I know) to block just that single user.

If they have dsl or something like that they might have an ip address assigned to them, it would not change so you could block that ip,

Chris
Thanks Chris. All I know is this person's IP address from my message boards which is 12.248.47.20. A whois search turns up AT&T as the provider. Does it help to know that everytime this person has accessed the boards the IP address has been the same?

__________________
~Gertiebeth

Reply With Quote
Sponsored Links
  #4  
Old 02-12-2002, 12:03 AM
Christopher Christopher is offline
Junior Guru Wannabe
 
Join Date: Oct 2001
Posts: 72
May just work then.

Here is what I have used to block an ip with when I was having trouble with a user:

<Limit GET>
order deny,allow
deny from address-goes-here
</Limit>

just put it into the .htaccess

I am not an .htaccess expert though, so test

Chris

Reply With Quote
  #5  
Old 02-12-2002, 12:06 AM
gertiebeth gertiebeth is offline
Junior Guru Wannabe
 
Join Date: Jan 2001
Location: MN, USA
Posts: 97
Quote:
Originally posted by Christopher
May just work then.

Here is what I have used to block an ip with when I was having trouble with a user:

<Limit GET>
order deny,allow
deny from address-goes-here
</Limit>

just put it into the .htaccess

I am not an .htaccess expert though, so test

Chris
Thanks Chris! I'll give it a try.

__________________
~Gertiebeth

Reply With Quote
  #6  
Old 02-12-2002, 05:55 PM
cyrusTvirus cyrusTvirus is offline
Web Hosting Guru
 
Join Date: Feb 2002
Location: The Netherlands
Posts: 308
hosts.deny

Did you consider adding this IP to your hosts.deny file ??

This means the whole server is vanished for that specific IP adres.

You can also configure IPCHAINS to add suckups to the hosts.deny automatically.

HTH Robbert

__________________
http://www.HaVa.nl
Reliable hosting and Colocation

Reply With Quote
  #7  
Old 02-18-2002, 01:35 AM
Cephren Cephren is offline
Registered User
 
Join Date: Jun 2001
Posts: 596
Yeah th hosts.deny file is the best place to put troublesome users.

but nevertheless IP banning is quite useless on all networks when the user knows hot to bounce off his connection from other networks.

Reply With Quote
  #8  
Old 02-18-2002, 03:28 PM
gertiebeth gertiebeth is offline
Junior Guru Wannabe
 
Join Date: Jan 2001
Location: MN, USA
Posts: 97
Re: hosts.deny

Quote:
Originally posted by cyrusTvirus
Did you consider adding this IP to your hosts.deny file ??

This means the whole server is vanished for that specific IP adres.

You can also configure IPCHAINS to add suckups to the hosts.deny automatically.

HTH Robbert
Path and telnet question...

Path: where exactly is hosts.deny?

Telnet: What is the command to "find" a certian file of folder... I thought it was "goto"

Thanks!

__________________
~Gertiebeth

Reply With Quote
  #9  
Old 02-18-2002, 03:31 PM
gertiebeth gertiebeth is offline
Junior Guru Wannabe
 
Join Date: Jan 2001
Location: MN, USA
Posts: 97
Re: Re: hosts.deny

Quote:
Originally posted by gertiebeth


Path and telnet question...

Path: where exactly is hosts.deny?

Telnet: What is the command to "find" a certian file of folder... I thought it was "goto"

Thanks!
Just found hosts.deny in etc/hosts.deny! <sheepish grin>

Now, how exactly do I write this, to block 2 IP address?

Code:
#
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.
#

__________________
~Gertiebeth

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?