Too many bad bots killing websiteWhy do 'hackers' setup bots repeatedly fill out web forms?DDoS attacks are killing all my servicesHTTP attack - Too many connections & TIME_WAITPermError SPF Too Many Lookups and ReductionHow do I block a user doing too many requests without blocking an entire organization?Too many sendmail instances in “top” commandblock fake google botsBlock requests from bots by pattern in apache with mod_rewrite. mod_rewrite not workingNginx limit_req is killing all requestsiPhone OS 11_3 http connection flood

Can I criticise the more senior developers around me for not writing clean code?

How important is it that $TERM is correct?

Multiple options vs single option UI

How can I get rid of an unhelpful parallel branch when unpivoting a single row?

Does a large simulator bay have standard public address announcements?

Why do real positive eigenvalues result in an unstable system? What about eigenvalues between 0 and 1? or 1?

Unknown code in script

Retract an already submitted recommendation letter (written for an undergrad student)

How to have a sharp product image?

A faster way to compute the largest prime factor

std::unique_ptr of base class holding reference of derived class does not show warning in gcc compiler while naked pointer shows it. Why?

Check if a string is entirely made of the same substring

Is there metaphorical meaning of "aus der Haft entlassen"?

A ​Note ​on ​N!

How can I practically buy stocks?

How do I deal with a coworker that keeps asking to make small superficial changes to a report, and it is seriously triggering my anxiety?

Is it acceptable to use working hours to read general interest books?

Find a stone which is not the lightest one

Creating a chemical industry from a medieval tech level without petroleum

Why did C use the -> operator instead of reusing the . operator?

How long after the last departure shall the airport stay open for an emergency return?

Who's the random kid standing in the gathering at the end?

Can someone publish a story that happened to you?

Combinatorics problem, right solution?



Too many bad bots killing website


Why do 'hackers' setup bots repeatedly fill out web forms?DDoS attacks are killing all my servicesHTTP attack - Too many connections & TIME_WAITPermError SPF Too Many Lookups and ReductionHow do I block a user doing too many requests without blocking an entire organization?Too many sendmail instances in “top” commandblock fake google botsBlock requests from bots by pattern in apache with mod_rewrite. mod_rewrite not workingNginx limit_req is killing all requestsiPhone OS 11_3 http connection flood






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








2















Everyday around 2-3pm, huge amounts of bots are coming to my website and they just kill it. Few days ago it was just 2-3 IPs so I could easily block it, but today more than 600 bots came and kept flooding my website for 3 hours straight. IPs were different, changing and from different parts of the world. 650 apache workers just could not handle it.



These bots are 100% suspicious, because they are reffering from really stupid/random URLs. For example:



209.141.61.45 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 23611 "/mhrjh" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246"
195.176.3.19 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 24330 "https://search.aol.com/search?q=sjhryp" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G920V Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36"
172.96.118.14 - - [18/Apr/2019:19:37:04 +0200] "GET ***" 200 22477 "https://yandex.ru/search/?izpyzuxwbn" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1"


Is there any way I can protect my server from this type of attack? So far, tried geoblocking, but it takes ages for all the foreign IP addresses to be added into iptables.










share|improve this question






















  • Cloudflare has free DDOS protection if you're looking for something like that.

    – Andrew Greer
    Apr 18 at 20:18

















2















Everyday around 2-3pm, huge amounts of bots are coming to my website and they just kill it. Few days ago it was just 2-3 IPs so I could easily block it, but today more than 600 bots came and kept flooding my website for 3 hours straight. IPs were different, changing and from different parts of the world. 650 apache workers just could not handle it.



These bots are 100% suspicious, because they are reffering from really stupid/random URLs. For example:



209.141.61.45 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 23611 "/mhrjh" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246"
195.176.3.19 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 24330 "https://search.aol.com/search?q=sjhryp" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G920V Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36"
172.96.118.14 - - [18/Apr/2019:19:37:04 +0200] "GET ***" 200 22477 "https://yandex.ru/search/?izpyzuxwbn" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1"


Is there any way I can protect my server from this type of attack? So far, tried geoblocking, but it takes ages for all the foreign IP addresses to be added into iptables.










share|improve this question






















  • Cloudflare has free DDOS protection if you're looking for something like that.

    – Andrew Greer
    Apr 18 at 20:18













2












2








2


0






Everyday around 2-3pm, huge amounts of bots are coming to my website and they just kill it. Few days ago it was just 2-3 IPs so I could easily block it, but today more than 600 bots came and kept flooding my website for 3 hours straight. IPs were different, changing and from different parts of the world. 650 apache workers just could not handle it.



These bots are 100% suspicious, because they are reffering from really stupid/random URLs. For example:



209.141.61.45 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 23611 "/mhrjh" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246"
195.176.3.19 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 24330 "https://search.aol.com/search?q=sjhryp" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G920V Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36"
172.96.118.14 - - [18/Apr/2019:19:37:04 +0200] "GET ***" 200 22477 "https://yandex.ru/search/?izpyzuxwbn" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1"


Is there any way I can protect my server from this type of attack? So far, tried geoblocking, but it takes ages for all the foreign IP addresses to be added into iptables.










share|improve this question














Everyday around 2-3pm, huge amounts of bots are coming to my website and they just kill it. Few days ago it was just 2-3 IPs so I could easily block it, but today more than 600 bots came and kept flooding my website for 3 hours straight. IPs were different, changing and from different parts of the world. 650 apache workers just could not handle it.



These bots are 100% suspicious, because they are reffering from really stupid/random URLs. For example:



209.141.61.45 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 23611 "/mhrjh" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.246"
195.176.3.19 - - [18/Apr/2019:19:37:03 +0200] "GET ***" 200 24330 "https://search.aol.com/search?q=sjhryp" "Mozilla/5.0 (Linux; Android 6.0.1; SM-G920V Build/MMB29K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36"
172.96.118.14 - - [18/Apr/2019:19:37:04 +0200] "GET ***" 200 22477 "https://yandex.ru/search/?izpyzuxwbn" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1"


Is there any way I can protect my server from this type of attack? So far, tried geoblocking, but it takes ages for all the foreign IP addresses to be added into iptables.







spam ddos botnet






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 18 at 19:30









lamka02sklamka02sk

111




111












  • Cloudflare has free DDOS protection if you're looking for something like that.

    – Andrew Greer
    Apr 18 at 20:18

















  • Cloudflare has free DDOS protection if you're looking for something like that.

    – Andrew Greer
    Apr 18 at 20:18
















Cloudflare has free DDOS protection if you're looking for something like that.

– Andrew Greer
Apr 18 at 20:18





Cloudflare has free DDOS protection if you're looking for something like that.

– Andrew Greer
Apr 18 at 20:18










1 Answer
1






active

oldest

votes


















1














DDOS attacks are difficult to mitigate, as you've found (and this does at least appear to be that). You can use a service such as fail2ban to ban those IPs from connecting to the web server, and in a limited attack this may help. However, it takes a few repetitive requests to ban an IP, and that may be more requests than the webserver can handle in even that amount of time.



A good solution to this problem is using a CDN (content delivery network) to establish a cache for static content that doesn't need to touch your origin server in order to be served to clients. There are paid CDNs out there with many features, including DDOS protection by implementing that same banishment method in addition to other methods (though on a much larger network that can handle the initial spike).



However, a sustained and sufficiently diverse DDOS attack can turn what would have been website downtime into a large bill from your CDN provider if things are not addressed in time.






share|improve this answer


















  • 1





    Fail2Ban is a good solution if the scale is right. I've had this problem in the past and an http-get-dos rule solved it. Rapid7 has a nice blog post on setting up fail2ban quickly if you're not familiar.link here

    – Michael
    Apr 18 at 21:08











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "2"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963724%2ftoo-many-bad-bots-killing-website%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














DDOS attacks are difficult to mitigate, as you've found (and this does at least appear to be that). You can use a service such as fail2ban to ban those IPs from connecting to the web server, and in a limited attack this may help. However, it takes a few repetitive requests to ban an IP, and that may be more requests than the webserver can handle in even that amount of time.



A good solution to this problem is using a CDN (content delivery network) to establish a cache for static content that doesn't need to touch your origin server in order to be served to clients. There are paid CDNs out there with many features, including DDOS protection by implementing that same banishment method in addition to other methods (though on a much larger network that can handle the initial spike).



However, a sustained and sufficiently diverse DDOS attack can turn what would have been website downtime into a large bill from your CDN provider if things are not addressed in time.






share|improve this answer


















  • 1





    Fail2Ban is a good solution if the scale is right. I've had this problem in the past and an http-get-dos rule solved it. Rapid7 has a nice blog post on setting up fail2ban quickly if you're not familiar.link here

    – Michael
    Apr 18 at 21:08















1














DDOS attacks are difficult to mitigate, as you've found (and this does at least appear to be that). You can use a service such as fail2ban to ban those IPs from connecting to the web server, and in a limited attack this may help. However, it takes a few repetitive requests to ban an IP, and that may be more requests than the webserver can handle in even that amount of time.



A good solution to this problem is using a CDN (content delivery network) to establish a cache for static content that doesn't need to touch your origin server in order to be served to clients. There are paid CDNs out there with many features, including DDOS protection by implementing that same banishment method in addition to other methods (though on a much larger network that can handle the initial spike).



However, a sustained and sufficiently diverse DDOS attack can turn what would have been website downtime into a large bill from your CDN provider if things are not addressed in time.






share|improve this answer


















  • 1





    Fail2Ban is a good solution if the scale is right. I've had this problem in the past and an http-get-dos rule solved it. Rapid7 has a nice blog post on setting up fail2ban quickly if you're not familiar.link here

    – Michael
    Apr 18 at 21:08













1












1








1







DDOS attacks are difficult to mitigate, as you've found (and this does at least appear to be that). You can use a service such as fail2ban to ban those IPs from connecting to the web server, and in a limited attack this may help. However, it takes a few repetitive requests to ban an IP, and that may be more requests than the webserver can handle in even that amount of time.



A good solution to this problem is using a CDN (content delivery network) to establish a cache for static content that doesn't need to touch your origin server in order to be served to clients. There are paid CDNs out there with many features, including DDOS protection by implementing that same banishment method in addition to other methods (though on a much larger network that can handle the initial spike).



However, a sustained and sufficiently diverse DDOS attack can turn what would have been website downtime into a large bill from your CDN provider if things are not addressed in time.






share|improve this answer













DDOS attacks are difficult to mitigate, as you've found (and this does at least appear to be that). You can use a service such as fail2ban to ban those IPs from connecting to the web server, and in a limited attack this may help. However, it takes a few repetitive requests to ban an IP, and that may be more requests than the webserver can handle in even that amount of time.



A good solution to this problem is using a CDN (content delivery network) to establish a cache for static content that doesn't need to touch your origin server in order to be served to clients. There are paid CDNs out there with many features, including DDOS protection by implementing that same banishment method in addition to other methods (though on a much larger network that can handle the initial spike).



However, a sustained and sufficiently diverse DDOS attack can turn what would have been website downtime into a large bill from your CDN provider if things are not addressed in time.







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 18 at 19:54









SpoolerSpooler

6,1941228




6,1941228







  • 1





    Fail2Ban is a good solution if the scale is right. I've had this problem in the past and an http-get-dos rule solved it. Rapid7 has a nice blog post on setting up fail2ban quickly if you're not familiar.link here

    – Michael
    Apr 18 at 21:08












  • 1





    Fail2Ban is a good solution if the scale is right. I've had this problem in the past and an http-get-dos rule solved it. Rapid7 has a nice blog post on setting up fail2ban quickly if you're not familiar.link here

    – Michael
    Apr 18 at 21:08







1




1





Fail2Ban is a good solution if the scale is right. I've had this problem in the past and an http-get-dos rule solved it. Rapid7 has a nice blog post on setting up fail2ban quickly if you're not familiar.link here

– Michael
Apr 18 at 21:08





Fail2Ban is a good solution if the scale is right. I've had this problem in the past and an http-get-dos rule solved it. Rapid7 has a nice blog post on setting up fail2ban quickly if you're not familiar.link here

– Michael
Apr 18 at 21:08

















draft saved

draft discarded
















































Thanks for contributing an answer to Server Fault!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f963724%2ftoo-many-bad-bots-killing-website%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company