YAMAHA ã«ã¼ã¿ã¨ Splatoon 2
çµè«ããè¨ãã¨ãã¤ããã«ã¼ã¿ã® Rev.14.01.09 以éã§ã¯ããã©ã«ãã 㨠Splatoon 2 ãåããªããã nat descriptor backward-compatibility 1 ãå©ãã¨åãããã«ãªãã
èæ¯
RTX1210 ã§åãã¦ãã WiFi ã« Nintendo Switch ãç¹ãã§éã¼ãã¨ããããã¾ã£ããåããªããããããå§ããã¨ã¨ã©ã¼ã³ã¼ã 2618-0513 ã§ãç¸æã®ã²ã¼ã æ©ã¨éä¿¡ã§ãã¾ããã§ãããã¨è¡¨ç¤ºãã失æãããã 10åã« 1åãããã¯ãããã³ã°ãå§ã¾ãã 8人æããå¶éæéãè¿ããã(å¶éæéãã¡ããã¡ãã伸ã³ãã®ã§å¯¾æ¦è ã追å ãããã¨ãã¦å¤±æãã¦ãæ§å)
調æ»
ãããã³ã°ã®ã¨ãã«åºãåé¡ã§ãããã¨ã¨ãNAPTç®±ãç°ãªãå¥ã®ãããã¯ã¼ã¯ã§ã¯æ£å¸¸ã«åãã®ã§ãã¾ã NAPTè¶ã(NAT traversal)ã¾ããããã¨å½ãããã¤ããã
Switch ã®æ¥ç¶ãã¹ãã§ã¯ãNATã¿ã¤ã Bãã¨è¡¨ç¤ºãããã
æ¯è¼çã¤ã³ã¿ã¼ãããçµç±ã§ã®å¯¾æ¦ã»ååãã¬ã¤ãè¡ããããç°å¢ã§ãã
https://support.nintendo.co.jp/app/answers/detail/a_id/34273?a_id=34278
大éæã« RFC 3489 ã®åé¡ã§ã¯ã©ããªã®ï¼ã¨ãããã¨ã§ãhttps://play.google.com/store/apps/details?id=hu.uszeged.inf.wlab.stunner&hl=jaãåããã¦ã¿ãã¨ããã "Network Type: Symmetric cone" ã¨ã®ãã¨ã
Symmetric NAT 㯠UDP hole punching ãå¹ããªãã®ã§ãã¡ããã
Symmetric NAT ã«ãªãå®è£ ã¯ããã¾ãå¤ããªã*1ãç¥ã£ã¦ãç¯å²ã 㨠OpenBSD pf(4) ã®ããã©ã«ã(static-port ãªãã·ã§ã³ç¡ã)ããããªã®ã§ãä¸æè°ã«æã£ã¦ RTX ã®ããã¥ã¡ã³ããæ¢ããã¨ããããã®ãã®ãã°ãã®ãã®ããã£ãã*2
æ°ãããã¼ãã»ã¼ãã³ã°IPãã¹ã«ã¬ã¼ããªãæ©è½ã Rev.14.01.08 ã§è¿½å ããããã㯠Symmetric NAT ç¸å½ã®æ¯ãèãã§ããããã©ã«ãã§æå¹ã¨ãªã£ã¦ããã
対ç
ããã¥ã¢ã«ã©ãã nat descriptor backward-compatibility 1 ãå©ãã
# nat descriptor backward-compatibility 1 NAT backward-compatibility setting has been configured. Please save config and restart router to enable new setting. # save Saving ... CONFIG0 Done . # restart
STUNner ãåãããã¨ãã "Network Type: Port restricted cone" ã«å¤åãã Splatoon 2 ãéããã«ããããçµããåé¡ãªãéã¹ãããã«ãªã£ãããã£ãã¼ï¼ï¼
æªè§£æ±ºã®çåç¹
2ã¤ããã
ã¾ãã Symmetric NAT ã«ãããããããªã㧠"NATã¿ã¤ã B" ã«ãªããã ãããï¼ Nintendo Switch ã® NATã¿ã¤ãå¤å®ã«èæ ®æ¼ããããããã ãããããã rfc3489 ãå»æ¢ã«ãªã£ã¡ããããã NAT traversal ã¯è¤éå¥ã£æªãªã®ã§ããããããªãæ°ã¯ããã
次ã«ãNAT動作タイプの違いについてã«ãã㨠Rev.14.01 系以éã§ã TCP 以å¤ã®ãã¹ã¦ã®ãããã³ã«ã§ã¯å¾æ¥ã®(ãã¼ãã»ã¼ãã³ã°IPãã¹ã«ã¬ã¼ãã§ã¯ãªã) NAPT ã«ãªãã¨ããã Splatoon 2 㯠UDP ãªã®ã§ãæ¬æ¥ã¯ããã©ã«ãã®ã¾ã¾åãã¯ãã§ãããããåããªãã£ãã
ãã£ã¨è¨ã㨠nat descriptor backward-compatibility ãå¤æ´ãã¦ãå¤åãç¡ãã¯ãã ããæ¹åãããããã¯ãªããï¼å®ã¯ UDP ã®æåãå¤ãã£ã¦ãã¾ã£ã¦ããï¼
Nintendo Switch ã®æå
Nintendo Switch 㯠UPnP ã«å¯¾å¿ãã¦ããªã模æ§ã UDP 1900 ãã¾ã£ããæããªãã CGN ã§äºé NAPT ã«ãªã£ã¦ãããã¨ãå¤ãããããã¡ãã£ãã®ã ãããï¼
ã¾ãã Splatoon 2 㯠UDP ãã«ã¡ãã·ã¥ã§éä¿¡ãããããä¸ã« UDP ãå±ããç¸äºã«ãã±ãããæãã¦ç¢ºèªãã¦ãã¾ãããµã¼ããé¸åºããããããªã¢ã¼ããã¯ãã£ã§ã¯ãªãããã§ã 8å°ããã¹ã¦ç¸äºã«éä¿¡ã§ããå¿
è¦ãããã¾ãã
Symmetric NAT
ä»åã¯ãã©ãã«ã«ééãã¦ãã¾ã£ãããã©ãããã¼ãã»ã¼ãã³ã°IPãã¹ã«ã¬ã¼ãèªä½ã¯è¯ãæ©è½ã ã¨æãã * cone NAT ã ã¨æ¯ãèãä¸ãå¤æå¾ã®éä¿¡å
ãã¼ãæ°(16bit)ã§ã»ãã·ã§ã³æ°ãå¶éããã¦ãã¾ãã®ã§ãã°ãã¼ãã« IPã¢ãã¬ã¹ãããã®éç´çã«éçãããã
ãããã Symmetric NAT ãªãå®å
IPã¢ãã¬ã¹ãç°ãªãã°éä¿¡å
ãã¼ããå
±æã§ããã®ã§å¤§å¹
ã«éç´çãåä¸ã§ãããä¾ãã° Webã¯ãã¼ã©ã¼ãå«ãæ°åå°ã®ãµã¼ãã 1 IPã¢ãã¬ã¹ã«å容ããã¨ãã£ãè¸å½ãå¯è½ã§ãäºä¾ãç¥ã£ã¦ããã
ãããã CGN ã§å°å
¥ããã¨ä»åã®ããã« NAT traversal ã§ã¯ã¬ã¼ã ãä¸ããããã ãã abuse åãåãã㧠src port ã ãã§ãªã dest ip ã¾ã§å¿
è¦ã«ãªãã®ã§ã(Webãµã¼ãã¹ãªã©ã§)ãµã¼ãå´ã®ã°ãã¼ãã« IPã¢ãã¬ã¹ãå«ããã°ãåå¾ãã¦ããã®ãã¨ãã£ãåé¡ãã§ã¦ããã®ã§ãã¡ãã£ã¨é£ãããã§ãã£ãã
RTX1210 ã®ç¨éãèããã¨è¯ãæ©è½ã ãªãã¨æãã¾ãã
çµè«
NAPT ãã¥ããã
STUNner
STUNner ã¯ãããªæãã§å¤§å¤ä¾¿å©ãªãã¼ã«ã§ããã
RTX1210 ãã¼ãã»ã¼ãã³ã°IPãã¹ã«ã¬ã¼ã
*1:æ£ç¢ºã«ã¯ã»ãã·ã§ã³æ°ãæ°åç¨åº¦ã¨ããæ¡ä»¶ããããä¾ãã° iptables MASQUERADE ã¯ã»ãã·ã§ã³æ° 2^16 以ä¸ãããã®ã§ãã¼ãã足ããªããªã㨠Symmetric NAT ã«ãªãã¯ãã
*2:話ã¯é¸ãããã©ãããããã®èª¿ã¹ã度㫠YAMAHA ã¯ããã¥ã¡ã³ãè¯ãã¦ãããªãã¨æãã¾ãã