ãªã¢ã¼ããµã¼ãã«æ¥ç¶ã§ããªãå ´åã® telnet ã«ããåå åãåãæ¹æ³
1) telnet host port ã㦠Escape character is ... ã¨åºãå¾ããã (ãããã¯å°ããã¦) æ¥ç¶ãåãã
ãâ æ¥ç¶å¾ fork() çã§è½ã¡ã¦ãã
ããâ ãµã¼ãã®ã¡ã¢ãªä¸è¶³ãããã»ã¹ã®ç¡éå¢æ®ãçã
2) telnet host port ã㦠Escape character is ... ã¨åºããããã®å¾ä½ãèµ·ãããªã
ãâ SYN_ACK ãè¿ã£ã¦ãã¦ãã
ããâ ã«ã¼ãã«ã¯çãã¦ãããã¦ã¼ã¶ã¼ã©ã³ãã®è² è·ã極ãã¦é«ãå¯è½æ§
3) telnet host port ãã¦ããã connection refused ã¨åºã
ãâ RST ãè¿ã£ã¦ãã¦ãã
ããâ port ãéãã¦ãã (ãµã¼ãããã»ã¹ãè½ã¡ã?) ããã¾ã㯠accept(2) ãã¦ããªã
4) telnet host port ãã¦ããã°ãããã£ã¦ãã connectin refused ã¨åºã
ãâ RST ãè¿ã£ã¦ãã¦ãã
ããâ ãµã¼ãããã»ã¹ã¯çãã¦ããã accept(2) ãã¦ããªã
5) telnet host port ãã¦ãOperation timed out ã¨åºã
ãâ ãã±ãããè¿ã£ã¦ããªã
ããâ ã«ã¼ãã«æ¯æ»ãã§ããå¯è½æ§ãé«ã
ããã (ãããã¯ãã¡ã¤ã¢ã¦ã©ã¼ã«ã®è¨å®ããã¹ã£ã)
ä¸é¨é©å½ãããã³ã大æè¿ã
3/26 追è¨: 4) åé¤ã詳細ã¯ã³ã¡ã³ãåç §ã