{"id":491,"date":"2015-10-30T07:52:06","date_gmt":"2015-10-30T07:52:06","guid":{"rendered":"http:\/\/haisins.epac.to\/wordpress\/?p=491"},"modified":"2015-10-30T07:52:06","modified_gmt":"2015-10-30T07:52:06","slug":"%ec%98%a4%eb%9d%bc%ed%81%b4-1521-port%ec%9d%98-outbound-%ec%84%a4%ec%a0%95%ec%9d%b4-%ed%95%84%ec%9a%94%ed%95%a0%ea%b9%8c","status":"publish","type":"post","link":"http:\/\/haisins.synology.me\/wordpress\/?p=491","title":{"rendered":"\uc624\ub77c\ud074 1521 port\uc758 outbound \uc124\uc815\uc774 \ud544\uc694\ud560\uae4c?"},"content":{"rendered":"<p>\uc624\ub77c\ud074\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 DB\uc640\uc758 \ucd5c\ucd08 \uc5f0\uacb0\uc744 \ub9fa\uae30 \uc704\ud574 1521 port\ub97c \uc0ac\uc6a9 \ud569\ub2c8\ub2e4.<\/p>\n<p>\uc591\ucabd\uc774 \ubaa8\ub450 connection\uc774 \ub05d\ub098\uba74 \uc784\uc758\uc758 \uc0c8\ub85c\uc6b4 port\ub97c \uc0ac\uc6a9\ud558\uac8c \ub429\ub2c8\ub2e4.<\/p>\n<p>\ub530\ub77c\uc11c, \uc6b0\uc120 Initiate connection\uc774 \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub8e8\uc5b4 \uc9c0\uba74 1521 port\uc640 \uc0c1\uad00\uc5c6\uc774 \uc11c\ube44\uc2a4\uac00 \uac00\ub2a5\ud569\ub2c8\ub2e4.<\/p>\n<p>\ud558\uc9c0\ub9cc, \ucd5c\ucd08 \uc5f0\uacb0 (Initiate connection)\uc744 \ub9fa\uae30 \uc704\ud574 \uae30\uc874 TCP connection\uacfc \uac19\uc740 \ubc29\ubc95 (3way hands shake)\uc73c\ub85c connection\uc774 \uc774\ub8e8\uc5b4 \uc9c4\ub2e4\uba74<\/p>\n<p>\ucd5c\ucd08 \uc5f0\uacb0\uc744 \ub9fa\ub294 \uacfc\uc815\uc5d0\uc11c 1521 port\uac00 \ud544\uc694\ud569\ub2c8\ub2e4. \uc989, outbound\uc2dc\uc5d0\ub3c4 1521 port\uac00 \uc5f4\ub824 \uc788\uc5b4\uc57c \ub429\ub2c8\ub2e4.<\/p>\n<p><\/p>\n<p><b>[\ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84\uc758 \uc5f0\uacb0\uad00\ub828\ud558\uc5ec \ud14c\uc2a4\ud2b8 \ud55c \uacb0\uacfc]<\/b><\/p>\n<p style=\"text-align: center; clear: none; float: none;\"><img loading=\"lazy\" src=\"https:\/\/i0.wp.com\/oracledba.zapto.org\/wordpress\/wp-content\/uploads\/1\/cfile10.uf.230D0C4E56331F232516D5.jpg?resize=640%2C69\" class=\"aligncenter\" width=\"640\" height=\"69\" filename=\"\uadf8\ub9bc.1.jpg\" filemime=\"image\/jpeg\" data-recalc-dims=\"1\" \/><\/p>\n<p><span><font color=\"#1f497d\" face=\"\ub9d1\uc740 \uace0\ub515\"><span style=\"font-size: 13.3333px; line-height: 20px;\"><span style=\"font-family: Dotum, \ub3cb\uc6c0; font-size: 10pt; color: rgb(0, 0, 0);\">TCP\ud1b5\uc2e0\uc744 \uc704\ud55c \uc5f0\uacb0\uc744 \ub9fa\uae30\uc704\ud574 \ucd5c\ucd08 3way hands shake\ub97c \ud558\uac8c \ub418\ubbc0\ub85c<\/span><!--[endif]--><\/span><\/font><\/span><\/p>\n<p><font color=\"#1f497d\" face=\"\ub9d1\uc740 \uace0\ub515\"><span style=\"font-size: 10pt; line-height: 20px; font-family: Dotum, \ub3cb\uc6c0; color: rgb(0, 0, 0);\">outbound 1521 port\ub97c \ucc28\ub2e8\ud558\uac8c \ub418\uba74 \ucd5c\ucd08 \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 \uc11c\ubc84\uac04\uc758 connection\uc774 \uc548\ub418\uac8c \ub429\ub2c8\ub2e4.<\/span><\/font><\/p>\n<p><font color=\"#1f497d\" face=\"\ub9d1\uc740 \uace0\ub515\"><span style=\"font-size: 10pt; line-height: 20px; font-family: Dotum, \ub3cb\uc6c0; color: rgb(0, 0, 0);\">\ub54c\ubb38\uc5d0 1521 port\uac00 \uc774\ubbf8 \uc798 \uc54c\ub824\uc9c4 port\uc774\uae30 \ub54c\ubb38\uc5d0 \ubc29\ud654\ubcbd\uc5d0\uc11c \ucc28\ub2e8\uc744 \ud574\uc57c\ud558\ub294 \uacbd\uc6b0\ub77c\uba74,&nbsp;<\/span><\/font><\/p>\n<p><font color=\"#1f497d\" face=\"\ub9d1\uc740 \uace0\ub515\"><span style=\"font-size: 10pt; line-height: 20px; font-family: Dotum, \ub3cb\uc6c0; color: rgb(0, 0, 0);\">Listener Port\ub97c 1521\ub300\uc2e0 \ub2e4\ub978 port (\uc784\uc758\uc758 port)\ub97c \uc0ac\uc6a9 \ud558\uc5ec inbound \/ outbound\ub97c \ubaa8\ub450 open \ud558\uc5ec\uc57c \ud569\ub2c8\ub2e4.<\/span><\/font><\/p>\n<p><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\"><b><span style=\"font-size: 11pt;\">*3-way hand shake<\/span><\/b><\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">TCP 3 Way Handshake\ub294 TCP\/IP\ud504\ub85c\ud1a0\ucf5c\uc744 \uc774\uc6a9\ud574\uc11c \ud1b5\uc2e0\uc744 \ud558\ub294 \uc751\uc6a9\ud504\ub85c\uadf8\ub7a8\uc774 \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud558\uae30 \uc804\uc5d0&nbsp;<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">\uba3c\uc800 \uc815\ud655\ud55c \uc804\uc1a1\uc744 \ubcf4\uc7a5\ud558\uae30 \uc704\ud574 \uc0c1\ub300\ubc29 \ucef4\ud4e8\ud130\uc640 \uc0ac\uc804\uc5d0 \uc138\uc158\uc744 \uc218\ub9bd\ud558\ub294 \uacfc\uc815\uc744 \uc758\ubbf8\ud569\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">\ub2e4\uc2dc \ub9d0\ud574 \uc591\ucabd \ubaa8\ub450 \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud560 \uc900\ube44\uac00 \ub418\uc5c8\ub2e4\ub294 \uac83\uc744 \ubcf4\uc7a5\ud558\uace0, \uc2e4\uc81c\ub85c \ub370\uc774\ud130 \uc804\ub2ec\uc774 \uc2dc\uc791\ud558\uae30\uc804\uc5d0&nbsp;<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">\ud55c\ucabd\uc774 \ub2e4\ub978 \ucabd\uc774 \uc900\ube44\ub418\uc5c8\ub2e4\ub294 \uac83\uc744 \uc54c\uc218 \uc788\ub3c4\ub85d \ud574\uc8fc\uba70 \uc591\ucabd \ubaa8\ub450 \uc0c1\ub300\ud3b8\uc5d0 \ub300\ud55c \ucd08\uae30 \uc21c\ucc28\uc77c\ub828\ubc88\ud638\ub97c \uc5bb\uc744 \uc218 \uc788\ub3c4\ub85d \ud574\uc90d\ub2c8\ub2e4.<\/span><\/p>\n<p><span style=\"color: rgb(0, 0, 0); font-size: 13.3333px; line-height: 20px;\">(SYN\uc740 &#8216;synchronize sequence numbers&#8217;, \uadf8\ub9ac\uace0 ACK\ub294&#8217;acknowledgment&#8217; \uc758 \uc57d\uc790)<\/span><\/p>\n<p><img src=\"http:\/\/cfile9.uf.tistory.com\/image\/225A964D52F1BB69177202\"><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">1) Client -&gt; Server : TCP SYN<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">A\ud074\ub77c\uc774\uc5b8\ud2b8\ub294 B\uc11c\ubc84\uc5d0 \uc811\uc18d\uc744 \uc694\uccad\ud558\ub294 SYN \ud328\ud0b7\uc744 \uc804\uc1a1.&nbsp;\uc774\ub54c A\ud074\ub77c\uc774\uc5b8\ud2b8\ub294 SYN \uc744 \ubcf4\ub0b4\uace0 SYN\/ACK \uc751\ub2f5\uc744 \uae30\ub2e4\ub9ac\ub294 SYN_SENT \uc0c1\ud0dc.<\/span><\/p>\n<p><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">2) Server -&gt; Client : TCP SYN ACK<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">B\uc11c\ubc84\ub294 SYN\uc694\uccad\uc744 \ubc1b\uace0 A\ud074\ub77c\uc774\uc5b8\ud2b8\uc5d0\uac8c \uc694\uccad\uc744 \uc218\ub77d\ud55c\ub2e4\ub294 ACK \uc640 SYN flag \uac00 \uc124\uc815\ub41c \ud328\ud0b7\uc744 \ubc1c\uc1a1\ud558\uace0 A\uac00 \ub2e4\uc2dc ACK\uc73c\ub85c \uc751\ub2f5 \ub300\uae30.&nbsp;<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">\uc774\ud6c4 B\uc11c\ubc84\ub294 SYN_RECEIVED \uc0c1\ud0dc.<\/span><\/p>\n<p><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">3) Client -&gt; Server : TCP ACK<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">A\ud074\ub77c\uc774\uc5b8\ud2b8\ub294 B\uc11c\ubc84\uc5d0\uac8c ACK\uc744 \ubcf4\ub0b4\uace0 \uc774\ud6c4\ub85c\ubd80\ud130\ub294 \uc5f0\uacb0\uc774 \uc774\ub8e8\uc5b4\uc9c0\uace0 \ub370\uc774\ud130 \uc804\uc1a1\uc774 \uac00\ub2a5\ud574\uc9d0.&nbsp;<\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\"><br \/><\/span><\/p>\n<p><span style=\"font-size: 10pt; color: rgb(0, 0, 0);\">(\uc704\uc758 \ud14c\uc2a4\ud2b8 \uacb0\uacfc\ub294&nbsp;ORACLE DB\ud30c\ud2b8\ub108 \ub2f5\ubcc0 \ucc38\uace0\ud558\uc600\uc2b5\ub2c8\ub2e4.)<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\uc624\ub77c\ud074\uc740 \ud074\ub77c\uc774\uc5b8\ud2b8\uc640 DB\uc640\uc758 \ucd5c\ucd08 \uc5f0\uacb0\uc744 \ub9fa\uae30 \uc704\ud574 1521 port\ub97c \uc0ac\uc6a9 \ud569\ub2c8\ub2e4. \uc591\ucabd\uc774 \ubaa8\ub450 connection\uc774 \ub05d\ub098\uba74 \uc784\uc758\uc758 \uc0c8\ub85c\uc6b4 port\ub97c \uc0ac\uc6a9\ud558\uac8c \ub429\ub2c8\ub2e4. \ub530\ub77c\uc11c, \uc6b0\uc120 Initiate connection\uc774 \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub8e8\uc5b4 \uc9c0\uba74 1521 port\uc640 \uc0c1\uad00\uc5c6\uc774 \uc11c\ube44\uc2a4\uac00 \uac00\ub2a5\ud569\ub2c8\ub2e4. \ud558\uc9c0\ub9cc, \ucd5c\ucd08 \uc5f0\uacb0 (Initiate connection)\uc744 \ub9fa\uae30 \uc704\ud574 \uae30\uc874 TCP connection\uacfc \uac19\uc740 \ubc29\ubc95 (3way hands shake)\uc73c\ub85c connection\uc774 \uc774\ub8e8\uc5b4 \uc9c4\ub2e4\uba74 \ucd5c\ucd08 \uc5f0\uacb0\uc744 \ub9fa\ub294 \uacfc\uc815\uc5d0\uc11c 1521 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":492,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"spay_email":""},"categories":[14],"tags":[242,243,244],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/haisins.synology.me\/wordpress\/wp-content\/uploads\/1\/cfile10.uf.230D0C4E56331F232516D5.jpg?fit=1024%2C110","amp_enabled":true,"_links":{"self":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/491"}],"collection":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=491"}],"version-history":[{"count":0,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/491\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/492"}],"wp:attachment":[{"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/haisins.synology.me\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}