Urgent Help , How can I delete Apache :oLogs

pads

Verified User
Joined
Apr 22, 2009
Messages
22
Hello

My site getting DDOS attack , that some Chinese forums hotlinking some images on my site , I deleted these images and I put htaccess block on traffic coming from these Chinese forums

but unfortunately it didn't work and my server still log their http request , they send huge amount of http requests causing a server crash after taking 1GB memory usage:(

the htaccess thing couldn't block them and my apache server logs increase from 100mb to 2.5GB size in 3 days:eek:

I tried many things but nothing work , please tell me how can I block traffic from these Chinese Forums and how to remove the apache server logs so I get my space back ??

thanks
 
Check /var/log/httpd. About the DDoS attack - try tools like DDoS deflate or mod_evasive.
 
Check /var/log/httpd. About the DDoS attack - try tools like DDoS deflate or mod_evasive.
thank you
am not expert , can you direct me to a guide on how to install the deflate thing
 
Install nano?
Or just vi instead..
$ vi ddos.conf

ok am newbie , I figure out how to install nano
and I made the change and now deflate is correctly installed

is this enough to block these http request that come from the Chinese forums ?
 
after I installed deflate

I received many emails to my inbox saying :

Code:
Banned the following ip addresses on Mon Jun  8 22:46:01 MSD 2009
770 with 770 connections
is there any way to just block incoming traffic from these Chinese forums instead of blocking IPs ?:confused: I have tried htaccess but it doesn't work
 

I tried that and it didn't work

I receive many emails after installed deflate is this normal
here screenshot
24yd6z5.jpg


my site is image host site , I want anyone to access the site but I don't want to block any http request from those Chinese forum only because they send massive amount of http requests

now my logs will reach from 2.5GB to 3GB in hour and I still have no idea to remove these logs , it's all full with Chinese http requests:confused:
 
oh god after installing deflate DirectAdmin become not accessible
from problem to another I feel so tired I can't find any useful information I have searched a lot the whole day
 
I uninstalled deflate but still can't access DirectAdmin anymore
why this happen , any idea ? should I reboot the VPS ?
 
You can try rebooting the VPS; it's easy enough. However the DirectAdmin control panel doesn't use apache; it's likely it had nothing to do with apache.

Unless of course for some reason your own IP# got blocked, either from your firewalling system, or from DirectAdmin itself. Check your logs and your DirectAdmin blacklist. You might want to whitelist your own IP#s for DirectAdmin.

Jeff
 
Back
Top