{"id":59749,"date":"2024-01-16T12:11:22","date_gmt":"2024-01-16T17:11:22","guid":{"rendered":"https:\/\/pappp.net\/?p=59749"},"modified":"2024-01-16T12:11:22","modified_gmt":"2024-01-16T17:11:22","slug":"recent-intermittent-outages","status":"publish","type":"post","link":"https:\/\/pappp.net\/?p=59749","title":{"rendered":"Recent Intermittent Outages"},"content":{"rendered":"\n<p>There have been some intermittent issues with this site for the last few days because some shitheel has been hammering the server that hosts web-facing things for me with automated script-kiddy bullshit that my existing hardening didn&#8217;t automatically catch.  <\/p>\n\n\n\n<p>Roughly 10GB of it in the last week.  <br \/>With user agents set to around 500,000 different Chrome versions.<\/p>\n\n\n\n<p>I noticed because the (small) box has been OOM killing processes any time the stats tools look at the logs of this behavior. <\/p>\n\n\n\n<p>Most of it came from one address (in the AliCloud IP allocation, as always.  I&#8217;ll continue to half-pretend it&#8217;s just a compromised VM) so I cleaned up the worst of it by adding an nftables rule to drop anything from that saddr, and did a little filtering to the logs to fix the OOM situation. <\/p>\n\n\n\n<p>I&#8217;ve also turned on some rate-limiting features in nginx, and rigged fail2ban to block repeated violators of the rate limit, so hopefully things are more permanently taken care of. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>There have been some intermittent issues with this site for the last few days because some shitheel has been hammering the server that hosts web-facing things for me with automated script-kiddy bullshit that my existing hardening didn&#8217;t automatically catch. Roughly &hellip; <a href=\"https:\/\/pappp.net\/?p=59749\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,4,1],"tags":[],"class_list":["post-59749","post","type-post","status-publish","format-standard","hentry","category-announcements","category-computers","category-general"],"_links":{"self":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/59749","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=59749"}],"version-history":[{"count":0,"href":"https:\/\/pappp.net\/index.php?rest_route=\/wp\/v2\/posts\/59749\/revisions"}],"wp:attachment":[{"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=59749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=59749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pappp.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=59749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}