2007-04-01ãã1ã¶æéã®è¨äºä¸è¦§
åæã«åå¼·è¨é²æ¸ãã¦ããã¤ãã. SLIPã¨ãããã¾è©³ãããªãã¨ãããä¸å¿ã«åå¼·ãã¦ãããããªããªãã¨ãªãï¼ï¼ç« ãèªããTCPé¢æ°ã«ã¤ã㦠TCPé¢æ°ã®èª¬æã§ãå§ãã«tcp_dropé¢æ°ã説æãã¦ãã¨ããããªããé¢ç½ãããã®é¢æ°ã®å½¹ç®ã¯RSTéä¿¡ãããã³ãã¯ã·ã§â¦
ç¡ç·ã³ã³ãã¹ãä¹ãç¥èãããããªã.. ããã¡ãã詳ãããªããã
snifferç³»ã®ãã¼ã«ã¯ãããã¹ã«ã¹ã¢ã¼ãã使ã£ã¦ãã£ã¦ã®ã¯å¸¸èãªã®ã ãããï¼ãããã¹ã«ã¹ã¢ã¼ãã¯æ¥ç¶ãã¦ããã¤ã¼ãµãããã»ã°ã¡ã³ããæµãããã¬ã¼ã ãå ¨é¨åä¿¡ããã¢ã¼ãã®ãã¨ã ãã©ããã¯ããã¾ã使ããã®ã ãããããã¾ã使ã£ããã¨ç¡ãã®ã§ãªãã¨ãâ¦
ããå å·¥æ¹æ³ã ã¨30ä¸ã§ã§ãããã®ãã®ããçæ¹ã ã¨500ä¸åãããªããã°ã§ããªãã£ã¦ã®ã¯ãããããã¨ããããã¡ãã£ã¨ç¥ã£ã¦ããç¥ããªããã£ã¦ã®ã ãã§ã大ããªå·®ãã§ãã¨ããããã§ã㪠å å·¥ãããä¸ã§ä¸çªéè¦ãªã®ã¯è¨è¨å³ãªã®ã§ãããå å·¥æè¡ããããªâ¦
yaccã®åå¼·ä¸Yacc: Yet Another Compiler-Compileryaccã¯bisonã使ç¨ãããã¨ã§è¦åã決ãããããã°èªåçã«cãã¡ã¤ã«ãçæãã¦ãããã¨ããæ§æ解æå¨ãã¾ããã«åå¼·ããã°ï¼ã®ãããããã¨ããããããããããªã
phpã®ããã¥ã¢ã«ãã¼ã¼ã£ã¨è¦ã¦ãããIRC functionã¨ãããã®ãçºè¦ããããããªãããããã®ã ãªãã¨æã£ã¦ãã¾ã£ãã 使ãæ¹ã¯ã¾ã ããåãã£ã¦ãªããããã¯ãã¨ãªãé¢ç½ããã§ã¯ããã
wiresharkã§ãã±ãã解æãã¦ããmsnms?ã£ã¦ã®ããã£ããããã¯ãã¤ã¯ãã½ããã¡ãã»ã³ã¸ã£ã¼ç¨ã®ãããã³ã«ããªï¼ãããªããããã¨ã¯ãããªãã msn protocolãããªããã£ãããç³»ã®ã½ãããä½ããã人ã«ã¯éå®ããã®ããªï¼
Webã§ä½¿ããããã«ãã¦ã¿ãã niconicoDLãã ããOperaã¨safariã§ãã使ããªã... ã©ãããIEã¨Firefoxã§ãåãã£ã½ã ã¨ããããsuper(β)version ããã¾ã§ãã¹ãçãªãã®ãªã®ã§ããã¾ããFirefox + IEã§ã使ããããã«ããããª. ã¾ãããæ°ã«ãªã£ãããã£â¦
ä»æã¯ãã«ã並ã®ã¯ãªãããã ãªã
expectã試ãã¦ã¿ããexpectã£ã¦ã®ã¯å¯¾è©±ã³ãã³ãã使ç¨ããpasswdãsuãsshãªã©ã§ã®æä½æåã§ãããã¨ãªãèªåã§ãã£ã¦ãããã½ããã§ã使ãæ¹ã¨ãã¦ã¯åã使ã£ã¦ããcent-osã§ã¯æ¨æºã§ã¯å ¥ã£ã¦ããªãã£ãã®ã§yumã§installãã¾ãããå®éã«ä»¥ä¸ã®ãããªã½â¦
ã ãã¶åã«è²·ã£ãï¼åå¹´ãããåï¼ï¼ã®æ¬ã ãã©æè¿èªã¿ç´ããããå®åç¸å¿ãªã¬ãã«ãªæ°ããã¦ãããåã«èªãã æã¯ãã¾ãç解ã§ããªãã£ãã®ã ããã©ããä»ãªãå°ãç°¡åãªæããããã Cã§ãããã¯ã¼ã¯ããã°ã©ãã³ã°æ¸ãããã½ã¼ã¹ã³ã¼ããããããèªãã§â¦
ã©ãã³èªãåã£ã¦ã¿ããã¹ã.. åå¼·ã ããã®ã§ãã£ã¡ã§åå¼·è¨é²ãæ¸ãã㪠i.e = id est e.g = ? ããï¼æ¥ãçµã¤ã¨ãããããªã..ã¢ã©ãã¢èªãåã£ããã©ç 究室çã«ãããªãã®ã§æ¾ç½®ããª
vimãã©ã°ã¤ã³ã§æåã³ã¼ããå¤æã§ãããã¤ããªãããªã¼ã¨æã£ã¦ãã®ã§ãããä½ã¨ãçºè¦ã§ãã¾ããFencview.vimãã®ãã©ã°ã¤ã³ã¯vimã®ãã©ã°ã¤ã³ãã©ã«ãã«å ¥ããã¨ãgvimã®ã¡ãã¥ã¼ãã¼ã«ç»é²ãããutf-8ãeuc-jpçã®å¤æãæå®ãããã¨ãã§ããããã«ãªãâ¦
ä¹ ã ã«ãã©ã¤ã¹å å·¥ããããä¹ ãã¶ãããã¦ä½¿ãæ¹ãããããªãã£ãã®ã§äººã«èãã¾ãã£ã¦å°ãã ããã£ããz軸ãã¢ããã°æ©è½ã ã£ãã®ã§å°ã é¢åã ã£ã(10må å·¥ã ã¨2*5ã¨ãã£ã¦ä½æ¥ãããã®ã§éä¸ã§ä½ããªå å·¥ãããããããªããªãï½)
ãã³ãã³ãã¦ã³ãã¼ãã¼(ã³ã¡ã³ããªããã³ã¡ã³ãããã ã¨ã¹ããªã¼ãã³ã°ï¼ã¿ããã«å®éã®ãã±ãããåå¾ããå¿ è¦ãåºã¦ããã®ã§é£ãããªãï¼æã ã£ããä½ã£ã¦ã¿ãã®ãé¢ç½ããããããªãï¼) ä½ããã® Webä¸ã§ãã¦ã³ãã¼ãã§ããã㤠Unixコï¾ï¾ï¾ï¾ã¨ãã¦ãã¦ã³ãâ¦
è²ã ãªãã¨ãããã¨ãã¤ã®éã«ãæ«æãã¦ããã¨ã¨ããããã®ã§,ãã£ããã¨ãªã¹ã+ãã£ã¦ããã¨ãªã¹ãã£ã¦ã®ãä½ã£ã¦ã¿ããã¨æããå人çãªç 究ã®é²è¡åº¦ããªã©ãæ¸ãè¾¼ãäºå® 対ç«æ§é ã¨ãã¦æ«æãªã¹ããä½æããããª.
wiresharkã§éãã§ã¿ãè¨é²ãæ¸ãã¦ã¿ã æµãã¨ãã¦ã¯æ¬¡ã®ãããªæãã«ãªã 1. wiresharkèµ·å 2. ãã³ãã³åç»ãè¦ã 3. wiresharkåæ¢ 3. ãã±ãã解æ(http.method == "GET")3ã®è§£æãè¦ãã¨ä»¥ä¸ã®ãããªå ´æã§åç»ãåå¾ãã¦ãããã¨ãããã http://59.1â¦
ä»ã¾ã§æ¬é ãã¦ããRFCãã¾ããã«èªããã¨ã«ãããå§ãã¯HTTP 1.1ãããã®ä»æ§ãã.
åã ãã対話åã®ããã°ã©ã ãã·ã§ã«ã§å®è¡ããã«ã¯ã©ãããã°ããã®ãæ°ã«ãªã£ã¦ãã®ã ããã©ããexpectã使ãã°ããã¨ãããã¨ãåãã£ãã unix useful command . ããã®ãµã¤ãã®æ å ±ã¯ãªããªãç§é¸ã§ãã "passwd","ftp","telnet","tip" çã®å¯¾è©±å½¢ããâ¦
ãããã£ã¦IPCã®åå¼·ä¸...shmgetã調ã¹ãã¨ãããªæ å ±ãã®ã£ã¦ã ãã° IPC_PRIVATE ã¨ããååãé¸ãã ã®ã¯ãããã失æã§ãããã IPC_NEW ã®æ¹ãããæ確ã«ãã®æ©è½ã表ãã¦ããã ããã çµæ§unixç³»ã®ã³ãã³ãã¯å½åã«åé¡ã®ããã®ãå¤ãæ°ããã¦ãã killâ¦
ï¼æãï¼ï¼æ¥ãªã®ã§ãã¾ããã«é¢è©¦ã®åå¼·å§ããªãããããªããªã. ã¾ãã¯toeflããããª
å¦çãã°ãã·ã¦ã å å·¥ã³ã³ãã¹ãã£ã¦ã®ããã£ãã大è³ï¼ï¼ä¸åã¨ãã§ãããæå¤ã¨é¢ç½ãããããããªããã©ããã£ã¡ç³»ã®å¦çãããããå¿åããªãããããªãããªï¼ã¨æã£ããã¦ããã°ãã·ã¦ã ãªãã¦æ®éå å·¥ããªãããé«ãã使ãæ©ä¼ããã¾ããªããããã
vimã«ãããã¯ãæ©è½?ãã使ããã¨ã¯æãã¤ã¤ãããã¾ã§ä½¿ã£ã¦ããªãã£ãããã¾ãã¾ãé»è»ã®ä¸ã§ãã¼ãã½ã§éãã§ãã¨ãã«ãªãã¨ãªãvimã®ããã¥ã¢ã«ãèªãã§ãã¨ãã«ãã¯ãã®ä½¿ç¨æ¹æ³ãæ¸ãã¦ãã®ã§ãã®å 容ãè¦ã¦ã¿ããåºæ¬çãªä½¿ç¨æ¹æ³ã¯ä»¥ä¸ã®ããã«ãªãâ¦
ãªãã¨ãªãbook offã§ç«ã¡èªã¿ããã 大山大å çã¯ããããæ¹ã§ãã
ãªãã¨ãhttpãã±ããã®ãããã¼ã¨ããã£ã¼ã«åããæ¹æ³ãåãã£ãã®ã§ãè¶ ç°¡åãªãã¦ã³ãã¼ãã¼ãä½ããã¨ãã§ãããã¨ã¯ã¡ãã£ã¨ãããã¹ã(ç»åã¨ãåç»)ããã¦ã¿ããã¨æãã ããã£ã¼ã¨ãããã¼ãåããæ¹æ³ã¯strlen(buf) == 2ã£ã¦ããã¨ããã§ãã£ã¦ãâ¦
wiresharkã使ã£ã¦ãã±ãã解æããã®ãmyãã¼ã ãªã®ã§ããã®ä¸è²«ã¨ãã¦httpclient(downloader..)ãä½ããã¨æã£ããéè¦ãªã®ã¯ãµã¼ãã¼ã¨connectionã確ç«ããå¾ fprintf(fp, "GET %s HTTP/1.0\r\n", path); fprintf(fp, "Host: %s:%d\r\n", host, port); fâ¦
ä¸éã§è¦ã¦ãã. 16:40åãããã«ã¡ã¤ã³ãã¼ã«ã«è¡ã£ããæ®ã©å¾ ããã«ï¼ï¼ï¼ï¼äººãããï¼ã¿ããã¨ãã§ãã¾ããï¼ãã¯ãçã¯ãããã®ã§ãã.. ã¡ã¤ã³ãè¦ãåã«ç¬¬ï¼ãã¼ã«ã®å±ç¤ºç¹ãè¦ã¦ããã®ã§ãã,ï¼ï½ï¼ãããã®é¦¬ã®è¶³ã¨ãï¼è¶³ã®è§£åå³ã¨ãï¼ãã¢ãªã³ã°ã¨â¦
amazonã§è²·ã£ã¦ã¿ãï¼æè²·ããã¨æã£ã¦ããã ãã©ãã¼ã±ãããã©ã¤ã¹ã§é«ãã£ãã®ã§ãã°ããæ¾æ£ãã¦ã.1800åãªãï¼ 1ä¸è¡ã®unixã³ã¼ãã¯ã·ã³ãã«ã§ããã¨æãï¼
vimã§å ¨é¸æã£ã¦ã©ãããã®ããããã¦ãã¾ã£ã :%sã§ã¯ãªãã.. :%Sã£ã¦ãã¤ã¨ç¾å¨ã®ãã£ã¬ã¯ããªã¦ã£ã³ãã¦ãåºã¦ãã 調ã¹ãã¨ããggVG? ããã¯ã¾ã.. ãã£ã¨ç°¡åãªã³ãã³ãããã£ãæ°ããããã ãã©ãªã.. b.hatena.ne.jp/t/ãªãã?sort=count ã£ã¦è¦ãã¨â¦
windowsã¨macã¨colinuxã¨freebsdã§å ¨é¨ã°ãã°ãã«è¨å®ãã¦ããï½ åæã¨ããã¦ãªãã¨ãããããããªããªãã®ã§ãã¹ãç¨ã«winã®ãè²¼ã£ã¨ãã æ ¹ãããå æ¸ãªã®ã§é©å½ãªç¶æ ã®ã¾ã¾ãªã®ã§ããããæ¹é ãã¦ãã. set nocompatible source $VIMRUNTIME/vimrc_examâ¦