Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 





Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Networking Forum > Security and Firewalls
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read

Security and Firewalls Protecting you against unwanted people and programs

Reply
 
Thread Tools
Old 12-27-2007, 04:29 PM   #1 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 34
OS: WinXP Home SP2 (fully updated)


Apache - Hostname bans

Hello, I've been experiencing a little trouble with a user. I've tried banning his host, but with no success. Here's what I've tried.
deny from *.dhcp.embarqhsd.net
He still gets in with that host. Any idea how I can ban him, besides an IP ban? Thanks for the help.
Addy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-27-2007, 07:09 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 34
OS: WinXP Home SP2 (fully updated)


Re: Apache - Hostname bans

I've protected my phpBB forum, with the following bit of code. Add it to common.php if you're interested.
Code:
if (fnmatch('*.dhcp.embarqhsd.net',gethostbyaddr($_SERVER['REMOTE_ADDR']))) exit;
Addy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-28-2007, 11:33 AM   #3 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 28,753
OS: XP-Pro, Vista, Linux


Blog Entries: 1
Re: Apache - Hostname bans

What's wrong with the IP ban?
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up!

Microsoft MVP - Windows Desktop Experience
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-28-2007, 04:01 PM   #4 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 34
OS: WinXP Home SP2 (fully updated)


Re: Apache - Hostname bans

He gets a new IP every week or so.
Addy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-28-2007, 05:31 PM   #5 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 28,753
OS: XP-Pro, Vista, Linux


Blog Entries: 1
Re: Apache - Hostname bans

Well, that's a problem. I think I'd just annoy him with the IP ban until he goes away.
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up!

Microsoft MVP - Windows Desktop Experience
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-28-2007, 06:38 PM   #6 (permalink)
Registered User
 
Join Date: Oct 2007
Posts: 34
OS: WinXP Home SP2 (fully updated)


Re: Apache - Hostname bans

That's the thing though, the reason he attacks my site is because I've annoyed him. He spammed my guestbook with alternate IP's, and that prompted me to ban his host. After this, he used a proxy to enter my forum, and he told me that if I tried to ban him again, he would take down my server. I banned the proxy, and he tried to DoS my forum, but I banned him through phpBB and he eventually gave up. He'll probably attack again, with a different proxy.
Addy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Old 12-29-2007, 10:49 AM   #7 (permalink)
Manager, Networking Forums
 
johnwill's Avatar
 
Join Date: Sep 2002
Location: S.E. Pennsylvania, US
Posts: 28,753
OS: XP-Pro, Vista, Linux


Blog Entries: 1
Re: Apache - Hostname bans

I suggest you contact the local authorities. What he is doing is clearly illegal, and perhaps the thread of a jail cell may make him see the light.
__________________
If TSF has helped you, Tell us about it! or Donate to help keep the site up!

Microsoft MVP - Windows Desktop Experience
johnwill is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Bookmark on Thread SoupReddit!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -7. The time now is 05:54 AM.



Copyright 2001 - 2008, Tech Support Forum

Search Engine Friendly URLs by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81