{"id":979,"date":"2017-05-10T19:58:06","date_gmt":"2017-05-10T23:58:06","guid":{"rendered":"http:\/\/www.rfdm.com\/blog\/?p=979"},"modified":"2017-05-10T20:00:30","modified_gmt":"2017-05-11T00:00:30","slug":"china-is-a-lousy-netizen","status":"publish","type":"post","link":"https:\/\/www.rfdm.com\/blog\/?p=979","title":{"rendered":"China is a lousy netizen"},"content":{"rendered":"<p>There&#8217;s no one even close in terms of ssh login attempts.  In a span of two weeks, mcblockd has blocked 47 million more addresses from China.  That doesn&#8217;t mean I&#8217;ve seen 47 million IP addresses in login attempts.  It means that China has a lot of address space being used to probe U.S. sites.<\/p>\n<p>Brazil is in second place, but they&#8217;re behind by more than a decimal order of magnitude.  Below are the current top two countries being blocked by mcblockd, by quantity of address space.<\/p>\n<pre style=\"font-size: 14px;\">\r\n% mcblockc getactive ssh_losers\r\n\r\n...\r\n\r\n  Addresses covered per country:\r\n    CN 149,911,680\r\n      \/10 networks:   10 (41,943,040 addresses)\r\n      \/11 networks:   21 (44,040,192 addresses)\r\n      \/12 networks:   38 (39,845,888 addresses)\r\n      \/13 networks:   26 (13,631,488 addresses)\r\n      \/14 networks:   23 (6,029,312 addresses)\r\n      \/15 networks:   26 (3,407,872 addresses)\r\n      \/16 networks:   14 (917,504 addresses)\r\n      \/17 networks:    4 (131,072 addresses)\r\n      \/18 networks:    1 (16,384 addresses)\r\n      \/19 networks:    1 (8,192 addresses)\r\n      \/21 networks:    2 (4,096 addresses)\r\n      \/22 networks:    2 (2,048 addresses)\r\n      \/25 networks:    1 (128 addresses)\r\n    BR 14,170,112\r\n      \/10 networks:    1 (4,194,304 addresses)\r\n      \/11 networks:    3 (6,291,456 addresses)\r\n      \/12 networks:    1 (1,048,576 addresses)\r\n      \/13 networks:    3 (1,572,864 addresses)\r\n      \/14 networks:    3 (786,432 addresses)\r\n      \/15 networks:    1 (131,072 addresses)\r\n      \/17 networks:    2 (65,536 addresses)\r\n      \/18 networks:    1 (16,384 addresses)\r\n      \/19 networks:    5 (40,960 addresses)\r\n      \/20 networks:    2 (8,192 addresses)\r\n      \/21 networks:    5 (10,240 addresses)\r\n      \/22 networks:    4 (4,096 addresses)\r\n<\/pre>\n<p>I seriously doubt that Chinese citizens have anything to do with these attempts.  I&#8217;m told that the Great Firewall blocks most ssh traffic on port 22.  Not to mention that China&#8217;s Internet connectivity is somewhere near 95th in the world in terms of available bandwidth, so it&#8217;d be terribly painful for an ordinary user to use ssh or scp from China to my gateway.  I think I can assume this is all government-sponsored probing.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s no one even close in terms of ssh login attempts. In a span of two weeks, mcblockd has blocked 47 million more addresses from China. That doesn&#8217;t mean I&#8217;ve seen 47 million IP addresses in login attempts. It means that China has a lot of address space being used to probe U.S. sites. Brazil &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.rfdm.com\/blog\/?p=979\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;China is a lousy netizen&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[82,85,12],"tags":[],"class_list":["post-979","post","type-post","status-publish","format-standard","hentry","category-freebsd-computing","category-network-security","category-software-development"],"_links":{"self":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=979"}],"version-history":[{"count":3,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/979\/revisions"}],"predecessor-version":[{"id":982,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/979\/revisions\/982"}],"wp:attachment":[{"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=979"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=979"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rfdm.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}