Open /usr/local/ddos/ddos.sh in your favorite editor (vi or pico) and search for the line which says "mail -s" (that is the command which sends you the mail). Put # at the beginning of that line. Save the file and exit the editor.
Done!
Sidenote: It is too bad if you have to block thousands of ips using this script. Infact, you are calling for trouble by doing so, as too many ips in the block list would make your VPS unstable.
Edit: Too many in my opinion would be anything more than 500.
Open /usr/local/ddos/ddos.sh in your favorite editor (vi or pico) and search for the line which says "mail -s" (that is the command which sends you the mail). Put # at the beginning of that line. Save the file and exit the editor.
Done!
Sidenote: It is too bad if you have to block thousands of ips using this script. Infact, you are calling for trouble by doing so, as too many ips in the block list would make your VPS unstable.
Edit: Too many in my opinion would be anything more than 500.
Could it be that it is constantly trying to ban the same IP? Perhaps it'll be good to up the ban period?
oh well elix, i really did not consider that aspect....the ban is indeed time bound, and yes you are right...if its the same ip.....one should actually ban it manually. What i was talking about was banning hundreds of ips at the same time and for longer period of time.
system keeps sending me cron notice? I gues this is controlled by system instead of script though? or any way to disable it? it nows sends cron notice every 2 minutes....