Red Hat Enterprise Linux 7.1ã§ãssã³ãã³ãã¯è ã£ã¦ããã®ã§ä½¿ãç©ã«ãªããªã
以åãCentOS 7 (7.0.1406)ããã³Red Hat Enterprise Linux 7ã®ssã³ãã³ããè ã£ã¦ãããã¨ã«ããã¯ãªãã¦ããssコマンドはバグと地雷の塊なのでnetstatの代わりにならないãã¨ããè¨äºãæ¸ãã¾ããã
ããã¯ã©ãããã話ãã¨è¨ãã¨ï¼
- RHEL 7ããã¯netstatã³ãã³ããªã©ãåé²ããã¦ããnet-toolsããã±ã¼ã¸ãéæ¨å¥¨ã¨ãªããããã©ã«ãã§ã¯ã¤ã³ã¹ãã¼ã«ãããããªããªãã¾ããã
- ãããnetstatã³ãã³ãã®ä»£æ¿ã§ããssã³ãã³ãã¯ããªãéãªæãã§ãUDPãã¼ãããtcpãã¨è¡¨ç¤ºããã²ã©ããã°ãããã¾ã
ã¨ããã話ã§ããã
ãã®ssã³ãã³ãã®ãã°ã¯ã2014å¹´2æã«Red Hat Bugzillaã«ãä¸ãã£ã¦ãã¾ããã
ã¨ããããã§ããããã«æ¬¡ã®ãã¼ã¸ã§ã³ã§ã¯ç´ãã ããã¨å¾ ã£ã¦ããããããããRed Hat Enterprise Linux 7.1ã2015å¹´3æã«ãªãªã¼ã¹ããã¾ããã
ã¨ãããã¨ã§ãã£ãã試ãã¦ã¿ã¾ããã¡ãªã¿ã«ssã³ãã³ããåé²ããã¦ããiprouteããã±ã¼ã¸ã®ãªãªã¼ã¹ã¯ã21.el7ããªã®ã§ãRHEL 7(ç¡å°)ã®ã¨ãã®13.el7ããããã¤ãä¿®æ£ãå½ãã£ã¦ããããã§ããããã¯æå¾
ã§ããã!
$ yum info iproute èªã¿è¾¼ãã ãã©ã°ã¤ã³:langpacks, product-id, subscription-manager ã¤ã³ã¹ãã¼ã«æ¸ã¿ããã±ã¼ã¸ åå : iproute ã¢ã¼ããã¯ãã£ã¼ : x86_64 ãã¼ã¸ã§ã³ : 3.10.0 ãªãªã¼ã¹ : 21.el7 ....ï¼çç¥ï¼....
ãã£ããssã³ãã³ãã«-anãªãã·ã§ã³ãä»ãã¦å®è¡ãã¦ã¿ã¾ãããntp(123/udp)ãmdns(5353/udp)ã¨ãssh(22/tcp)ãä¸ãã£ã¦ããã®ã§ãããããã¡ããã¨ãudpãã¨ãtcpãã¨åãã¦è¡¨ç¤ºãããã¯ãâ¦â¦ã
ããããããã! ç´ã£ã¨ããããã!!!!
ä¸ã®å³ã§ãUNCONNãã¨è¡¨ç¤ºããã¦ãããã¼ãã¯ãæ¬å½ã¯UDPãªã®ã§ããããã£ã±ããtcpãã¨è¡¨ç¤ºããã¡ãã£ã¦ã¾ããè ã£ã¦ã¾ã(æ©ããã¾ãã)ãããã¯RHEL 7.1ãã絶対ã«æ¬çªç°å¢ã¸ã®å°å ¥ã¯ã§ããªããªãâ¦â¦ã
ã¨ããããã§ååã®è¨äºã®ç¹°ãè¿ãã«ãªãã¾ãããRHEL 7ã®ssã³ãã³ãã¯ãRed Hat Enterprise Linuxãå©ç¨ããããããªã¨ã³ã¿ã¼ãã©ã¤ãºç¨éã§ã®å©ç¨ã·ã¼ã³ã§ä¿¡é ¼ã§ããã¬ãã«ã«ã¯å ¨ãéãã¦ããªããã¨ããçµè«ã§ããRed Hat社ãéæ¨å¥¨ã¨è¨ã£ã¦ãã¾ãããããã¯è¯éºã«ç¡è¦ãã¦net-toolsããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ãã¦ãnetstatã³ãã³ãã使ãã¾ãããã
追è¨(2015-03-08)
ãRedHatã¯é¢ä¿ãªãã®ã§ã¯ããããããæ¬å®¶iproute2ããã¸ã§ã¯ãã«æããªãã¨æå³ãªããçãªã³ã¡ã³ããããã¤ãé ããã®ã§è£è¶³ãã¦ããã¾ãã
æ¬å®¶ã®iproute2ã®æ¹ã§ã¯ãæ¢ã«ãã®åé¡ã¯1年以ä¸åã®2014/02/10ã®v3.14.0ããä¿®æ£ããã¦ãã¾ãã
ãã®ããããã¨ã¯ãããRed Hat社ããã¤ããã¯ãã¼ããã¦Red Hat 7.1ä¸ã®ssã³ãã³ããä¿®æ£ããããã¨ãã話ã ãã§ãã