{"id":780,"date":"2018-10-17T05:02:34","date_gmt":"2018-10-17T05:02:34","guid":{"rendered":"http:\/\/hyderabadwebhosting.in\/blog\/?p=780"},"modified":"2018-10-28T05:05:09","modified_gmt":"2018-10-28T05:05:09","slug":"ddos-attack-check","status":"publish","type":"post","link":"https:\/\/hyderabadwebhosting.in\/blog\/ddos-attack-check\/","title":{"rendered":"DDOS attack check"},"content":{"rendered":"<h1><span style=\"font-size: large;\">DDOS attack<\/span><\/h1>\n<p><span style=\"font-size: large;\">Whenever the load in the server increases due to a particular user in the server. Check the following:<\/span><\/p>\n<p><span style=\"font-size: large;\">You can check the user in top.<\/span><\/p>\n<p><span style=\"font-size: large;\">Find the domain owned by the user:<\/span><\/p>\n<pre class=\"lang:default decode:true\">grep username \/etc\/userdomains<\/pre>\n<p><span style=\"font-size: large;\">use the following command after you get the domain name:<\/span><\/p>\n<pre class=\"lang:default decode:true\">less \/usr\/local\/apache\/domlogs\/domain.com | awk \u2018{print $1}\u2019 | sort | uniq -c | sort -n<\/pre>\n<p><span style=\"font-size: large;\">This will give the ip and number of connections in the descending order. For example:<\/span><\/p>\n<p><span style=\"font-size: large;\">13832 65.51.111.143<\/span><\/p>\n<p><span style=\"font-size: large;\">19112 66.250.68.289<\/span><\/p>\n<p><span style=\"font-size: large;\">208262 157.55.16.77<\/span><\/p>\n<p><span style=\"font-size: large;\">In the above case we can see too many connections from those ips. This is surely abnormal. Immediately block such ips in the server using csf or block that ips in hosts.deny.<\/span><\/p>\n<div class=\"pdf24Plugin-cp\"> \t<form name=\"pdf24Form0\" method=\"post\" action=\"https:\/\/doc2pdf.pdf24.org\/wordpress.php\" target=\"pdf24PopWin\" onsubmit=\"var pdf24Win = window.open('about:blank', 'pdf24PopWin', 'resizable=yes,scrollbars=yes,width=600,height=250,left='+(screen.width\/2-300)+',top='+(screen.height\/3-125)+''); pdf24Win.focus(); if(typeof pdf24OnCreatePDF === 'function'){void(pdf24OnCreatePDF(this,pdf24Win));}\"> \t\t<input type=\"hidden\" name=\"blogCharset\" value=\"Cw1x07UAAA==\" \/><input type=\"hidden\" name=\"blogPosts\" value=\"MwQA\" \/><input type=\"hidden\" name=\"blogUrl\" value=\"yygpKSi20tfPqExJLUpMSkwpT03KyC8uycxL18vM00\/KyU8HAA==\" \/><input type=\"hidden\" name=\"blogName\" value=\"86hMSS1KTEpMUQhPTVLwyC8uycxLBwA=\" \/><input type=\"hidden\" name=\"blogValueEncoding\" value=\"gzdeflate base64\" \/><input type=\"hidden\" name=\"postId_0\" value=\"M7cwAAA=\" \/><input type=\"hidden\" name=\"postTitle_0\" value=\"c3HxD1ZILClJTM5WSM5ITc4GAA==\" \/><input type=\"hidden\" name=\"postLink_0\" value=\"BcFLCsAgDAXAE9nse5v8MGIxpXlQvL0zAbx1E8U2\/1jYfpfIwlj9GovkyU5mWY0B1tk0XCcd\" \/><input type=\"hidden\" name=\"postAuthor_0\" value=\"c\/QLDVAICHJ08XD0AwA=\" \/><input type=\"hidden\" name=\"postDateTime_0\" value=\"MzIwtNA1NNA1NFcwMLUyNLAyNgEA\" \/><input type=\"hidden\" name=\"postContent_0\" value=\"nVRNb9swDL3vVxDBrpHrZE7SLM1lRYGedtiAYUdGomMhsuSJcrPsA+jP2P5ef8loZwmaXpYMsGGbeHx8fCK9qPLlghv0wGnn6GZQBp+GbL\/RHBzGNb0dLG9v338ATAn1ZpF12OUik7RXi+afqZ8q8vRAEVJF4AIasL5\/Z4pd2HodCZkYTEuQAiA0GJPVrTBAyz3kWYKCdxXpTR8pg3Nha\/16flTVnCXqc2hBC0IfqY6FQqMuJLuz3vQcJtQoFGHrycBqd+R9oS4SaIfMNwOHIt1Qia1LYEgHQ\/MUWxos15GaPtdjTZBR0ln3ta\/AQhTpLG2SdOoU6FDXKIKxTNLxToxYU3ouv6v4H4odMYOIjJkLGl2GDYq7mZC6sOZsT66kOvwA3G7g6fHX9yZan+B1\/vPp8beEOcQkj9bbLzDUh8DQn9\/ux8oybK1zsLYP+85tA127vq1X0m8oxQDvSScbPB8myxBr8qazJ0TTzdhdiEBfsW4cXTpb+Xg2HsGkUEWu8lzuN+NLGa7zXBgmalRcqclMjWbXFzKMrmajyQjyYqqKQuUTNZ1eyHC\/dwZXQXzUsp+wpX5lmLotDSBDtDvxsoxytqkK3HnOCvqzkIvbSG4nTD7EGp2C+7omYzF10ZUMy0YguuqSXvwaWu4Hlks5lb\/IVGE6IKVUYmXI70429g8=\" \/> \t\t<a href=\"https:\/\/www.pdf24.org\" target=\"_blank\" title=\"www.pdf24.org\"><img src=\"https:\/\/hyderabadwebhosting.in\/blog\/wp-content\/plugins\/pdf24-post-to-pdf\/img\/sheep_32x32.png\" alt=\"www.pdf24.org\" border=\"0\" height=\"32\" \/><\/a> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<span class=\"pdf24Plugin-cp-text\">Send article as PDF<\/span> \t\t<span class=\"pdf24Plugin-cp-space\">&nbsp;&nbsp;<\/span> \t\t<input class=\"pdf24Plugin-cp-input\" style=\"margin: 0px;\" type=\"text\" name=\"sendEmailTo\" placeholder=\"Enter email address\" \/> \t\t<input class=\"pdf24Plugin-cp-submit\" style=\"margin: 0px;\" type=\"submit\" value=\"Send\" \/> \t<\/form> <\/div>","protected":false},"excerpt":{"rendered":"<p>DDOS attack Whenever the load in the server increases due to a particular user in the server. Check the following: You can check the user in top. Find the domain owned by the user: grep username \/etc\/userdomains use the following command after you get the domain name: less \/usr\/local\/apache\/domlogs\/domain.com | awk \u2018{print $1}\u2019 | sort\u2026 <span class=\"read-more\"><a href=\"https:\/\/hyderabadwebhosting.in\/blog\/ddos-attack-check\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":781,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-780","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/comments?post=780"}],"version-history":[{"count":1,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/780\/revisions"}],"predecessor-version":[{"id":782,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/posts\/780\/revisions\/782"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/media\/781"}],"wp:attachment":[{"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/media?parent=780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/categories?post=780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hyderabadwebhosting.in\/blog\/wp-json\/wp\/v2\/tags?post=780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}