{"id":146,"date":"2025-08-03T03:18:14","date_gmt":"2025-08-03T03:18:14","guid":{"rendered":"http:\/\/blizzard.iptime.org\/?p=146"},"modified":"2025-08-08T14:52:14","modified_gmt":"2025-08-08T14:52:14","slug":"dso-alt-az-calculator-suspicious-access","status":"publish","type":"post","link":"https:\/\/blog.myserveronthe.cloud\/?p=146","title":{"rendered":"DSO Alt\/Az Calculator \ub9cc\ub4e4\uae30 (\uc9c4\ud589\uc911)"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-147\" src=\"http:\/\/blizzard.iptime.org\/wp-content\/uploads\/2025\/08\/Screenshot-2025-07-30-at-9.05.16-PM.png\" alt=\"\" width=\"522\" height=\"506\" \/><\/p>\n<p>\ub9e4\ubc88 \ub300\uc0c1\uc758 \uc2dc\uac04\ub300\ubcc4 \uace0\ub3c4\ub97c \uc218\ub3d9\uc73c\ub85c \uc801\uae30\uac00 \uadc0\ucc2e\uc544\uc11c<br \/>\n\ub0a0\uc9dc\uc640 \ub300\uc0c1\uc744 \uc785\ub825\ud558\uba74 \uc790\ub3d9\uc73c\ub85c \uc2dc\uac04\ub300\ubcc4 \uace0\ub3c4\uc640 \uc77c\ubab0, \uc77c\ucd9c \uc2dc\uac01, \ucc9c\ubb38\ubc15\uba85\uc744 \uacc4\uc0b0\ud574\uc8fc\ub294 \uacc4\uc0b0\uae30\ub97c \ub9cc\ub4e4\uc5c8\ub2e4.<\/p>\n<p>&nbsp;<\/p>\n<p>Flask\ub85c \uac04\ub2e8\ud55c \uc6f9\uc11c\ubc84\ub97c \ub9cc\ub4e4\uace0 \uc678\ubd80\uc811\uc18d\uc774 \uac00\ub2a5\ud558\uac8c \ud3ec\ud2b8\ud3ec\uc6cc\ub529\uae4c\uc9c0 \ud574\ub480\ub294\ub370<br \/>\n\uc5b4\ub290\uc21c\uac04\ubd80\ud130 \uc544\ubb34 \uc791\uc5c5\ub3c4 \ud558\uc9c0 \uc54a\ub294\ub370\ub3c4 \uc774\uc0c1\ud558\uac8c CPU \uc810\uc720\uc728\uc774 100%\uc744 \ucc0d\uace0 \uc788\uae38\ub798 \ub85c\uadf8\ub97c \uc0b4\ud3b4\ubd24\ub354\ub2c8<\/p>\n<div>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-148\" src=\"http:\/\/blizzard.iptime.org\/wp-content\/uploads\/2025\/08\/Screenshot-2025-08-03-at-12.11.36-PM.png\" alt=\"\" width=\"4108\" height=\"1272\" \/><\/p>\n<\/div>\n<p>\uc774\ub7f0 \uc815\uccb4\ubd88\uba85\uc758 IP\ub85c\ubd80\ud130 \ud76c\ud55c\ud55c \ub370\uc774\ud130\uac12\uc744 \uc785\ub825\uc73c\ub85c \ubc1b\uace0 \uc788\uc5c8\ub2e4.<\/p>\n<p>\ucc57\uc9c0\ud53c\ud2f0\ud55c\ud14c \uc5b4\ub5bb\uac8c \ud574\uc57c\ud560\uc9c0 \ubb3c\uc5b4\ubd24\ub2e4.<\/p>\n<blockquote><p><span style=\"color: #0000ff;\">That&#8217;s a very valid concern \u2014 <strong data-start=\"30\" data-end=\"110\">even small Flask apps running on a Raspberry Pi can attract unwanted traffic<\/strong> if they&#8217;re exposed to the internet. Here\u2019s what likely happened and what you should do next.<\/p>\n<p><\/span><\/p>\n<h3 data-start=\"210\" data-end=\"247\"><span style=\"color: #0000ff;\">\ud83d\udd0d Why Suspicious Access Happened<\/span><\/h3>\n<p data-start=\"248\" data-end=\"446\"><span style=\"color: #0000ff;\">Even if you change the port (like to <code data-start=\"285\" data-end=\"291\">8080<\/code>), <strong data-start=\"294\" data-end=\"341\">port scanners constantly sweep the internet<\/strong> looking for open services. Once they find something responding (especially on <code data-start=\"420\" data-end=\"434\">0.0.0.0:8080<\/code>), they may:<\/span><\/p>\n<ul data-start=\"447\" data-end=\"610\">\n<li data-start=\"447\" data-end=\"500\">\n<p data-start=\"449\" data-end=\"500\"><span style=\"color: #0000ff;\">Probe your app with malformed or automated requests<\/span><\/p>\n<\/li>\n<li data-start=\"501\" data-end=\"567\">\n<p data-start=\"503\" data-end=\"567\"><span style=\"color: #0000ff;\">Try to exploit known vulnerabilities (e.g., in Flask debug mode)<\/span><\/p>\n<\/li>\n<li data-start=\"568\" data-end=\"610\">\n<p data-start=\"570\" data-end=\"610\"><span style=\"color: #0000ff;\">Look for login forms, file uploads, etc.<\/span><\/p>\n<\/li>\n<\/ul>\n<p data-start=\"612\" data-end=\"659\"><span style=\"color: #0000ff;\">Changing the port <strong data-start=\"630\" data-end=\"649\">does not secure<\/strong> your app.<\/span><\/p>\n<h4 data-start=\"724\" data-end=\"776\"><span style=\"color: #0000ff;\">1. <strong data-start=\"732\" data-end=\"776\">NEVER expose Flask&#8217;s dev server directly<\/strong><\/span><\/h4>\n<p data-start=\"777\" data-end=\"797\"><span style=\"color: #0000ff;\">You&#8217;re running this:<\/span><\/p>\n<div class=\"contain-inline-size rounded-2xl relative bg-token-sidebar-surface-primary\">\n<div class=\"overflow-y-auto p-4\" dir=\"ltr\"><span style=\"color: #0000ff;\"><code class=\"whitespace-pre! language-bash\">python3 app.py<br \/>\n<\/code><\/span><\/div>\n<\/div>\n<p data-start=\"825\" data-end=\"906\"><span style=\"color: #0000ff;\">Which runs Flask\u2019s internal development server. It&#8217;s <strong data-start=\"878\" data-end=\"905\">not safe for public use<\/strong>.<\/span><\/p>\n<p data-start=\"908\" data-end=\"986\"><span style=\"color: #0000ff;\"><strong data-start=\"908\" data-end=\"953\">Use a reverse proxy like Nginx + Gunicorn<\/strong>, or at minimum, restrict access.<\/span><\/p>\n<\/blockquote>\n<p data-start=\"908\" data-end=\"986\">\ucc57\uc9c0\ud53c\ud2f0\uac00 \uc2dc\ud0a4\ub294\ub300\ub85c \ud558\uae30\uc5d0\ub294 \uc0dd\uac01\ubcf4\ub2e4 \uc77c\uc774 \uc880 \ubcf5\uc7a1\ud574\uc9c0\ub294 \uac83 \uac19\uc544\uc11c \uc6b0\uc120\uc740 URL\uc5d0 query string \uc870\uac74\uc744 \ucd94\uac00\ud574\ub480\ub2e4. Query string \uc5c6\uc774 \uc811\uadfc\ud558\uba74 \uc544\ub798\uc640 \uac19\uc774 \uc811\uadfc\uc774 \ucc28\ub2e8\ub41c\ub2e4.<\/p>\n<blockquote>\n<h1><span style=\"color: #000000;\">Forbidden<\/span><\/h1>\n<p><span style=\"color: #000000;\">You don&#8217;t have the permission to access the requested resource. It is either read-protected or not readable by the server.<\/span><\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\uace0\uc791 \uc774\uac70 \ud558\ub098 \ub3cc\ub9ac\uc790\uace0 \ub85c\uadf8\uc778 \uc2dc\uc2a4\ud15c\uc744 \ub9cc\ub4e4\uae34 \ub108\ubb34 \uadc0\ucc2e\uc73c\ub2c8 \ub2f9\ubd84\uac04 \uc774\ub807\uac8c \uc6b4\uc601\ud574\ubcf4\uace0 \ubb38\uc81c\uac00 \uc0dd\uae30\uba74 \ub2e4\ub978 \ubc29\ubc95\uc744 \ucc3e\uc544\ubd10\uc57c\uaca0\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\ub9e4\ubc88 \ub300\uc0c1\uc758 \uc2dc\uac04\ub300\ubcc4 \uace0\ub3c4\ub97c \uc218\ub3d9\uc73c\ub85c \uc801\uae30\uac00 \uadc0\ucc2e\uc544\uc11c \ub0a0\uc9dc\uc640 \ub300\uc0c1\uc744 \uc785\ub825\ud558\uba74 \uc790\ub3d9\uc73c\ub85c \uc2dc\uac04\ub300\ubcc4 \uace0\ub3c4\uc640 \uc77c\ubab0, \uc77c\ucd9c \uc2dc\uac01, \ucc9c\ubb38\ubc15\uba85\uc744 \uacc4\uc0b0\ud574\uc8fc\ub294 \uacc4\uc0b0\uae30\ub97c \ub9cc\ub4e4\uc5c8\ub2e4. &nbsp; Flask\ub85c \uac04\ub2e8\ud55c \uc6f9\uc11c\ubc84\ub97c \ub9cc\ub4e4\uace0 \uc678\ubd80\uc811\uc18d\uc774 \uac00\ub2a5\ud558\uac8c \ud3ec\ud2b8\ud3ec\uc6cc\ub529\uae4c\uc9c0 \ud574\ub480\ub294\ub370 \uc5b4\ub290\uc21c\uac04\ubd80\ud130 \uc544\ubb34 \uc791\uc5c5\ub3c4 \ud558\uc9c0 \uc54a\ub294\ub370\ub3c4 \uc774\uc0c1\ud558\uac8c CPU \uc810\uc720\uc728\uc774 100%\uc744 \ucc0d\uace0 \uc788\uae38\ub798 &hellip; <a href=\"https:\/\/blog.myserveronthe.cloud\/?p=146\">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":[5],"tags":[],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=146"}],"version-history":[{"count":4,"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=\/wp\/v2\/posts\/146\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=\/wp\/v2\/posts\/146\/revisions\/177"}],"wp:attachment":[{"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.myserveronthe.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}