I was under ddos atack last 2 weeks and finally i fixed it. It was strange that my ISP told my that my server make ddos attacks.
I didnt belive them, but from yesterday my server going down again.
When i see my apache process with high cpu, i check my incoming connections with "netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr". Nothing there, everything is normal.
So maybe its true that something is making outgoing ddos attack.
How i can monitor or check what or where my apache is making connections?
p.s why my access log file is buggy?
Simple output
I didnt belive them, but from yesterday my server going down again.
When i see my apache process with high cpu, i check my incoming connections with "netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr". Nothing there, everything is normal.
So maybe its true that something is making outgoing ddos attack.
How i can monitor or check what or where my apache is making connections?
p.s why my access log file is buggy?
Simple output
Code:
::1 - - [31/Mar/2013:05:00:44 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [31/Mar/2013:05:05:04 +0200] "OPTIONS * HTTP/1.0" 200 138
::1 - - [31/Mar/2013:05:05:05 +0200] "OPTIONS * HTTP/1.0" 200 138