諸äºæ 㧠NAT ã«ã¼ã¿ã 1 å°å¿ è¦ã«ãªã£ããã ãã©ããã ããã¼ããã³ãã«ã¼ã¿ãè²·ã£ã¦ããã®ãã¤ã¾ããªããªã¨èã㦠Raspberry PI ã§ä½ã£ã¦ã¿ãã ãã¨ã¯ãçµç«¯ããã®ã PPPoE ãããªã㦠DHCP ã ãããããã¼ããã³ãã«ã¼ã¿ã ã¨ãããã§ããã®ãåãããªãã£ãã£ã¦ããã®ãããã Raspberry PI ã触ãã®ã¯ãããåãã¦ã ãã©ãããããã«æã®ã²ããµã¤ãºã§ Linux ãåãããã¼ã®ã³ã³ãã¥ã¼ã¿ã ããä½ã¨ã§ããªãã ããã ã±ã£ã¨èª¿ã¹ãã¨ãããã¼ããã©ã¤ãã«ç¸å½ãã SD ã«ã¼ãã« OS ã®ã¤ã¡ã¼ã¸ãæ¸ãè¾¼ãã§ä½¿ããã¨ã«ãªãããã ã æè¿ã 㨠NOOBS ã¨ãã OS ã®ã¤ã¡ã¼ã¸ã¨ã¤ã³ã¹ãã¼ã©ãå梱ããã¦ãããã®ããã£ã¦ãããã使ã㨠SD ã«ã¼ãã«ã³ãã¼ããã ãã§åããããã ããã使ããªãå ´å㯠OS ã®ã¤ã¡ã¼ã¸ã dd ã³ãã³ããªããã§ç´æ¥ SD ã«ã¼ãã«æ¸ãè¾¼ã
ã°ã¼ã°ã«ãOpenSSLã®forkãçºè¡¨ãç¬èªã®å®è£ ã«OpenSSLå´ã®å¤æ´ããã¼ã¸ããä½å¶ãæ¡ããOSSã§ã®å±éã¯ããªãæ¹éã ã¨ããã ç±³ã°ã¼ã°ã«ãããªã¼ãã³ã½ã¼ã¹ã®SSL/TLSå®è£ ãOpenSSLãããæ°ããã¸ã§ã¯ãã®ãBoringSSLããæ´¾çããããå社ã®ç 究è ã¢ãã ã»ã©ã³ã°ãªã¼æ°ã2014å¹´6æ20æ¥ãèªèº«ã®ããã°ãImperialVioletãã§æããã«ããã ã©ã³ã°ãªã¼æ°ã«ããã¨ãã°ã¼ã°ã«ã§ã¯ãHeartbleedãã¨å¼ã°ããé大ãªèå¼±æ§ãçºè¦ãã以åããOpenSSLã®ã³ã¼ããæ¤è¨¼ããä½å¹´ã«ãããã£ã¦å¤æ°ã®ãããã使ç¨ãã¦ããããã®ä¸ã«ã¯OpenSSLã®ã¡ã¤ã³ã¬ãã¸ããªã«æ¡ç¨ããããã®ãããä¸æ¹ã§ãOpenSSLãä¿è¨¼ããAPIãABIã®å®å®æ§ã¨ãã¿åããªããã®ããããå®é¨çéãããã®ãå¤ãã£ãã¨ããã ããããAndroidãChromeãªã©ã®è£½åã§ãããããããã®ãµã
人éã¨ã¦ã§ãã®æªæ¥ï¼æ§ï¼ ãã¦ã§ãã®æ´å²ã¯äººé¡ã®æ´å²ã®ç¹°ãè¿ããã¨ãã観ç¹ããè²ã åå¼·ãã¦ãã¾ãã2014å¹´ã¾ã§ã®äººéã¨ã¦ã§ãã®æªæ¥ã®æ§ããã°ã§ãã å ã ãã¹ãã£ã³ã°ä¼ç¤¾ã§åãã¦ããã®ã§ããã®ç¹æ§ä¸ownerãpermissionãè²ã ã¨å¼ãäºãå¤ããæ°å¹´åã®ç¤¾ä¼äººæ代ã«chmodãchownããã£ã¨æ¥½ã«ä½¿ããªãããªãã¨èª¿ã¹ãæã«ç®ããé±ã ã£ãã®ãchmodãchownã®referenceãªãã·ã§ã³ã§ããã ä»åã¯åã«referenceãªãã·ã§ã³æ¥½ã§ããããã¨ããè¨äºãªã®ã§ãåç¥ã®æ¹ã¯éå±ãªè¨äºã ã¨æãã¾ãããã¾ããã«èãã¦ã¿ãææå¤ã¨ç¥ããã¦ããªãã£ããããã®ã§ãããã°ã¨ã³ããªã«ãã¦ãããã¨æãã¾ãã referenceãªãã·ã§ã³ã使ãã¨ãä»»æã®ãã¡ã¤ã«ãæå®ãããã¨ã§ãå¤æ´å¯¾è±¡ã®ownerãpermissionãæå®ãããã¡ã¤ã«ã¨åãè¨å®ã«ãããã¨ãã§ãã¾ãã ä¾ãã°ã/bin/pin
è¿½è¨ ã¯ã¦ãã§ã¤ã£ãã¿ãããã¾ãã ããå®è¡ããã«ã¬ã³ããã£ã¬ã¯ããªã¯ /var/lib/docker/execdriver/native/$id ã使ãã®ãæ£ããããã§ããï¼æ å ±èªã¿éãã¦ããï¼ãã¡ãã«ã¯ container.json ãããã®ã§ãã½ã¼ã¹ããªã¼ããã³ãã¼ãã¦ããå¿ è¦ãªãã§ããã ã¾ããã³ã³ãã ID åå¾ã¯ãdocker ps -q --no-trunc ã®æ¹ãè¯ããã¨ãæãã¦ããã ãã¾ããã ã¤ã£ãã¿ã«ãããã£ã¦ãæå¾ã®æ¹ã®èª¬æã¨ã·ã§ã«é¢æ°æ¸ãæãã¾ããã ã¤ã£ãã¿ãããã¨ããããã¾ãï¼ tl; dr ã¿ã¤ãã«ã¾ã¾ çµç·¯ Docker ã§ã¤ãã£ãã³ã³ããã®ä¸ã«å ¥ã£ã¦ç¶æ ã確èªããããã«ãã³ã³ããå 㧠sshd ãç«ã¡ä¸ãã¦ã¢ã¯ã»ã¹ãããã£ã¦ãªãã¨ã以åãã£ã¦ããã§ãããã³ã³ããå 㧠sshd ãç«ã¡ä¸ãããã¨ããããæ¹ããã¾ãã¡ã ããããããã³ã³ããã®ä»çµã¿ããèããã°
NI+C ã¯ã©ã¦ãã¡ã³ãã¼ã·ãããµã¼ãã¹ SLã®ãå©ç¨æ¡ä»¶ã«ã¤ã㦠NI+C ã¯ã©ã¦ãã¡ã³ãã¼ã·ãããµã¼ãã¹ SLããå©ç¨ã®ã客æ§åä½ å¹³ç´ ã¯æ ¼å¥ã®å¾¡é«é ãè³ããèª ã«ãããã¨ããããã¾ãã NI+C ã¯ã©ã¦ãã¡ã³ãã¼ã·ãããµã¼ãã¹ SLããå©ç¨ã®éã¯ãä¸è¨ãã¼ã¸å ã®åææ¸ã«åæãã¦ããã ãå¿ è¦ããããã¾ãã ãå©ç¨ã«éãã¾ãã¦ã¯ãå 容ãã確èªããã ãã¾ãããããããããé¡ãç³ãä¸ãã¾ãã NI+C ã¯ã©ã¦ãã¡ã³ãã¼ã·ãããµã¼ãã¹ SL å©ç¨è¦ç´ ãµã¼ãã¹è¨è¿°æ¸ æéè¦å® â»ãµãã¹ã¯ãªãã·ã§ã³å¥ç´ãESAå¥ç´ãCSAå¥ç´ã®ã客æ§ã¯å¯¾è±¡å¤ã«ãªãã¾ãã æ¹è¨å±¥æ´
é«éã«Goè¨èªã®CLIãã¼ã«ãã¤ããcli-initã¨ãããã¼ã«ãã¤ãã£ã tcnkms/cli-initã»GitHub cli-initã使ãã°ï¼Goè¨èªã³ãã³ãã©ã¤ã³ãã¼ã«ä½ææã®ã決ã¾ããã¿ã¼ã³ããã³ãã¬ã¼ãã¨ãã¦èªåçæãï¼ã³ã¢æ©è½ã®è¨è¿°ã«éä¸ãããã¨ãã§ããï¼ ã㢠以ä¸ã¯ç°¡åãªåä½ä¾ï¼ ä¸ã®ãã¢ã§ã¯ï¼addã¨listï¼deleteã¨ãããµãã³ãã³ãããã¤todoã¢ããªã±ã¼ã·ã§ã³ãçæãã¦ããï¼çæçµæã¯ï¼tcnksm/sample-cli-initã«ããï¼ èæ¯ Goè¨èªã§ä½ãããã³ãã³ãã©ã¤ã³ãã¼ã«ãè¦ã¦ããã¨ï¼codegangsta/cliã¨ããããã±ã¼ã¸ããã使ããã¦ããï¼ ããã¯ï¼ã³ãã³ãã©ã¤ã³ãã¼ã«ã®ã¤ã³ã¿ã¼ãã§ã¼ã¹ãå®ç¾©ããããã®ã©ã¤ãã©ãªã§ï¼ããã使ãã°ï¼ãµãã³ãã³ãããã¤ã³ãã³ãã©ã¤ã³ãã¼ã«ãç°¡åã«ã¤ãããã¨ãã§ããï¼Usageãèªåã§çæãã¦ããããï¼bash
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}