while (1){ char buf[BUF_LEN]; int read_size; static int body_flg = 0; char *p; read_size = read(s,buf,BUF_LEN); if ( read_size > 0 ){ if ( body_flg ){ p = buf; } else if ( p = strstr(buf,"\r\n\r\n") ){ /* ¶õ¹Ô¤Ï¤¢¤ë¤«? */ p+=4; /* \r\n\r\n ¤ÎʬÀè¤Ë¿Ê¤á¤ë */ read_size -= p-buf; /* ¥µ¥¤¥ºÄ´À° */ body_flg = 1; } if ( body_flg ){ write(1,p,read_size); } } else { break; } } ¤³¤ó¤Ê´¶¤¸¤Ç¤É¤¦¤Ç¤·¤ç¤¦¤«? |
¤¢¡¢Á´Á³¥À¥á¤¸¤ã¤ó¡£ > } else if ( p = strstr(buf,"\r\n\r\n") ){ buf ¤Ï \0 ¤Ç terminate ¤µ¤ì¤Æ¤Ê¤¤¤·¡¢¤½¤â¤½¤â \r\n\r\n ¤¬1²ó¤ÇÆɤá¤ëÊݾڤϤʤ¯¤Æ¡¢¤Á¤ç¤¦¤É ¶³¦¤Ë¤Þ¤¿¤¬¤Ã¤Æ¤ë¤«¤â¤·¤ì¤Ê¤¤¡£ ¤Þ¡¢¤½¤³¤é¤Ø¤ó¤Ï¤è¤·¤Ê¤Ë¡£ |
ping¥³¥Þ¥ó¥É¤Ç¤Ï¡¢¥Û¥¹¥È̾¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢ ¤½¤Î¥Û¥¹¥È̾¡Ê¤Þ¤¿¤Ï£É£Ð¥¢¥É¥ì¥¹¡Ë¤È¤ÎÀܳ³Îǧ¤¬ ¤Ç¤¤Þ¤¹¡£ ¤³¤ì¤ÈƱÍͤˡ¢¤½¤Î¥Û¥¹¥È̾¡Ê¤Þ¤¿¤Ï£É£Ð¥¢¥É¥ì¥¹¡Ë¤Î ÆÃÄê¤Î¥Ý¡¼¥ÈÈÖ¹æ¤ËÂФ·¤Æ¡¢Àܳ³Îǧ¤ò¹Ô¤¤¤¿¤¤¤Î ¤Ç¤¹¤¬¡¢¤Ê¤Ë¤«Îɤ¤ÊýË¡¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡© |
¼ÂºÝ¤Ë connect ¤¹¤ë¤Î¤Ï¥À¥á¤Ê¤ó¤Ç¤¹¤«? ¤½¤ì°Ê³°¤ÎÊýË¡¤Ï¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£Â¿Ê¬¡£ |
ËÜ¥µ¥¤¥È¤Ï¤¿¤Þ¤Ë¤Ç¤Ï¤¢¤ê¤Þ¤¹¤¬»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤ª¤ê¤Þ¤¹¡£ »ä¤â²¿¤«Åê¹Æ¤µ¤»¤Æ¤¤¤¿¤À¤¤¿¤¤¤È¹Í¤¨¤Æ¤ª¤ê¤Þ¤·¤¿¤¬¡¢¥×¥í¥°¥é¥ß¥ó¥°¥µ¡¼¥¯¥ë¡È¥ß¥ì¥Ë¥¢¥à¡É¤òΩ¤Á¾å¤²¤Þ¤·¤¿¤Î¤Ç¤´¾Ò²ð¤ò¤µ¤»¤Æ¤¤¤¿¤À¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£·Ç¼¨ÈĤΰƷï¤ÈľÀÜ´Ø·¸¤Ê¤¤¤È»×¤ï¤ì¤Þ¤¹¤¬ÍƼϴꤤ¤Þ¤¹¡£ ¥ß¥ì¥Ë¥¢¥à¤Ï¥µ¡¼¥¯¥ë¤È¤¤¤¦ÂμÁ¤òÀ¸¤«¤·¤Æ°åÎÅ¡¦Ê¡»ã¡¦¶µ°é¤ÎʬÌî¤Ç¹âµ¡Ç½¡¦Äã²Á³Ê¥Ó¥¸¥Í¥¹¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¹½ÃÛ¤òÌÜŪ¤È¤·¤¿¥×¥í¥°¥é¥ß¥ó¥°¥µ¡¼¥¯¥ë¤Ç¤¢¤ê¤Þ¤¹¡£ ¸½ºß¡¢¥á¥ó¥Ð¡¼¤Ï15̾ÄøÅ٤ǥۡ¼¥à¥Ú¡¼¥¸¤ò·úÀßÃæ¤Ç¤¢¤ê¡¢¸½ºßCGIÅù¤ÎÁȤá¤ëÊý¡¢VB¡¢VC++¡¢Delphi¡¢Java¡¢HTML¡¢DTP¡Ê¥Ç¥¶¥¤¥ó¡Ë¤ÎÆÀ°Õ¤ÊÊý¤òÊ罸Ãפ·¤Æ¤ª¤ê¤Þ¤¹¡£¥á¥ó¥Ð¡¼¤Ï¸½¿¦¤Î¥×¥í¥°¥é¥Þ¡¼¡¢DTP¹½ÃÛ¼Ô¡¢²ÈÄí¤Î¼çÉؤʤɤ¤¤í¤¤¤í¤ÊÊý¤Ç¹½À®¤µ¤ì¤Æ¤ª¤ê¤Þ¤¹¡£ ¥ß¥ì¥Ë¥¢¥à¤Ë»²²Ã¤¹¤ë¾ò·ï¤È¤·¤Æ¤ÏËܿͤ˾Q¤ÈÀÕǤ´¶¤È¹¥´ñ¿´¤¬É¬ÍפǤ¢¤ê¤½¤Î¾¤ÏÌä¤ï¤ì¤Þ¤»¤ó¡£ ¶½Ì£¤¬¤´¤¶¤¤¤Þ¤·¤¿¤é¥á¡¼¥ë¤Ë¤Æ¤ªÊÖ»ö¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£ ¼ºÎ餤¤¿¤·¤Þ¤·¤¿¡£²ò¤«¤é¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤·¤¿¤é»ä¤âÅê¹Æ¤µ¤»¤Æ¤¤¤¿¤À¤¯¤«¤â¤·¤ì¤Þ¤»¤ó¤Î¤Ç¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹ |
¤Ï¤¸¤á¤Þ¤·¤Æ¡¢¤¤¤Ä¤âHP¸«¤µ¤·¤Æ¤¤¤¿¤À¤¤¤Æ¤Þ¤¹ ´¶¼Õ winsock¤ò¡Ê£ã¸À¸ì¤Ç¡Ë»È¤Ã¤Æ¥Á¥ã¥Ã¥È¤Î¥×¥í¥°¥é¥à¤ò½ñ¤¤¤Æ¤ß¤è¤¦¤È»×¤Ã¤¿¤ó¤Ç¤¹¤±¤ì¤É¡¢¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥¿¥¤¥×¤Î¥µ¡¼¥Ð¡¼¤Ç¥¯¥é¥¤¥¢¥ó¥È¤Ësend()¤¹¤ë»þ¡Ê¿ʬIP¥Þ¥ë¥Á¥¥ã¥¹¥È¤ÃÅÛ¤ò»È¤¦¤È»×¤¦¤ó¤Ç¤¹¤±¤É¡Ë¤Î¤ä¤êÊý¤Ë¤Ä¤¤¤Æ²¿¤«¾ðÊ󤪻ý¤Á¤Ç¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡© Àܳ¤µ¤ì¤¿¥¯¥é¥¤¥¢¥ó¥ÈÁ´¤Æ¤ËƱÊóÁ÷¿®¤Ç¤¤ë¤è¤¦¤Ë¤·¤¿¤¤¤ó¤Ç¤¹¤±¤ì¤É¡¢¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ ¸å¡¢¾¡¼ê¤ËHP¤Ë¥ê¥ó¥¯Ä¥¤Ã¤Æ¤·¤Þ¤Ã¤¿¤ó¤Ç¤¹¤±¤É¤è¤í¤·¤«¤Ã¤¿¤Ç¤·¤ç¤¦¤«¡© ¤Þ¤º¤¤¤è¤¦¤À¤Ã¤¿¤éÏ¢Íí²¼¤µ¤¤ |
¥Þ¥ë¥Á¥¥ã¥¹¥È¤¹¤ë¤Ê¤é¡¢TCP ¤¸¤ã¤Ê¤¯¤Æ UDP ¤Ë¤Ê¤ë¤È»×¤¤¤Þ¤¹¤¬¡¢ ¤½¤³¤é¤Ø¤ó¤Î´ðÁÃÃμ±¤Ï¤¢¤ê¤Þ¤¹¤«? ¤¢¤È¡¢IPv4 ¤Ç¤Ï¥Þ¥ë¥Á¥¥ã¥¹¥È¤Ï optional ¤Ê¤ó¤Ç¤¹¤¬¡¢ÂçÄñ¤Î OS ¤Ë¤Ï¼ÂÁõ¤µ¤ì¤Æ¤ë¤Î¤«¤·¤é? ¤Ç¡¢Ëͤⶽ̣¤Ï¤¢¤ê¤Þ¤¹¤¬¡¢¤½¤³¤é¤Ø¤ó¤Ï¤Þ¤À¼«Ê¬¤Î¤â¤Î¤Ë¤·¤Æ¤¤¤Ê¤¤¤Î¤Ç¡¢ ÀâÌÀ¤Ç¤¤Ê¤¤¤Ç¤¹¡£ http://X68000.startshop.co.jp/~68user/net/link-book.html ¤Î ¡ÖUNIX ¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°Âè2ÈÇ Vol.1¡× ¤Ë¤È¤Ã¤Æ¤â¾Ü¤·¤¯½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¤Î¤Ç¡¢¤è¤«¤Ã¤¿¤éÇã¤Ã¤Æ¤ß¤Æ²¼¤µ¤¤¡£ # º£ÀâÌÀ¤·¤è¤¦¤È¤¹¤ë¤È¡¢¤³¤ÎËܤδݼ̤·¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¤Î¤Ç¡£ > \r\n\r\n ¤¬1²ó¤ÇÆɤá¤ëÊݾڤϤʤ¯¤Æ¡¢ ¤³¤³¤é¤Ø¤ó¤Î¤³¤È¤Ë¤Ä¤¤¤Æ¤â¡¢¤³¤ÎËܤ˾ܤ·¤¯½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¡£ ÍפÏ1¥Ð¥¤¥È¤º¤ÄÆɤá¤Ð¤¤¤¤¤ó¤Ç¤¹¤¬¡¢Ëè²ó read ¤·¤Æ¤ÏÃÙ¤¯¤Ê¤ë¤Î¤Ç Àè¤Ë¥Ð¥Ã¥Õ¥¡¤ËÆɤ߹þ¤ó¤À¤ê¡¢read ¤·¤Æ¤¤¤ë¤È¤¤Ë¥·¥°¥Ê¥ë¤¬Èô¤ó¤Ç¤¤¿ ¾ì¹ç¤Î EINTR ¤Ê¤É¤Ê¤É¡£ 8000±ß½Ð¤¹¤À¤±¤Ç¡¢5Ëü±ßʬ¤¯¤é¤¤¤ÎÃ챤¬ÆÀ¤é¤ì¤Þ¤¹¡£¤ª¤¹¤¹¤á¡£ > ¾¡¼ê¤ËHP¤Ë¥ê¥ó¥¯Ä¥¤Ã¤Æ¤·¤Þ¤Ã¤¿¤ó¤Ç¤¹¤±¤É¤è¤í¤·¤«¤Ã¤¿¤Ç¤·¤ç¤¦¤«¡© ¤É¤¦¤¾¡Á¡£ |
>> $send¤È¤«¡¢Å¬Åö¤ÊÊÑ¿ô¤ËÁ´Éô·Ò¤²¤ÆÂåÆþ¤·¡¢ >> print SOCKET $send; ¤È¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ >¤È¤¤¤¦¤³¤È¤Ï¤¢¤êÆÀ¤Ê¤¤ ³Î¤«¤Ë¤½¤¦¤Ç¤·¤¿¡Ä$send¤ËÁ´ÉôÂåÆþ¤¹¤ë¤Î¤È HTTP¥Ð¡¼¥¸¥ç¥ó¤ò¿§¡¹ÊѤ¨¤ë¤Î¤òƱ»þ¤Ë»î¤·¤Æ¤Æº®Í𤷤Ƥ¿¤ß¤¿¤¤¤Ç¤¹¡Ê´À¡Ë ¤È¤¤¤¦¤ï¤±¤Ç¡¢¤ä¤Ã¤Ñ¤ê·Ò¤²¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¥Ï¥¤¡£ ¤Þ¤¿¡¢HTTP¥Ð¡¼¥¸¥ç¥ó¾Êά¤â0.9°·¤¤¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤è¤¦¤Ç¤·¤¿¡£ ¤Ç¤â¾Êά¤¹¤ë¤È0.9¤Ë¤µ¤ì¤ë¤È¤¤¤¦¤Î¤Ï¤Á¤ç¤Ã¤È¶Ã¤¡£ ¤³¤ì¤Ï¥µ¡¼¥Ð¦¤Ç¤½¤¦ÀßÄꤷ¤Æ¤¤¤ë°Ù¤Ç¤¹¤è¤Í¡Ä¡©¤È¤¤¤¦»ö¤Ï¡Ä º£»þ0.9¤Ê¤ó¤Æ»È¤ï¤Ê¤¤¤·¡Ä1.0¤ä1.1¤ò¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤Ë¤·¤Æ¤¤¤ë¥µ¡¼¥Ð¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤«¡© |
HTTP ¤Î¥Ð¡¼¥¸¥ç¥ó¾Êά»þ¤Ï 0.9 ¤Ç¤¢¤ë¤È RFC ¤Ç·è¤Þ¤Ã¤Æ¤¤¤Þ¤¹¡£ http://X68000.startshop.co.jp/~68user/net/rfc.html ¤È¤¤¤¦¤è¤ê¡¢¡Ö¾Êά¤·¤¿¤â¤Î¤Î¤ß¤ò 0.9 ¤È¤ß¤Ê¤¹¡×¤È¸À¤Ã¤¿Êý¤¬Àµ¤·¤¤¤«¤Ê¡£ GET /index.html HTTP/0.9 ¤È¤¤¤¦¥ê¥¯¥¨¥¹¥È¤Ï¤Ç¤¤Ê¤¤¤è¤¦¤Ê¤Î¤Ç¡£ |
ÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¥Þ¥ë¥Á¥¥ã¥¹¥È¤Ë¤Ä¤¤¤Æ¤Ç¤¹¤¬ winsock1,1¤Ç¤Ïoption°·¤¤¤ÇÀµ¼°¥µ¥Ý¡¼¥È¤Ç¤Ï¤Ê¤¯ 2,0¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤ë¤è¤¦¤Ê¤ó¤Ç¤¹¤¬¡¢¤¤¤¤¾ðÊ󤬤ޤÀÆÀ¤é¤ì¤Æ¤¤¤Þ¤»¤ó¡£ ¤â¤¦¤Á¤ç¤Ã¤ÈÄ´¤Ù¤Æ¡¢¤¦¤Þ¤¯¤¤¤Ã¤¿¤éÊó¹ð¤·¤Þ¤¹¡£ ¡Êº£windows¤Ç¤ä¤Ã¤Æ¤ë¤ó¤Ç68user¤µ¤ó¤Ï¤¢¤Þ¤ê¶½Ì£¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡Ë |
¤Ï¤¸¤á¤Þ¤·¤Æ¡£ ¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×Æɤޤ»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£ £È£Ô£Ô£Ð¤Î½é¿´¼Ô¤Î¤¿¤á¡¢ÂçÊÑÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¤³¤ÎÅÙproxy¥µ¡¼¥Ð¤ò»È¤Ã¤Æ¡¢£Õ£Ò£Ì¤ò¼è¤Ã¤Æ¤¯¤ë¥·¥¹¥Æ¥à¤ò³«È¯¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢¤¦¤Þ¤¯Æ°ºî¤·¤Þ¤»¤ó¡£ GET¤Î¥ì¥¹¥Ý¥ó¥¹¤Ç¡¢¥Ø¥Ã¥À¤Ç¤Ï¡Ö200 OK¡×¤¬Ê֤äƤ¤Æ¤¤¤ë¤Î¤Ë¡¢¥Ø¥Ã¥À¤·¤«¼è½Ð¤»¤Þ¤»¤ó¡£¤É¤ó¤Ê¸¶°ø¤¬¹Í¤¨¤é¤ì¤ë¤Ç¤·¤ç¤¦¤«¡£ ´Ä¶¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ proxy¥µ¡¼¥Ð¡§NetscapeProxyServer ¼è½Ð¤¹URL¤Î¤¢¤ë¥µ¡¼¥Ð¡§Apache 1.3.9 |
> ¥Ø¥Ã¥À¤·¤«¼è½Ð¤»¤Þ¤»¤ó¡£ - ¤É¤¦¤¤¤¦¥ê¥¯¥¨¥¹¥È¤òÁ÷¤Ã¤¿¤Î¤« - ´Ä¶ (Windows ¤Ê¤É) - ²¿¤ò¼Â¹Ô¤·¤¿¤Î¤« (telnet ¤Ç¤ä¤Ã¤¿¤È¤« perl ¤Ç½ñ¤¤¤¿¤È¤«) - ¤É¤Î URL ¤ò»î¤·¤Æ¤âƱ¤¸·ë²Ì¤Ë¤Ê¤ë¤Î¤« - ¼ÂºÝ¤Î¥³¡¼¥É¤Ï (perl ¤È C °Ê³°¤ï¤«¤ê¤Þ¤»¤ó¤±¤É) ¤Ê¤É¤¬¤ï¤«¤é¤Ê¤¤¤È²¿¤È¤â¸À¤¨¤Þ¤»¤ó¤¬¡¢¤È¤ê¤¢¤¨¤º telnet ¤Ç proxy ¥µ¡¼¥Ð¤Ë·Ò¤²¤Æ¡¢ GET http://www.yahoo.co.jp/ HTTP/1.0 Host: www.yahoo.co.jp (¶õ¹Ô) ¤ò»î¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£ > ¡Êº£windows¤Ç¤ä¤Ã¤Æ¤ë¤ó¤Ç68user¤µ¤ó¤Ï¤¢¤Þ¤ê¶½Ì£¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡Ë ºÇ¶á¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¼«ÂΤËË°¤¤Æ¤·¤Þ¤¤¡¢ 3D ¤Ë¤Ï¤Þ¤Ã¤Æ¤¿¤ê¤·¤Þ¤¹(^^; ¤Á¤ç¤¤¤È¾Ò²ð¤·¤È¤¤Þ¤¹¤¬¡¢»²¹Í¤Ë¤·¤¿¤Î¤Ï¤³¤Î¥µ¥¤¥È¤Ç¤¹¡£ ¤È¤Æ¤â¤ï¤«¤ê¤ä¤¹¤¯½ñ¤«¤ì¤Æ¤¤¤ë¤Î¤Ç¡¢¶½Ì£¤Î¤¢¤ëÊý¤Ï¤¼¤Ò¡£ http://www.cim.pe.u-tokyo.ac.jp/~mitani/Java/java3d/index.html # Ĺǯ¤ÎÌ´¤Ç¤¢¤Ã¤¿¥Ý¥ê¥´¥ó¤ò¤°¤ê¤°¤ê²ó¤¹¤Î¤¬¼Â¸½¤Ç¤¤Æ¤¦¤ì¤·¤¤¡£ # º£¤Ï¥Æ¥¯¥¹¥Á¥ãŽ¤Ã¤¿¤ê¥·¥§¡¼¥Ç¥£¥ó¥°¤«¤±¤ëÊýË¡¤òÌϺ÷Ãæ¡Ä¡£ ## ¤³¤³¤é¤Ø¤ó¤ò²òÀ⤷¤Æ¤ë¥µ¥¤¥È¤Ê¤¤¤«¤·¤é? |
ÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ >¡¡- ¤É¤¦¤¤¤¦¥ê¥¯¥¨¥¹¥È¤òÁ÷¤Ã¤¿¤Î¤« >¡¡- ´Ä¶ (Windows ¤Ê¤É) >¡¡- ²¿¤ò¼Â¹Ô¤·¤¿¤Î¤« (telnet ¤Ç¤ä¤Ã¤¿¤È¤« perl ¤Ç½ñ¤¤¤¿¤È¤«) >¡¡- ¤É¤Î URL ¤ò»î¤·¤Æ¤âƱ¤¸·ë²Ì¤Ë¤Ê¤ë¤Î¤« >¡¡- ¼ÂºÝ¤Î¥³¡¼¥É¤Ï (perl ¤È C °Ê³°¤ï¤«¤ê¤Þ¤»¤ó¤±¤É) ´Ä¶¡§£Õ£Î£É£Ø ¸À¸ì¡§£Ã¸À¸ì¤Çproxy¥µ¡¼¥Ð¤Ë¤ÏsocketÄÌ¿®¤Ç¥ê¥¯¥¨¥¹¥È¤òÁ÷¤Ã¤Æ¤¤¤Þ¤¹¡£ ¶ñÂÎŪ¤Ë¤Ï°Ê²¼¤ÎÆâÍƤòsend¤ÇÁ÷¤Ã¤Æ¤¤¤Þ¤¹¡£ GET http://www.yahoo.co.jp/ HTTP/1.1 Host:www.yahoo.co.jp (¶õ¹Ô) ¢¨proxy¥µ¡¼¥Ð¤¬¼ÒÆâ¤Î¥Þ¥·¥ó¤·¤«¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤ÀßÄê¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢ ¼ÂºÝ¤Ë¤Ïwww.yahoo.co.jp¤ÎÉôʬ¤Ï¼ÒÆâ¤Îhost̾¤ò»ØÄꤷ¤Æ¤¤¤Þ¤¹¡£ >> ¥Ø¥Ã¥À¤·¤«¼è½Ð¤»¤Þ¤»¤ó¡£ ¤³¤Î¸å¡¢¤â¤¦¤Á¤ç¤Ã¤ÈÄ´¤Ù¤Æ¤ß¤ë¤È¡¢ °ìÅÙÌܤÎrecv¤Ç¥ì¥¹¥Ý¥ó¥¹¥Ø¥Ã¥À¤¬Á÷¤é¤ì¤Æ¤¤Æ¡¢ ÆóÅÙÌܤÎrecv¤Ç¥¨¥ó¥Æ¥£¥Æ¥£¥Ü¥Ç¥£¤¬¼è½Ð¤µ¤ì¤ë¤³¤È¤¬¤ï¤«¤ê¤Þ¤·¤¿¡£ NetscapeProxyServer¤Î»ÅÍͤʤΤǤ·¤ç¤¦¤«¡£ ¤¢¤È¡¢¥ì¥¹¥Ý¥ó¥¹¥Ø¥Ã¥Àʸ»úÎó¤ÎÂçʸ»ú¾®Ê¸»ú¤Ç¤¹¤¬¡¢ ËܤʤɤǤÏ"-"¤Î¸å¤Îʸ»ú¤ÏÂçʸ»ú¤Ê¤Î¤Ç¤¹¤¬¡¢ ¾åµ¤Î´Ä¶¤Ç¹Ô¤¦¤È¾®Ê¸»ú¤Ë¤Ê¤ê¤Þ¤¹¡£ (Îã¡Ë¡ÖLast-Modified¡×¢ª¡ÖLast-modified¡×¤Ê¤É¡£¡£¡£ ¤³¤ì¤âNetscape Proxy Server¤Î»ÅÍͤʤΤǤ·¤ç¤¦¤«¡£ ¸æ¸ÃΤΤ³¤È¤¬¤¢¤ì¤Ð¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£ |
> °ìÅÙÌܤÎrecv¤Ç¥ì¥¹¥Ý¥ó¥¹¥Ø¥Ã¥À¤¬Á÷¤é¤ì¤Æ¤¤Æ¡¢ > ÆóÅÙÌܤÎrecv¤Ç¥¨¥ó¥Æ¥£¥Æ¥£¥Ü¥Ç¥£¤¬¼è½Ð¤µ¤ì¤ë¤³¤È¤¬¤ï¤«¤ê¤Þ¤·¤¿¡£ ½½Ê¬¤ÊÎ̤ΥХåե¡¤òÍÑ°Õ¤·¤Æ¡¢½½Ê¬¤Ê¥µ¥¤¥º¤ò»ØÄꤷ¤¿¤«¤é¤È¤¤¤Ã¤Æ¡¢ °ìÅ٤Πrecv ¤ÇÁ´¤Æ¤Î¥Ç¡¼¥¿¤ò¼è¤ê½Ð¤»¤ë¤È¤¤¤¦ÊݾڤϤ¢¤ê¤Þ¤»¤ó¡£ ¤³¤ì¤Ï read ¤Ç¤âƱ¤¸¤Ç¤¹¡£ http://X68000.startshop.co.jp/~68user/net/c-open.html ¤ÎºÇ¸å¤Ë¤Ï > ¤â¤·»ØÄꤷ¤¿¥Õ¥¡¥¤¥ë¤ÎŤµ¤¬ 600 ¥Ð¥¤¥È¤Ê¤é¡¢ > ¡¡1²óÌܤΥ롼¥×: read_size == 256 > ¡¡2²óÌܤΥ롼¥×: read_size == 256 > ¡¡3²óÌܤΥ롼¥×: read_size == 88 > ¡¡4²óÌܤΥ롼¥×: read_size == 0 ¤È½ñ¤¤Þ¤·¤¿¤¬¡¢¤³¤ì¤ÏÁê¼ê¤¬¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤À¤«¤é¤Ç¤¢¤Ã¤Æ¡¢ ¥½¥±¥Ã¥È·Ðͳ¤À¤È¡¢ char buf[1000]; read(socket,buf,sizeof(buf)); ¤È¤·¤Æ¤â¡¢ 1²óÌܤÎread: read_size == 10 2²óÌܤÎread: read_size == 20 3²óÌܤÎread: read_size == 1 4²óÌܤÎread: read_size == 0 ¤Ê¤É¤È¤Ê¤ë²ÄǽÀ¤¬¤¢¤ê¤Þ¤¹ (¤³¤ÎÎã¤Ç¤Ï¥Ç¡¼¥¿Î̤Ï31¥Ð¥¤¥È)¡£ Í×¤Ï IP ¥Ñ¥±¥Ã¥È¤¬ºÙÀÚ¤ì¤ËÁ÷¤é¤ì¤Æ¤¤¿¤È¤¡¢read(recv) ¤¹¤ë¤È Í׵ᤵ¤ì¤¿¥µ¥¤¥º¤Î¥Ç¡¼¥¿¤¬ÆϤ¯¤Þ¤ÇÂԤĤΤǤϤʤ¯¡¢¤½¤Î¤È¤¤Þ¤Ç¤Ë ¼õ¤±¼è¤Ã¤Æ¤¤¤ë¥Ç¡¼¥¿¤òÊÖ¤¹¤ï¤±¤Ç¤¹¡£Î㤨¤Ð echo ¥µ¡¼¥Ð¤Ç¡¢ $|=1; print(SOCKET,"a"); sleep(5); print(SOCKET,"b"); sleep(5); print(SOCKET,"c"); sleep(5); ¤È¤¹¤ë¤È¡¢ºÙÀÚ¤ì¤Ê¥Ç¡¼¥¿¤¬Á÷¤é¤ì¤ë¤ï¤±¤Ç¤¹¡£ > (Îã¡Ë¡ÖLast-Modified¡×¢ª¡ÖLast-modified¡×¤Ê¤É¡£¡£¡£ Netscape Proxy Server ¤¬¤ï¤¶¤ï¤¶ÊÑ´¹¤·¤Æ¤¤¤ë¤Î¤«¡¢ WWW ¥µ¡¼¥Ð¤¬¤½¤¦¤¤¤¦¥Ø¥Ã¥À¤òÊÖ¤¹¤Î¤«¤Ï¤ï¤«¤ê¤Þ¤»¤ó¤¬¡¢ µ¬³Ê¾å¤ÏÂçʸ»ú¾®Ê¸»ú¤Ï¶èÊ̤µ¤ì¤Þ¤»¤ó (RFC ¤Î¤É¤³¤«¤Ë½ñ¤¤¤Æ¤¢¤ë¤Ï¤º)¡£ Last-Modified/Last-modefied/LaSt-MODIfied ¤ÏƱ¤¸¤è¤¦¤Ë °·¤ï¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£ ¤Á¤ç¤Ã¤ÈÍÑ»ö¤¬¤¢¤ê¡¢º£Æü¤ÎÌ뤫¤é¿ôÆü´Ö ÊÖÅú¤Ç¤¤Þ¤»¤ó¤Î¤Ç¤è¤í¤·¤¯¡£ |
> °ìÅ٤Πrecv ¤ÇÁ´¤Æ¤Î¥Ç¡¼¥¿¤ò¼è¤ê½Ð¤»¤ë¤È¤¤¤¦ÊݾڤϤ¢¤ê¤Þ¤»¤ó¡£ ¤¢¡¢¤³¤ì¤Ï read_size = recv(s,buf,sizeof(buf),0); ¤Î¤³¤È¤Ç¤¹¡£ read_size = recv(s,buf,sizeof(buf),MSG_WAITALL); ¤Ê¤é¡¢Á´¥Ç¡¼¥¿¤òÂÔ¤Á¤Þ¤¹¤Î¤Ç¡¢recv ¤Ï1²ó¤À¤±¼Â¹Ô¤¹¤ì¤Ð OK ¤Ç¤¹¡£ ¤¿¤À¤· MSG_WAITALL ¤ò»ØÄꤷ¤Æ¤â¡¢¥·¥°¥Ê¥ë¼õ¿®¡¦¥³¥Í¥¯¥·¥ç¥óÀÚÃÇ»þ¤Ï¡¢ Á´¥Ç¡¼¥¿¤òÂÔ¤¿¤º¤Ë recv ¤«¤éÌá¤ê¤Þ¤¹¡£ |
¤É¤â¡¢½é¤á¤Þ¤·¤Æ¡£¤È¤Û¤Û£×£×£×¡Ý¥é¥¦¥ó¥¸¤«¤éÍè¤Þ¤·¤¿¡£ ¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¤¬ÂçÊѤ¿¤á¤Ë¤Ê¤ê¤Þ¤¹¡£ ƱÍͤʻö¤Ï½ñÀҡʥ饯¥ÀÀÄËܡˤˤâ½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤Á¤é¤¬¤º¤Ã¤È²ò¤«¤ê¤ä¤¹¤¤¤Ç¤¹¡£ ¥³¥ó¥Æ¥ó¥ÄÀ©ºî¸æ¶ìÏ«ÍͤǤ¹¡¡¡õ¡¡Í¤êÆñ¤¦¸æºÂ¤¤¤Þ¤¹¡£ ------------------------------ ¤¹¤Ã¤´¤¯ÊÙ¶¯¤Ë¤Ê¤ë²òÀâ¤Î¤¿¤á¡¢·«¤êÊÖ¤·Æɤà»ö¤Ë¤Ê¤ë¤Î¤Ç¤¹¤¬¡¢¥Ù¡¼¥¸ÇÛ¿§¤¬¡¢¥Æ¥¥¹¥È¤¬¹õ·ÏÅý¤Ê¤¯Çò·ÏÅý¤Ç¤¢¤ë¤¿¤áÌܤ¬¾¯¡¹ÉÕ¤«¤ì¤Þ¤¹¡¢¤Þ¤¿¥Ð¥Ã¥¯¥«¥é¡¼¤È¥Æ¥¥¹¥È¤ÎÌÀ°Å¤¬¶á´ó¤Ã¤Æ¤¤¤ë¤Î¤Ç¤³¤ì¤âÌܤËÉÕ¤«¤ì¤ëÍ×°ø¤Î¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¡£¤Þ¤Ã¤³¤³¤¤¤é¤Ï¸Ä¿ÍŪÓϹ¥¤ÎÉôʬ¤À¤È»×¤¤¤Þ¤¹¡£ ¤½¤¦¤¤¤¦»ö¤Ç¡¢¥Ð¥Ã¥¯¥«¥é¡¼¤È¥Æ¥¥¹¥È¥«¥é¡¼¤Î»ØÄê¤ò³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤Ç»ØÄꤵ¤»¤è¤¦¤È»×¤¤¡¢¤½¤Î°Ù¤Ë¤Ï¼è¤ê¤¢¤¨¤º¥³¥ó¥Æ¥ó¥Ä¤Î³¬Áؤò´Þ¤á¤Æ¥í¡¼¥«¥ë¤Ë¥À¥¦¥ó¤·¡¢¤½¤Î¸å¥í¡¼¥«¥ëÆâ¤Ç³¬Áؤò¸Ù¤¤¤ÀHTML¥Õ¥¡¥¤¥ë¤Î½¤Àµ¤òPerl¤Ç¹Ô¤¦»ö¤Ë¤·¤Þ¤·¤¿¡£ ¤½¤¦¤¤¤¦»ö¤Ç¡¢º£¡¢ºÆµ¢Åª¥Ç¥£¥ì¥¯¥È¥ê¥¨¥ó¥È¥ê¥µ¡¼¥Á¥¹¥¯¥ê¥×¥È¤òÀ©ºîÃæ¤Ç¤¹¡£¡£¡£¡£¡£ ¡ô¤¤¤Ä¤âËÜÂê¤ÎÁ°¤Ë¡¢¡Ö¤¢¤ì¤ä¤ë¡¢¤³¤ì¤ä¤ë¡×¤È»þ´Ö¤¬¤«¤«¤ë»ä¤Ç¤·¤¿(¾Ð) #¤È¤³¤í¤Ç¡¢68user¤µ¤ó¤Ï¡¢¤È¤Û¤Û¥é¥¦¥ó¥¸¤Ç¤Î¡ÖB-cus¡×¤µ¤ó¤ÈƱ°ì¤ÊÊý¤Ç¤·¤ç¤¦¤«¡©¡¢¡¢¡¢¤Þ¤Ã¤¤¤é¤ÌÁ§º÷¤ÎÈÏáƤʤΤǤ¹¤¬(^^; |
cksum¥³¥Þ¥ó¥É¤Ë¤Ä¤¤¤ÆÃΤꤿ¤¤¤Î¤Ç¤¹¤¬¡¢ ¡cksum¥³¥Þ¥ó¥É¤Ï¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤É¤¦¤¤¤Ã¤¿¥Á¥§¥Ã¥¯¤ò¹Ô¤¦¤Ç ¤·¤ç¤¦¤«¡© ¢£Ã¸À¸ì¤«¤écksum¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤«¤±¤¿»þ¤Ë¡¢Àµ¾ï¤Ë½ªÎ»¤·¤¿¤«¡¢ ¤â¤·¤¯¤Ï¡¢°Û¾ï½ªÎ»¤·¤¿¤«¤ÎȽÃǤϹԤ¨¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¤â¤·¡¢¹Ô¤¨¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢¾ÜºÙ¤Ê¥¨¥é¡¼¾ðÊó¤Ï¤É¤¦¤¤¤Ã¤¿¤â¤Î¤¬ ¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£ |
> ¥Ù¡¼¥¸ÇÛ¿§¤¬¡¢¥Æ¥¥¹¥È¤¬¹õ·ÏÅý¤Ê¤¯Çò·ÏÅý¤Ç¤¢¤ë¤¿¤áÌܤ¬¾¯¡¹ÉÕ¤«¤ì¤Þ¤¹ ¤Ç¤¢¤ì¤Ð perl -pi.bak -e 's/BGCOLOR="#575757" TEXT="#FFFFFF"/BGCOLOR=white TEXT=black/' *.html ¤Ê¤É¤¬¤ª¼ê·Ú¤Ç¤¹¡£ > ¤Þ¤Ã¤³¤³¤¤¤é¤Ï¸Ä¿ÍŪÓϹ¥¤ÎÉôʬ¤À¤È»×¤¤¤Þ¤¹¡£ Á°¤Ë¡ÖÇطʤ¬¹õ/ʸ»ú¤¬Çò¤ÇÆɤߤ䤹¤¤¡×¤È¸À¤ï¤ì¤¿¤³¤È¤â¤¢¤ê¤Þ¤¹¡£ ¿Í¤Ë¤è¤Ã¤Æ¹¥¤ß¤¬°ã¤¦¤Î¤ÇÆñ¤·¤¤¤Ç¤¹¤Í¡£ > ¡¢ ´ÝÉÕ¤¿ô»ú¤Ïµ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¡¢»È¤Ã¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ > cksum¥³¥Þ¥ó¥É¤Ï¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤É¤¦¤¤¤Ã¤¿¥Á¥§¥Ã¥¯¤ò¹Ô¤¦¤Ç¤·¤ç¤¦¤«¡© http://www.jp.FreeBSD.org/cgi/cvsweb.cgi/src/usr.bin/cksum/ ¤òÆɤó¤Ç²¼¤µ¤¤¡£¤Ê¤¼¤½¤¦¤¤¤¦¥³¡¼¥É¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤«¤òÃÎ¤í¤¦¤È¤¹¤ë¤È ¤Û¤È¤ó¤É¿ô³Ø¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¤Î¤Ç¡¢ËͤˤÏÀâÌÀ¤Ç¤¤Þ¤»¤ó¡£ > £Ã¸À¸ì¤«¤écksum¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤«¤±¤¿»þ¤Ë¡¢Àµ¾ï¤Ë½ªÎ»¤·¤¿¤«¡¢ > ¤â¤·¤¯¤Ï¡¢°Û¾ï½ªÎ»¤·¤¿¤«¤ÎȽÃǤϹԤ¨¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© system(3) ¤ÎÌá¤êÃͤǤ狼¤ê¤Þ¤¹¡£0 ¤Ê¤éÀµ¾ï¡¢°Û¾ï½ªÎ»¤Ê¤é Ìá¤êÃͤò 8bit ±¦¥·¥Õ¥È¤·¤¿¤â¤Î¤¬½ªÎ»¥¹¥Æ¡¼¥¿¥¹ (cksum ¤¬ return ¤·¤¿¤ê exit ¤·¤¿ÃÍ)¡£ |
> cksum ÆüËܸì¥Þ¥Ë¥å¥¢¥ë¤òºÇ½é¤Ë¾Ò²ð¤¹¤Ù¤¤Ç¤·¤¿¡£ http://www.jp.freebsd.org/cgi/mroff.cgi?subdir=man&man=cksum&dir=jpman-3.3.0%2Fman |
>> ¡¢ > ´ÝÉÕ¤¿ô»ú¤Ïµ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¡¢»È¤Ã¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£ ¤½¤¦¤½¤¦¡¢¤³¤ì¡¢¸¦µæ¼¼¤ÎFreeBSD´Ä¶¤Ç¤Ï¸«¤¨¤Þ¤»¤ó¤Ç¤·¤¿¡£ |
¤¦¡¼¤ó¡¢¤Á¤ç¤Ã¤È¤á¤ó¤É¤¯¤µ¤¤¤±¤É¡¢·Ç¼¨ÈĤò¤¤¤¸¤Ã¤Æ µ¡¼ï°Í¸ʸ»ú¤ò¤Ï¤¸¤¯¤è¤¦¤Ë¤·¤è¤¦¤«¤Ê¡Ä¡£ |
¥Æ¥¹¥È¤¬¤Æ¤é¡¢½ñ¤¹þ¤ß¡£wwwboard.cgi ¤ò¤Á¤ç¤³¤Ã¤È½ñ¤´¹¤¨¤Þ¤·¤¿¡£ ¡Windows µ¡¼ï°Í¸ʸ»ú¤òɽ¼¨»þ¤ËÊÑ´¹¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£ ËÜÍè¡¢½ñ¤¹þ¤ß»þ¤ËÊÑ´¹¤¹¤ë¤Î¤¬¥Ù¥¹¥È¤Ç¤¹¤¬¡¢Àµ¤·¤¯ÊÑ´¹¤Ç¤¤Æ¤ë¤« ¤É¤¦¤«¼«¿®¤¬¤Ê¤¤¤Î¤Ç¡¢¤·¤Ð¤é¤¯¤³¤ì¤ÇÍͻҤò¸«¤Þ¤¹¡£ ¢ÆóÅÙ½ñ¤Ëɻߵ¡Ç½¤òÄɲ᣺ǿ·10ȯ¸À¤Î MD5 ¤òÊݸ¤·¡¢ ½ÅÊ£¤·¤Æ¤¤¤¿¤é½ñ¤¹þ¤ß¤Ç¤¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£ ¡Ä¤È¡¢¤¢¤¨¤Æµ¡¼ï°Í¸ʸ»ú¤ò»È¤Ã¤Æ¤ß¤¿¤ê¡£ º£¸å¡¢¤³¤Î·Ç¼¨ÈÄ¤Ç¤Ï Windows µ¡¼ï°Í¸ʸ»ú¤Î»ÈÍѤò¿ä¾©¤·¤Þ¤¹(^^; ¥¹¥¯¥ê¥×¥È¤Ï¤³¤Á¤é¡£http://X68000.startshop.co.jp/~68user/cgi-bin/view-script.cgi/wwwboard.cgi |
¤Ï¤¸¤á¤Þ¤·¤Æ¡¢¤È¤Û¤Û¤µ¤ó¤Î¤È¤³¤í¤«¤é¤ª»Ç¤¤¤µ¤»¤Æ ĺ¤¤Þ¤·¤¿¡£¤Ï¤¸¤á¤Þ¤·¤Æ¡£ ÁᮤǤ¹¤¬¡¢¼«Æ°ÊÑ´¹¤µ¤ì¤¿¡¢ ¡ ¤Î ¡Ö(µ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¼«Æ°ÊÑ´¹¤·¤Þ¤·¤¿)¡× ¤ÎÉôʬ¡¢Ä¹¤¯¤ÆËÜʸ¤¬ÆɤߤŤ餤¤Î¤Ç¡¢¤¿¤È¤¨¤ÐÊÑ´¹¤·¤¿ Éôʬ¤òº£¤ÎÀÖ¿§¤Î¤Þ¤Þ¡¢¤³¤Î¥Ú¡¼¥¸¤Î²¼¤ÎÊý¤È¤«¤½¤Î¾¤Î ¥Ú¡¼¥¸¤È¤«¤Ë¥ê¥ó¥¯¤òÄ¥¤Ã¤Æ¡¢¤½¤³¤Ë (µ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¼«Æ°ÊÑ´¹¤·¤Þ¤·¤¿) ¤È¤«½ñ¤¤¤Æ¤¤¤¿¤À¤±¤ì¤Ð¡¢¤¢¤Ã¤µ¤ê¤·¤Æ¸«¤ä¤¹¤È»×¤¦¤Î ¤Ç¤¹¤¬¡¢¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡© ¤´¸¡Æ¤Äº¤±¤ì¤Ð¹¬¤¤¤Ç¤¹¡£ |
³Î¤«¤Ë¤ª¤Ã¤·¤ã¤ë¤È¤ª¤êÆɤߤˤ¯¤¤¤Î¤Ç¡¢¤³¤ó¤Ê¤Õ¤¦¤Ë¤·¤Æ¤ß¤Þ¤·¤¿¡£ ¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£ |
# ¤Ï¤¸¤á¤Þ¤·¤Æ¤¬¡¢°úÍÑÉä¤ß¤¿¤¤¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¡¢¤à¤Ã¤Á¤ãÃѤº¤«¤·¤¤¡¦¡¦¡¦ Áᮾ¤·¤Æ夤¤Æ¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£¤«¤Ê¤ê¸«¤ä¤¹¤¯¤Ê¤Ã¤¿¤È»×¤¤¤Þ¤¹¡£ ¤·¤«¤â¡¢ÊÑ´¹¤·¤¿¾ì¹ç¤À¤±Ãí¼á¤¬½Ð¤ë¡¢¤È¤¤¤¦¤È¤³¤í¤¬¡¢¤«¤Ã¤³¤¤¤¤¤Ç¤¹¤Í¡£ ´Ø·¸Ìµ¤¤¤Ç¤¹¤¬¡¢ÌÜΩ¤¿¤»¤¿¤¤¤¬¤¿¤á¤Ë¡¢¤ï¤¶¤ÈWindows µ¡¼ï°Í¸ʸ»ú¤ò»È¤¦ ¤³¤È¤â½ÐÍ褽¤¦¤Ç¤¹¤Í¡£ ¤¢¤È¡¢¡ÖHTTP¥¯¥é¥¤¥¢¥ó¥È¤òºî¤Ã¤Æ¤ß¤è¤¦¡×¤Î ¡Ö¤µ¤é¤Ê¤ë²þÁ±ÅÀ¡¦¥Ð¡¼¥Á¥ã¥ë¥Û¥¹¥È¤ËÂбþ¡×¤Ë¤Ä¤¤¤Æ¡¢¼ÁÌ䤬¤¢¤ê¤Þ¤¹¡£ http://www.host2.com/index.html ¤ËÂФ·¤Æ¡¢ GET /index.html HTTP/1.0 host: www.host2.com:80 ¤È¥ê¥¯¥¨¥¹¥È¤¹¤ëÎ㤬¤¢¤ê¤Þ¤¹¤¬¡¢RFC2616¤Î2045¹Ô¶áÊÕ¤òÅö¤Æ¤Ï¤á¤ë¤È¡¢ ¤³¤ÎÎã¤Ç¤Ï¥Ý¡¼¥ÈÈÖ¹æ¤Ï¤¤¤é¤Ê¤¤¤è¤¦¤Ë»×¤ï¤ì¤Þ¤¹¤¬¡¢¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡© HTTP/1.0¤Ç¤ÏɬÍפʤΤ«¤Ê¡¢¤È»×¤Ã¤ÆRFC1945¤òÆɤó¤Ç¤ß¤¿¤ó¤Ç¤¹¤¬¡¢¤É¤¦ ¤·¤Æ¤âõ¤·Åö¤ì¤é¤ì¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢Ã±¤Ê¤ë»ä¤Î´ª°ã¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¦¡¦¡¦ µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ |
¤´°Õ¸«¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ftp://ftp.iij.ad.jp/pub/RFC/rfc2616.txt ¤Ë¤Ï¡¢ 3.2.2 http URL If the port is empty or not given, port 80 is assumed. ¤È¤¢¤ë¤Î¤Ç¡¢¡Ö80 ¤Ê¤é¾Êά¤¹¤Ù¤·¡×¤È·è¤Þ¤Ã¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£¤Ê¤Î¤Ç :80 ¤ÏÉÕ¤±¤Æ¤âÉÕ¤±¤Ê¤¯¤Æ¤â¹½¤¤¤Þ¤»¤ó¡£ ¤¿¤À¡¢³Î¤«¤Ë¡Ö80¤Î¾ì¹ç¤Ï¾Êά¤·¤Æ¤â¤è¤¤¡×¤È¤¤¤¦¤Î¤Ï½ñ¤¤¤Æ¤ª¤¤¤¿ Êý¤¬¤è¤¤¤È»×¤¦¤Î¤Ç¡¢Ä¾¤·¤Æ¤ª¤¤Þ¤¹¡£ # ¤¬¡¢¤³¤ì¤Ï Host: ¤Ë¸Â¤Ã¤¿¤³¤È¤Ç¤Ï¤Ê¤¯¡¢URL °ìÈ̤ÎÏäʤΤǡ¢ # ¤É¤³¤Ç²òÀ⤷¤¿¤é¤¤¤¤¤Î¤«Çº¤à¤È¤³¤í¤À¤Ê¤¡¡Ä¡£ |
¸æ²óÅú¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤Ê¤ë¤Û¤É¡¢Ìµ¤¤¾ì¹ç¤Ï80¤¬²¾Äꤵ¤ì¤ë¤ó¤Ç¤¹¤Í¡£ http://www.host2.com/ ¤Î¡¢ www.host2.com ¤ÈÁ´¤¯Æ±¤¸Ê¸»ú¤ò¡¢ host: ¤Î¸å¤Ë½ñ¤¯É¬Íפ¬¤¢¤ë¤ó¤«¤Ê¡¢¤È »×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¾ï¤ËÉÕ¤±¤Æ¤¤¤Æ¤âÌäÂê¤Ê¤¤¤Î¤Ç¤¹¤Í¡£¤ï¤«¤ê¤Þ¤·¤¿¡£ ¤Þ¤¿Ê¬¤«¤é¤Ê¤¤¤³¤È¤¬¤¢¤Ã¤¿¤é¡¢¼ÁÌ䤵¤»¤Æĺ¤¤Þ¤¹¤Î¤Ç¡¢¤½¤Î»þ¤Ïµ¹¤·¤¯ ¤ª´ê¤¤Ãפ·¤Þ¤¹¡£ |
¤³¤ó¤Ë¤Á¤ï¡ª¤³¤Î£È£Ð¤ÇºÇ¶áÊÙ¶¯¤µ¤»¤Æ¤â¤é¤Ã¤Æ¤Þ¤¹¡ª ¤È¤³¤í¤Ç¡¢FTP¥¯¥é¥¤¥¢¥ó¥È¤òC¸À¸ì¤Ç½ñ¤¯Í½Äê¤Ï̵¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© °ì±þ¸«¤è¤¦¸«¤Þ¤Í¤Ç¤³¤Î£È£Ð¤Î¥Ñ¡¼¥ë¤Ç½ñ¤«¤ì¤¿¥½¡¼¥¹¤«¤é C¤Ç½ñ¤¤¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢¸«»ö¼ºÇÔ¡ª ¡Ê¶ñÂÎŪ¤Ë¤¤¤¦¤È¡¢getsockname¤Î»È¤¤Êý¤¬man¤Ç¤·¤é¤Ù¤Æ¤â ¤è¤¯¤ï¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¤¹¡Êµã¡Ë¤Ç¤¤ì¤Ð¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡ª¡Ë ¤Ç¤¹¤«¤é¡¢ÀâÌÀ̵¤·¤Ç¤â¥½¡¼¥¹¤À¤±¥¢¥Ã¥×¤·¤Æ¤â¤é¤¨¤¿¤é¤Ê¡Á¡¢ ¤Ê¤ó¤Æ¼«Ê¬¾¡¼ê¤Ê¤³¤È¤ò»×¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤Þ¤¹¡£¡Ê¤´¤á¤ó¤Ê¤µ¤¤¡Ë ¤¢¤ë¤¤¤Ï¡¢£Ã¤Ç¤«¤«¤ì¤¿£Æ£Ô£Ð¥¯¥é¥¤¥¢¥ó¥È¤ò¥¢¥Ã¥×¤·¤Æ¤¤¤ë £È£Ð¤¬¤¢¤ê¤Þ¤·¤¿¤é¡¢¤´¾Ò²ð¤¤¤¿¤À¤±¤ë¤È¹¬¤¤¤Ç¤¹¡ª |
¤³¤ó¤Ë¤Á¤ï¡¢¤Ï¤¸¤á¤Þ¤·¤Æ¤¢¤Ã¤Á¡¼¤È¤¤¤¤¤Þ¤¹¡£ ºÇ¶á¼«Ê¬¤Î¥Ñ¥½¥³¥ó¤ËLinux¤òÆþ¤ì¤Þ¤·¤¿¡£ ¤Ç¤â¥³¥Þ¥ó¥É¤Î»È¤¤Êý¤È¤«Á´Á³¤ï¤«¤ê¤Þ¤»¤ó¡£ ¤Ê¤ó¤È£øWindow¤òΩ¤Á¾å¤²¤Æ¥µ¥¦¥ó¥É¤ÎÀßÄê¤Þ¤Ç¤Ç¤¤Þ¤·¤¿¤¬ CD-ROM¤¬³°ÉÕ¤±¤Ê¤¿¤áCDROM¤Ó¥¢¥¯¥»¥¹¤Ç¤¤Þ¤»¤ó¡£ CD¥×¥ì¥¤¥ä¡¼¤òΩ¤Á¾å¤²¤ë¤Èerorr¤È½Ð¤Æ¤¤Þ¤¹¡£ mount¤ÎÀßÄê¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡© ¥Ñ¥½¥³¥ó¤ÏSony VAIO¤ÇPCG505S¤Ç¤¹¡£ CD-ROM¤ÏPCGA-CD5¤Ç¤¹¡£ ¤¤¤¤Ê¤ê·Ç¼¨ÈĤ˽ñ¤¤¤¿ÆâÍƤ¬¤³¤ó¤Ê¤Ç¤¹¤¬ ¤â¤·¤è¤í¤·¤±¤ì¤Ð¤É¤Ê¤¿¤«¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£ ¤³¤ì¤«¤éLInux¤ÈUnix¤ÎÊÙ¶¯¤ò»Ï¤á¤Æ¤¤¤¤Þ¤¹¡£ ¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ |
Kai¤µ¤ó¤ñ¡£ ñ¤ËFTP¤¬»È¤¤¤¿¤¤¡¢¤Æ¤À¤±¤Ê¤é¤Ð CPAN¤Ë¹Ô¤±¤ÐPerlÍѤÎFTP¥â¥¸¥å¡¼¥ë¤¬ÃÖ¤¤¤Æ¤¢¤ë¤Ê¤ê¥ç¡£ |
> ¶ñÂÎŪ¤Ë¤¤¤¦¤È¡¢getsockname¤Î»È¤¤Êý¤¬man¤Ç¤·¤é¤Ù¤Æ¤â > ¤è¤¯¤ï¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¤¹¡Êµã¡Ë ËͤâÃΤê¤Þ¤»¤ó¤Ç¤·¤¿¤¬¡¢ºòÆü¤«¤éÄ´¤Ù¤Æ¤¤¤Æ¤ä¤Ã¤È¤Ç¤¤Þ¤·¤¿¡£ struct sockaddr_in local_socket; int len; long local_ip; len = sizeof(local_socket); if ( getsockname(socket,(struct sockaddr *)&local_socket,&len) < 0 ){ printf("getsockname failed.\n"); } local_ip = ntohl(local_socket.sin_addr.s_addr); printf("PORT %d,%d,%d,%d,%d,%d\n", (local_ip >> 24) & 0xff, (local_ip >> 16) & 0xff, (local_ip >> 8) & 0xff, (local_ip ) & 0xff, (ntohs(local_socket.sin_port) >> 8) & 0xff, (ntohs(local_socket.sin_port) ) & 0xff); # ¤ï¤«¤Ã¤Æ¤«¤é man ¤òÆɤà¤È¡¢²¿¤¬½ñ¤¤¤Æ¤¢¤ë¤«Íý²ò¤Ç¤¤ë¤ó¤À¤±¤É¤Ê¤¡¡£ > ¤¢¤ë¤¤¤Ï¡¢£Ã¤Ç¤«¤«¤ì¤¿£Æ£Ô£Ð¥¯¥é¥¤¥¢¥ó¥È FreeBSD ¤¢¤¿¤ê¤Ê¤é ftp¥³¥Þ¥ó¥É http://www.jp.FreeBSD.org/cgi/cvsweb.cgi/src/usr.bin/ftp/ fetch¥³¥Þ¥ó¥É http://www.jp.FreeBSD.org/cgi/cvsweb.cgi/src/usr.bin/fetch/ ftp¥é¥¤¥Ö¥é¥ê(fetch¤¬¥ê¥ó¥¯¤·¤Æ¤¤¤ë) http://www.jp.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libftpio/ ¤Ê¤É¤Ê¤É¡£FreeBSD °Ê³°¤Î´Ä¶¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤¹¤ë¤È ¶ìÏ«¤¹¤ë¤Ç¤·¤ç¤¦¤«¤é¡¢¥½¡¼¥¹¤òÆɤà¤À¤±¤Ë¤·¤Æ¤ª¤¯¤Î¤¬¤¤¤¤¤Ç¤·¤ç¤¦¡£ º£²ó»²¹Í¤Ë¤·¤¿¤Î¤Ï (·ë²ÌŪ¤Ë¤Ï´Ý¼Ì¤·¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¤±¤É) http://www.jp.FreeBSD.org/cgi/cvsweb.cgi/src/lib/libftpio/ftpio.c?rev=1.33 ¤Ç¤¹¡£ > CD¥×¥ì¥¤¥ä¡¼¤òΩ¤Á¾å¤²¤ë¤Èerorr¤È½Ð¤Æ¤¤Þ¤¹¡£ > mount¤ÎÀßÄê¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡© mount ¤ÏɬÍפʤ¤¤Ç¤¹¡£²»³ÚCD¤òʹ¤¯¤Ë¤Ï¡¢ ¡ÖCD-ROM¥É¥é¥¤¥Ö¤Ë²¿¶ÊÌܤòÌĤ餻¡× ¤È¤¤¤¦»ØÎá¤òÁ÷¤ë¤À¤±¤Ç¡¢¸å¤Ï CD-ROM ¥É¥é¥¤¥Ö¤¬¾¡¼ê¤Ë¤ä¤Ã¤Æ¤¯¤ì¤Þ¤¹¡£ ¤Ç¡¢¤ª»È¤¤¤Î¥×¥ì¥¤¥ä¡¼¤Î -device ¤È¤« -d ¤È¤«¤Î¥ª¥×¥·¥ç¥ó¤Ç¡¢ CD-ROM ¥É¥é¥¤¥Ö¤Î¥Ç¥Ð¥¤¥¹¤ò»ØÄê¤Ç¤¤Þ¤»¤ó¤«? # FreeBSD ¤Ê¤é xcdplayer -device /dev/wcd0c ¤È¤« # xcdplayer -device /dev/cd0c ¤Ç¤¹¤±¤É¡¢Linux ¤ÏÃΤê¤Þ¤»¤ó¡£ |
¥µ¥ó¥×¥ë¤âºî¤Ã¤Æ¤ß¤Þ¤·¤¿¡£anonymous ftp ¤Ç¡¢ ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/README.TXT ¤ò¼èÆÀ¤·¤Þ¤¹¡£ http://X68000.startshop.co.jp/~68user/tmp/ftp-client.c ¥ì¥¹¥Ý¥ó¥¹¥³¡¼¥É¤Ï¸«¤Æ¤¤¤Ê¤¤¤·¡¢¥Ð¥Ã¥Õ¥¡¥ª¡¼¥Ð¡¼¥é¥ó¤Ï¤¹¤ë¤·¡¢ RFC¤Ë½àµò¤·¤Æ¤¤¤Ê¤¤¤·¡¢¥Õ¥¡¥¤¥ë¤¬¤Ê¤«¤Ã¤¿¤é¥Ç¥Ã¥É¥í¥Ã¥¯¤¹¤ë¤·¤Ç¡¢ ¥Ð¥°¤À¤é¤±¤Ç¤¹¤¬¡¢²þ¤¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£ |
¤ª¤ª¡ª¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡ä68userÍÍ¡õ¤à¤Á¤Ê¤Á¤å¤Ü¡ÁÍÍ Áᮤ³¤ì¤ò»²¹Í¤Ë´èÄ¥¤Ã¤Æ¤ß¤¿¤¤¤È»×¤¤¤Þ¤¹¡ª¡ª¡ª ¤Û¤ó¤È¤¦¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡ª¡ª |
¤¢¤ó¤Þ¤ê°ÕÌ£¤Î¤Ê¤¤ÏÃÂê¤Ê¤Î¤Ç¤¹¤¬¡¢¡¢¡¢¡¢ Linux¤Î¥Ú¥ó¥®¥ó ¤È FreeBSD¤Î¥Þ¥¹¥³¥Ã¥È? (http://www.freebsd.org/gifs/freebsd_1.gif ¤Î±¦Â¦¤Î¥¥ã¥é¥¯¥¿¡¼) ¤É¤Ã¤Á¤¬¹¥¤¤Ç¤¹¤«¡© ËͤÏFreeBSD¤ÎÊý¤Ê¤ó¤Ç¤¹¤¬¡£ FreeBSD¤È¤¤¤¤¤Ä¤ÄLinux»È¤Ã¤Æ¤ë¤ó¤Ç¤¹¤±¤É¤Í¤§¡Á¡ãËÍ RPM¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹(?)¤¬²õ¤ì¤Æ¶¯À©ºÆ¥¤¥ó¥¹¥È¡¼¥ë¤È¤¤¤¦»ö¸Î¤Ë¤¢¤Ã¤¿»ö¤¬¤¢¤ë¤Î¤Ç º£ÅÙOS¾è¤ê´¹¤¨¤ë»þ¤Ï¡¢68user¤µ¤ó¤ª¤¹¤¹¤á¤ÎFreeBSD¤Ë¤·¤è¤¦¤«¤È¡£ |
> FreeBSD¤Î¥Þ¥¹¥³¥Ã¥È? ¤Ç¡¼¤â¤ó·¯ (daemon) ¤Ç¤¹¡£¼ê¤Ë»ý¤Ã¤Æ¤ë¤Î¤¬ fork ¤Ç (fork(2) ¤È¤«¤±¤Æ¤¤¤ë)¡¢¤·¤Ã¤Ý¤¬ (C¸À¸ì¤Î) ¥Ý¥¤¥ó¥¿¤À¤Ã¤¿¤«¤Ê¡£ > ¤É¤Ã¤Á¤¬¹¥¤¤Ç¤¹¤«¡© ¤¦¡¼¤ó¡¢ÉÁ¤¯¿Í¤Ë¤è¤ê¤Þ¤¹¤Í¤§¡£http://www.jp.NetBSD.org/ ¤Î ¤Ç¡¼¤â¤ó·¯¤ÏÁþ¤¿¤é¤·¤¤¤·¡¢Kondara Linux ¤Î¥Ú¥ó¥®¥ó¤ÏĩȯŪ¤Ç ¤«¤ï¤¤¤¯¤Ê¤¤¤· (¥Ú¥ó¥®¥ó¤Ë¤â̾Á°¤¢¤ë¤ó¤Ç¤·¤¿¤Ã¤±?)¡£ > ¤ª¤¹¤¹¤á¤ÎFreeBSD¤Ë¤·¤è¤¦¤«¤È¡£ ¸í²ò¤Î¤Ê¤¤¤è¤¦¤Ë¸À¤Ã¤Æ¤ª¤¤Þ¤¹¤¬¡¢Linux ¤ò»È¤Ã¤¿¤³¤È¤Ï ¤¢¤ê¤Þ¤»¤ó¡£¤Ê¤Î¤Ç¡¢Linux ¤ÈÈæ¤Ù¤Æ FreeBSD ¤¬¤è¤¤¡¢¤È¤¤¤¦ ¤ï¤±¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£ ¤¿¤À¡¢¤¢¤ó¤Ê¤Ë¥Ç¥£¥¹¥È¥ê¥Ó¥å¡¼¥·¥ç¥ó¤¬ÍðΩ¤·¤¿¾õ¶·¤Ï º®Íð¤Î¸µ¤Ç¤¢¤ë¤È»×¤Ã¤Æ¤Þ¤¹¤Î¤Ç (30¸Ä¤¯¤é¤¤¤¢¤ê¤Þ¤¹¤è¤Í)¡¢ ¤¢¤Þ¤ê¿Í¤Ë¤Ï´«¤á¤¿¤¯¤Ê¤¤¤Ç¤¹¡£¤½¤¦¤¤¤¦°ÕÌ£¤Ç¡¢¤Þ¤ï¤ê¤Î¿Í¤Ë¤Ï ¡ÖLinux ¤Ï»È¤Ã¤¿¤³¤È¤Ï¤Ê¤¤¤±¤É¡¢°ìËܲ½¤µ¤ì¤Æ¤¤¤ë FreeBSD ¤Î Êý¤¬¤¤¤¤¤ó¤¸¤ã¤Ê¤¤¤Î?¡× ¤È¸À¤Ã¤Æ¤Þ¤¹¡£ ¤¢¤È¡¢NetBSD ¤ä¤é OpenBSD ¤Ê¤ó¤«¤ò»È¤Ã¤Æ¤ß¤ë¤Î¤â¤¤¤¤¤«¤â ¤·¤ì¤Þ¤»¤ó¤Í¡£¤½¤³¤é¤Ø¤ó¤òÌäÂê¤Ê¤¯¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤¤ë¤Ê¤é¡¢ ¾¯¤Ê¤¯¤È¤âÃæµé¼Ô¤Ç¤·¤ç¤¦¤«¤é¡£ Î㤨¤Ð NetBSD-1.4.1 (ºÇ¿·¥ê¥ê¡¼¥¹) ¤Ç¤Ï¡¢¥æ¡¼¥¶¤òÅÐÏ¿¤¹¤ë ¥³¥Þ¥ó¥É¤¬É¸½à¤ÇÆþ¤Ã¤Æ¤Ê¤¤¤Î¤Ç¡¢/etc/mastep.passwd ¤ò ¤¤¤¸¤Ã¤Æ pwd_mkdb ¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£ # ¤â¤Á¤í¤óÅÐÏ¿¥³¥Þ¥ó¥É¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¼ê¤â¤¢¤ê¤Þ¤¹¡£ |
FreeBSD¾å¤Ç¡¢Tree¥³¥Þ¥ó¥É¤ò»È¤¤¤¿¤¤¤Î¤À¤±¤±¤ì¤É¡¢ ¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤À¤í¤¦¡£ ¤â¤·¡¢¤è¤í¤·¤«¤Ã¤¿¤é¶µ¤¨¤Æ失¤Ê¤¤¤Ç¤·¤ç¤¦¤«? m(_ _)m |
tree ¤Ã¤Æ¤É¤ó¤Ê¥³¥Þ¥ó¥É¤Ç¤¹¤«? # ¤â¤·¤«¤·¤Æ DOS ¤Î tree? |
> > FreeBSD¤Î¥Þ¥¹¥³¥Ã¥È? > ¤Ç¡¼¤â¤ó·¯ (daemon) ¤Ç¤¹¡£¼ê¤Ë»ý¤Ã¤Æ¤ë¤Î¤¬ fork ¤Ç > (fork(2) ¤È¤«¤±¤Æ¤¤¤ë)¡¢¤·¤Ã¤Ý¤¬ (C¸À¸ì¤Î) ¥Ý¥¤¥ó¥¿¤À¤Ã¤¿¤«¤Ê¡£ °ÕÌ£¤¬¤¢¤ë¤Î¤«¤¡¡Á ¥Ê¥ë¥Û¥É¡¼ > > ¤É¤Ã¤Á¤¬¹¥¤¤Ç¤¹¤«¡© > ¤¦¡¼¤ó¡¢ÉÁ¤¯¿Í¤Ë¤è¤ê¤Þ¤¹¤Í¤§¡£http://www.jp.NetBSD.org/ ¤Î > ¤Ç¡¼¤â¤ó·¯¤ÏÁþ¤¿¤é¤·¤¤¤·¡¢Kondara Linux ¤Î¥Ú¥ó¥®¥ó¤ÏĩȯŪ¤Ç > ¤«¤ï¤¤¤¯¤Ê¤¤¤· (¥Ú¥ó¥®¥ó¤Ë¤â̾Á°¤¢¤ë¤ó¤Ç¤·¤¿¤Ã¤±?)¡£ ³Î¤«¤Ë¡£(^_^) ¡ä NetBSD¤Î¤Ç¡¼¤â¤ó ¤ä¤Ï¤ê¡¢ËͤÏFreeBSD¤Î¤Ç¡¼¤â¤ó¤¬¤¤¤¤¤Ê¤¡¡£ ¥Ú¥ó¥®¥ó¤Î̾Á°¤ÏÃΤé¤Ê¤¤¤Ç¤¹¡£ > > ¤ª¤¹¤¹¤á¤ÎFreeBSD¤Ë¤·¤è¤¦¤«¤È¡£ > ¸í²ò¤Î¤Ê¤¤¤è¤¦¤Ë¸À¤Ã¤Æ¤ª¤¤Þ¤¹¤¬¡¢ (Ãæά) > Linux ¤ÈÈæ¤Ù¤Æ FreeBSD ¤¬¤è¤¤¡¢¤È¤¤¤¦ > ¤ï¤±¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£ ¤½¤ì¤Ï¤ï¤«¤Ã¤Æ¤Þ¤¹¡£ ¤Ï¤Ã¤¤ê¤¤¤Ã¤Æ¡¢OS´¹¤¨¤ë¤È¤¤¤Ã¤Æ¤â¤¼¤ó¤¼¤ó·è¤á¤Æ¤Ê¤¤¤Î¤Ç¤¹¡£ »Ï¤á¤ÏSolaris¤Ê¤ó¤«¤Ë¤·¤è¤¦¤«¤È»×¤Ã¤Æ¤¿¤ó¤Ç¤¹¤¬¤³¤ì¤ÏÍÎÁ¤À¤½¤¦¤Ç¡¢¡¢¡¢¡¢ ¤½¤Î»þ¡¢UNIX¤ÎÉô²°¤Î > FreeBSD ¤Ë¾è¤ê´¹¤¨¤Æ¤ß¤Þ¤»¤ó¤«? ;-) ¤ò¸«¤ÆFreeBSD¤Ë¤·¤è¤¦¤«¤È(^_^;;) ¤¢¤È¡¢FreeBSD¤Î¤Ç¡¼¤â¤ó·¯¤âµ¤¤ËÆþ¤Ã¤¿¤Ç¥Ý¥¤¥ó¥È¥×¥é¥¹¡£ |
¤Ï¤¸¤á¤Þ¤·¤Æ¡£UNIX¤Ë´Ø¤·¤Æ¡Ê¤½¤Î¾¤â¤Ç¤¹¤¬¡Ë¤Û¤È¤ó¤ÉÃ챤Î̵¤¤»ä¤Ï¤«¤Ê¤ê»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤¤¤Þ¤¹¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤¤¤¤Ê¤ê¤Ç¿½¤·Ìõ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢£Ã£Ç£É¤Î´Ä¶ÊÑ¿ôHTTP_REFERER ¤Ë¤Ä¤¤¤Æ¤ªÊ¹¤¤·¤¿¤¤»ö¤¬Í¤ê¤Þ¤¹¡£ HTTP_REFERER ¤ò»È¤Ã¤Æ¡¢Á°¥Ú¡¼¥¸È½ÃǤò¤µ¤»¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ÃͤÎÆþ¤êÊý¤¬ÉÔ°ÂÄê¤Ç¡¢»×¤¦¤è¤¦¤Ë½èÍý¤ò¹Ô¤ï¤»¤ë»ö¤¬½ÐÍè¤Þ¤»¤ó¡£ 68user¤µ¤ó¤Î¥Ú¡¼¥¸¤ÇHTTP_REFERER ¤Ï¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ä£Õ£Ò£Ì¤Î¼êÂǤÁ¤Ç¤ÏÃͤ¬Æþ¤é¤Ê¤¤¤È½ñ¤¤¤Æ¤¢¤ê¡¢¤Ê¤ë¤Û¤É¤ÈǼÆÀ¤·¤¿¤Î¤Ç¤¹¤¬¡¢Æ±¤¸¤è¤¦¤Ë¥Ö¥Ã¥¯¥Þ¡¼¥¯¤«¤éÈô¤ó¤Ç¤¤Æ¤â¡¢Ãͤ¬Æþ¤Ã¤Æ¤¤¤ë»þ¤ÈÆþ¤Ã¤Æ¤¤¤Ê¤¤»þ¤¬Í¤ë¤è¤¦¤Ê¤Î¤Ç¤¹¡£¤½¤ì¤Ã¤Æ¡¢¥µ¡¼¥Ð¤ÎÀßÄê¤ËÌäÂ꤬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£ ¤Ä¤¿¤Ê¤¤Ê¸¾Ï¤Ç¡¢¸À¤Ã¤Æ¤¤¤ë»ö¤¬Îɤ¯¤ï¤«¤é¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢²¿¤«¥¢¥É¥Ð¥¤¥¹¤ò¤¤¤¿¤À¤¤¿¤¤¤È»×¤¤¤Þ¤¹¡£¤ª´ê¤¤¤·¤Þ¤¹¡£ |
> »Ï¤á¤ÏSolaris¤Ê¤ó¤«¤Ë¤·¤è¤¦¤«¤È»×¤Ã¤Æ¤¿¤ó¤Ç¤¹¤¬ > ¤³¤ì¤ÏÍÎÁ¤À¤½¤¦¤Ç¡¢¡¢¡¢¡¢ Free Solaris ¤Ê¤É¤â¤¢¤ê¤Þ¤¹¤¬¡¢¤Þ¤¡Æþ¼ê·ÐÈñ¤Ï¤«¤«¤ê¤Þ¤¹¤Í¡£ >> FreeBSD ¤Ë¾è¤ê´¹¤¨¤Æ¤ß¤Þ¤»¤ó¤«? ;-) > ¤ò¸«¤ÆFreeBSD¤Ë¤·¤è¤¦¤«¤È(^_^;;) ¤Ê¤ë¤Û¤É¡£¤È¤¤¤¦¤³¤È¤Ç¤·¤¿¤é¡¢¤¼¤Ò»È¤Ã¤Æ¤ß¤Æ²¼¤µ¤¤¡£ > HTTP_REFERER ¤³¤ÎÃͤϤ¢¤Þ¤ê¿®ÍѤǤ¤Þ¤»¤ó¡£¥æ¡¼¥¶¤¬¤¢¤ëÄøÅÙ¼«Í³¤Ë¤¤¤¸¤ì¤ë¡¢ ¤È¤¤¤¦¤³¤È¤â¤¢¤ê¤Þ¤¹¤¬¡¢IE ¤Ç¤Ï¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ä URL ľÂǤÁ¤Ç Èô¤ó¤Ç¤¤¿¾ì¹ç¤â¡¢Á°¤ËÆɤó¤Ç¤¤¤¿URL (Á´Á³´Ø·¸¤Ê¤¤ URL) ¤¬ REFERER ¤ËÆþ¤Ã¤Æ¤¤¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£ # ºÇ¿·ÈǤǤÏľ¤Ã¤Æ¤ë¤«¤Ê¤¡? ¤Ç¤Ï¤Ê¤¯¤Æ¡¢Æ±¤¸¥Ö¥é¥¦¥¶¤Ç¡¢Æ±¤¸¥Ú¡¼¥¸¤òÆɤó¤Ç¤¤¤Æ¡¢Æ±¤¸¥Ú¡¼¥¸¤Ë ¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ÇÈô¤ó¤Ç¤â¡¢Ãͤ¬Æþ¤Ã¤Æ¤¤¤ë¤È¤¤¬¤¢¤Ã¤¿¤ê¡¢Æþ¤Ã¤Æ¤¤¤Ê¤¤ ¤È¤¤¬¤¢¤Ã¤¿¤ê¡¢¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡£¤â¤·¤½¤¦¤Ê¤é ¤Á¤ç¤Ã¤È¤ï¤«¤é¤Ê¤¤¤Î¤Ç¡¢ http://www.wakusei.ne.jp/twn/wwwlng.cgi ¤Ê¤É¤Ç¼ÁÌ䤷¤Æ¤ß¤Æ²¼¤µ¤¤¡£ |
¥¢¥É¥Ð¥¤¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¶µ¤¨¤Æ¤¤¤¿¤À¤¤¤¿£Õ£Ò£Ì¤Ë¹Ô¤Ã¤Æ¡¢¿§¡¹Æɤó¤Ç¤ß¤Þ¤·¤¿¡£ ·ë¶É¡¢HTTP_REFERER ¤Ã¤Æ¤¢¤ó¤Þ¤ê¿®ÍѤ·¤Á¤ã¤¤¤±¤Ê¤¤¤ó¤Ç¤¹¤Í¡£ ¤½¤ÎÃͤò»È¤Ã¤Æ¡¢¥Ú¡¼¥¸¤ò¿¶¤êʬ¤±¤ë¤Ê¤ó¤Æ¤³¤È¤Ï¤¢¤ó¤Þ¤ê¤·¤Ê¤¤Êý¤¬Îɤµ¤½¤¦¤Ç¤¹¤Í¡£ ¤½¤¦¤¤¤¦½èÍý¤·¤è¤¦¤È»×¤Ã¤Æ¤¤¤¿¤ó¤Ç¤¹¤±¤É¡¢¤ä¤á¤Æ¤ª¤¤Þ¤¹¡Ê¾Ð¡Ë ¥¢¥É¥Ð¥¤¥¹¡¢ËÜÅö¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ |
¤Ï¤¸¤á¤Þ¤·¤Æ ºÇ¶áPerl¤Ç¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤ÎÊÙ¶¯¤Ï¤¸¤á¤¿¤Ð¤«¤ê½é¿´¼Ô¤Ç¤¹¡£ PORT ¥³¥Þ¥ó¥É¤ÇÁ÷¤ëPORT Èֹ椬¤ï¤«¤é¤º¤ËYahoo¤Ç¸¡º÷¤·¤Þ¤·¤Æ ¤³¤Á¤é¤Î¥µ¥¤¥È¤òȯ¸«¤·¤Þ¤·¤¿¡£¤Ê¤ó¤È¥¢¥Ã¥µ¥ê²ò·è¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ ¤â¤¦¤Ò¤È¤Ä¤ï¤«¤é¤Ê¤¤ÅÀ¤¬¤¢¤ê¤Þ¤·¤Æ¡¤¤è¤í¤·¤±¤ì¤Ð¤´»ØƳ¤¯¤À¤µ¤¤¡£ FTP¤Î¥æ¡¼¥¶¡¼Ç§¾Ú¤Ç¡¤USER¥³¥Þ¥ó¥É¤ò username@SERVER ¤Î¤è¤¦¤Ê·Á¤Ç Á÷¿®¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤FTP¥µ¡¼¥Ð¡¼¤¬¤¢¤ê¤Þ¤·¤Æ¡¤¤³¤ì¤¬¤É¤¦¤â¤¦¤Þ¤¯¤¤¤¤Þ¤»¤ó¡£ ¤¿¤á¤·¤Ë¡¤ $username ='username@ftp.server.com'; print SERVER "USER $username\n"; ¤È¤¤¤Ã¤¿·Á¤ÇÁ÷¤Ã¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¤É¤¦¤·¤Æ¤â530 User unknown¤È¸À¤ï¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¤É¤¦¤·¤¿¤éÎɤ¤¤Î¤Ç¤·¤ç¤¦¤«¡© ´Ø·¸¤Ê¤¤¤Ç¤¹¤¬¡¤»ä¤ÎPC98¤Ë¤Ï¥Ç¡¼¥â¥ó·¯¥·¡¼¥ë¤¬¤Ú¤¿¤Ú¤¿¤È12Ëç¤âŽ¤Ã¤Æ¤¢¤ê¤Þ¤¹¡Ê¾Ð¡Ë º£¤Ï¡¤Solaris7¤òAT¸ß´¹µ¡¤Ë¤¤¤ì¤Æ¤ë¤Î¤Ç¤¹¤¬¡¤FreeBSD¤ËÈæ¤Ù¤Æ¤Ê¤ó¤«Æ°ºî¤¬½Å¤¤¤Ç¤¹¡£ ¤³¤Ã¤Á¤Ï¡¤P3-500¤Ê¤ó¤Ç¤¹¤¬¡£ |
> FTP¤Î¥æ¡¼¥¶¡¼Ç§¾Ú¤Ç¡¤USER¥³¥Þ¥ó¥É¤ò username@SERVER ¤Î¤è¤¦¤Ê·Á¤Ç > Á÷¿®¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤FTP¥µ¡¼¥Ð¡¼¤¬¤¢¤ê¤Þ¤·¤Æ¡¤ ËÜÅö¤Ë¡ÖUSER ¥³¥Þ¥ó¥É¡×¤Ç¤¹¤«? USER anonymous (¤¢¤ë¤¤¤Ï ftp) PASS username@SERVER ¤Ç¤Ï¤Ê¤¤¤Ç¤¹¤«? (¤Ä¤Þ¤ê anonymous FTP) > º£¤Ï¡¤Solaris7¤òAT¸ß´¹µ¡¤Ë¤¤¤ì¤Æ¤ë¤Î¤Ç¤¹¤¬¡¤FreeBSD¤ËÈæ¤Ù¤Æ¤Ê¤ó¤« > Æ°ºî¤¬½Å¤¤¤Ç¤¹¡£ ½Å¤¤¤Ã¤Æ¤Î¤â¤¢¤ê¤Þ¤¹¤±¤É¡¢gzip ¤È¤« tar ¤È¤« gmake ¤È¤« gcc ¤È¤« tcsh ¤È¤«¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Î¤¬¤á¤ó¤É¤¯¤µ¤¤¤Î¤Ç¡¢¤¢¤ó¤Þ¤ê¹¥¤«¤ó¤Ç¤¹¡£ # CDE ¤â·ù¡£ ËÍ¤Ï (gcc°Ê³°¤Ï) ¥½¡¼¥¹¤«¤é¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤Þ¤¹¤±¤É¡¢ ¤ß¤Ê¤µ¤ó¤Ï¥Ð¥¤¥Ê¥ê¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ë¤ó¤Ç¤·¤ç¤¦¤«¤Í¡£ |
¤¦¤©¡¤¥ì¥¹¤á¤Á¤ãÁá¤Ç¤¹¡£ ¡äËÜÅö¤Ë¡ÖUSER ¥³¥Þ¥ó¥É¡×¤Ç¤¹¤«? USER¥³¥Þ¥ó¥É¤ß¤¿¤¤¤Ç¤¹¡£¤É¤¦¤ä¤éWindowsNT Server¤Ë¥í¥°¥¤¥ó¤¹¤ë¤È¤¤Ë username@SERVER¤Î·Á¤Ë¤Ê¤Ã¤Æ¤ë¤ß¤¿¤¤¤Ç¤¹¡£ ¤Á¤Ê¤ß¤Ë¥Þ¥¤¥¯¥í¥½¥Õ¥È¤ÎFTP¥µ¡¼¥Ð¡¼¤Ë¥¢¥Î¥Ë¥í¥°¥¤¥ó¤·¤¿¤È¤¤Î¥í¥°¤Ç¤¹¡£ Ť¯¤Æ¶²½Ì¤Ç¤¹¤¬¡£ LOCAL -> Socket Connected waiting for Login sequence. REMOTE -> - You can connect to a SERVER by `user' command: REMOTE -> - ftp> user username@SERVER REMOTE -> - or by `cd' command (after logged in as an anonymous user): REMOTE -> - ftp> cd //SERVER REMOTE -> - Cache is enabled by default and can be disabled by `cd .' (toggle) REMOTE -> - This (proxy) service is maintained by 'goiken@sic.shibaura-it.ac.jp' REMOTE -> -extended FTP [MODE XDC] REMOTE -> COMMAND -> USER anonymous@ftp.microsoft.com REMOTE -> -- USER for anonymous@ftp.microsoft.com. REMOTE -> - ftp Microsoft FTP Service (Version 4.0). REMOTE -> - Anonymous access allowed, send identity (e-mail name) as password. REMOTE -> -- @ @ REMOTE -> ( - )/ -- connected to `ftp.microsoft.com' COMMAND -> PASS ********** REMOTE -> -This is FTP.MICROSOFT.COM. Please see the REMOTE -> -dirmap.txt for more information. REMOTE -> Anonymous user logged in. COMMAND -> SYST REMOTE -> Windows_NT version 4.0 »ä¤Î¾ì¹ç¡¤Soralis2.6¤Î»þ¤ÏGCC°Ê³°¤Û¤È¤ó¤É¼«Ê¬¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤Þ¤·¤¿¡£ º£¤Ï¡¤¥µ¡¼¥Ð¡¼¤¬5Âæ¤â¤¢¤Ã¤ÆOS¤òÆþ¤ìÂؤ¨¤ëÅ٤ˤ¤¤Á¤¤¤Á¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤Î¤¬ÌÌÅÝ¤Ê¤Î¤Ç Á´¤Æ¥Ð¥¤¥Ê¥ê¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤Þ¤¹¡£ ÆüËÜ¥µ¥ó¥æ¡¼¥¶¡¼¥°¥ë¡¼¥×¤¬ Ëèǯ¥Ð¥¤¥Ê¥ê¡õ¥½¡¼¥¹¤Î¥³¥ì¥¯¥·¥ç¥ó¤ò¥ê¥ê¡¼¥¹¤·¤Æ¤ë¤ó¤Ç¤³¤ì¤ò¹ØÆþ¤·¤Æ¤Þ¤¹¡£ ¤¿¤·¤«5Àé±ß¤¯¤é¤¤¤ÇÇ㤨¤ë¤ó¤Ç¤¹¡£¥Õ¥ê¡¼¥½¥Õ¥È¤ò½¸¤á¤¿¤À¤±¤Ë¤·¤Æ¤Ï¹â¤¤µ¤¤¬¤·¤Þ¤¹¤±¤É¡Ê¶ì¾Ð¡Ë |
> ¤¦¤©¡¤¥ì¥¹¤á¤Á¤ãÁá¤Ç¤¹¡£ ¤ä¤é¤Ê¤¤ã¤¤¤±¤Ê¤¤¤³¤È¤¬¤¿¤¯¤µ¤ó¤¢¤ë¤Î¤Ë¡¢ ¤³¡¼¤æ¡¼¤³¤È¤Ð¤«¤ê¤·¤Æ¤ë¤Î¤Ç¡¢Á´Á³»Å»ö¤¬¿Ê¤ß¤Þ¤»¤ó(^^; > REMOTE -> - This (proxy) service is maintained by 'goiken@sic.shibaura-it.ac.jp' > REMOTE -> -extended FTP [MODE XDC] ¤³¤ì¤Ã¤Æ ftp proxy ¤À¤«¤é¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤«? ftp.microsoft.com ¤Ë¤Ï USER=anonymous PASS=user@server ¤Ç¥í¥°¥¤¥ó¤Ç¤¤Þ¤·¤¿¡£ ¤Ç¤â¡¢¤½¤ì¤Ê¤é $username ='username@ftp.server.com' ¤Ç ¤¦¤Þ¤¯¤¤¤¯¤Ï¤º¤Ç¤¹¤¬¡¢ÁÛÁü¤¹¤ë¤ËÀܳ¤¹¤ë¥Û¥¹¥È¤È¥Ý¡¼¥È¤¬ ´Ö°ã¤Ã¤Æ¤Ï¤¤¤Þ¤»¤ó¤«? ftp proxy ¤¬¤¦¤Á¤Î¤Þ¤ï¤ê¤Ë¤Ê¤¤¤Î¤Ç»î¤»¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¤â¤· public ¤Ê ftp proxy ¥µ¡¼¥Ð¤ò¤´Â¸ÃΤǤ·¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£ > ¤¿¤·¤«5Àé±ß¤¯¤é¤¤¤ÇÇ㤨¤ë¤ó¤Ç¤¹¡£ ¤½¤¦¤Ê¤ó¤Ç¤¹¤«¡£¤½¤ì¤ÏÃΤê¤Þ¤»¤ó¤Ç¤·¤¿¡£ > ¥Õ¥ê¡¼¥½¥Õ¥È¤ò½¸¤á¤¿¤À¤±¤Ë¤·¤Æ¤Ï¹â¤¤µ¤¤¬¤·¤Þ¤¹¤±¤É¡Ê¶ì¾Ð¡Ë ³Î¤«¤Ë :-)¡£ftp ¤ÇÇÛÉÛ¤¹¤ì¤Ð¤¤¤¤¤Î¤Ë¤Í¡Á¡£ ¤È¤³¤í¤Ç BSD MAGAZINE ÁÏ´©¹æ¤Ï¥À¥á¥À¥á¤À¤Ã¤¿¤±¤É¡¢ Âè2¹æ¤Ï¤Ê¤«¤Ê¤«Ç»¤¯¤Æ¤¤¤¤´¶¤¸¤Ç¤¹¡£¤Ç¡¼¤â¤ó·¯¥·¡¼¥ë¤Ï ¤«¤ï¤¤¤¯¤Ê¤¤¤Ç¤¹¤±¤É(¾Ð) |
¤Ê¤ó¤É¤â¤¹¤¤¤Þ¤»¤ó¡£ >¤³¤ì¤Ã¤Æ ftp proxy ¤À¤«¤é¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤«? proxy·Ðͳ¤Ç·Ò¤¤¤Ç¤¤¤ë²¼¤Î¥í¥°¤Ï¡¤Â¾¤ÎFTP¥¯¥é¥¤¥¢¥ó¥È¤Î¤â¤Î¤Ç¤·¤¿¡£ ¤·¤«¤·¡¤¥Þ¥¤¥¯¥í¥½¥Õ¥È¤ÎFTP¥µ¡¼¥Ð¡¼¤Ë¤Ï¡¤¤³¤Á¤é¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ëftptrans¤ò »È¤Ã¤Æ¤âÌäÂê¤Ê¤¯¥í¥°¥¤¥ó¤Ç¤¤Þ¤·¤¿¡£ ¼Â¤Ïftptran¤ò»È¤Ã¤Æ¥í¥°¥¤¥ó¤Ç¤¤Ê¤«¤Ã¤¿¤Î¤Ï¡¤Á´¤¯Ê̤νê¤À¤Ã¤¿¤Î¤Ç¤¹¤¬ ¤½¤³¤òÎã¤È¤·¤Æ½Ð¤¹¤ï¤±¤Ë¤Ï¤¤¤«¤Ê¤«¤Ã¤¿¤Î¤Ç³Îǧ¤»¤º¤Ë¡¤Microsoft.com¤ò Îã¤È¤·¤Æ½Ð¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£NT¤À¤«¤éƱ¤¸¤«¤Ê¤È»×¤Ã¤¿¤ó¤Ç¤¹¤¬¡¦¡¦¡¦ ¤½¤ì¤Ç¡¤NT¥µ¡¼¥Ð¡¼¤Ç¥í¥°¥¤¥ó¤Ç¤¤Ê¤¤½ê¤òõ¤·¤Æ¤¤Þ¤·¤¿¡£ ¤è¤í¤·¤±¤ì¤Ð¤³¤ì¤Ç³Îǧ¤·¤Æ¤¤¤¿¤À¤±¤ì¤Ð¤È»×¤¤¤Þ¤¹¡£ hostname:ftp.theglobe.com Username:Otamesi1 Password:Otamesi ¤³¤³¤Ë¤Ï¡¤¥Õ¥ê¡¼¥½¥Õ¥È¤ÎFTP Explorer¤È¤¤¤¦¥¯¥é¥¤¥¢¥ó¥È¤Ç ¥í¥°¥¤¥ó¤Ç¤¤Þ¤·¤¿¤¬¡¤¤³¤Á¤é¤ÇÇÛÉÛ¤µ¤ì¤Æ¤¤¤ë¥¹¥¯¥ê¥×¥È¤Ç »î¤·¤¿¤È¤³¤íUSER¥³¥Þ¥ó¥É¤Î½ê¤Ç¡¤¥¨¥é¡¼¤È¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ >¤Ç¡¼¤â¤ó·¯¥·¡¼¥ë¤Ï¤«¤ï¤¤¤¯¤Ê¤¤¤Ç¤¹¤±¤É(¾Ð) ¤¦¤Ã¡¤¤Ç¡¼¤â¤ó·¯¤Ï¤ª·ù¤¤¤Ç¤¹¤Î¡© »ä¤Ï¡¤2ǯ¤¯¤é¤¤Á°¤Ë½©ÍÕ¸¶¤Î¤×¤é¤Ã¤È¥Û¡¼¥à¤Ã¤Æ½ê¤Ç¡¤¤Ç¡¼¤â¤ó·¯¤Î¥ï¥Ã¥Ú¥ó¡©¤òÇã¤Ã¤Á¤ã¤¤¤Þ¤·¤¿¡£ ¾¤Ëµí¤µ¤ó¤È¤«¥Ú¥ó¥®¥ó¤µ¤ó¤Î¤¬¤¢¤Ã¤¿µ¤¤¬¤·¤Þ¤¹¤¬¡¤¤Ç¡¼¤â¤ó·¯¤¬°ìÈÖÇä¤ì¤Æ¤ë¤Ã¤ÆŹ°÷¤¬¸À¤Ã¤Æ¤Þ¤·¤¿¡£ ¤¢¤Îº¢¤ÏËèÆü¡¤´Ä¶¤ò¤¤¤Â¤Ã¤Æ¤¿µ¤¤¬¤·¤Þ¤¹¡£FreeBSD¤ò»È¤Ã¤Æ²¿¤«¤¹¤ë¤È¤¤¤¦¤è¤ê FreeBSD¤ÇÍ·¤ó¤Ç¤Þ¤·¤¿¡£º£»È¤Ã¤Æ¤ëWindows¥Þ¥·¥ó¤Ê¤ó¤ÆÊɻ椹¤é¤Ê¤¤¤ó¤Ç¤¹¤¬¤Í¤§¡Ê^^) |
> hostname:ftp.theglobe.com > Username:Otamesi1 > Password:Otamesi FTP Explorer ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ»î¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢ 530 USER unknown ¤Ç¤·¤¿¡£FreeBSD ¤È Solaris ¤Î ftp ¤Ç¤âƱ¤¸¤Ç¤¹¡£ ¤³¤Î Username ¤È Password ¤Ï³Î¤«¤Ë¹ç¤Ã¤Æ¤Þ¤¹¤«? 狼¥í¥°¥¤¥ó¤Ç¤¤Þ¤·¤¿?¡äÆɤó¤Ç¤ëÊý (¤Ã¤Æ¤É¤ì¤¯¤é¤¤¤¤¤ë¤Î¤«¤Ê) # Username: Otamesi ¤Ê¤é password ÆþÎϤޤǤ¤¤¯¤ó¤Ç¤¹¤¬¡£ > ¤¦¤Ã¡¤¤Ç¡¼¤â¤ó·¯¤Ï¤ª·ù¤¤¤Ç¤¹¤Î¡© http://www.freebsdmall.com/ ¤ò¸«¤ë¤Ë¡¢¾å¤Î¤Ç¡¼¤â¤ó·¯¤Ï·ù¤¤¤Ç¤¹¤¬¡¢ ÇطʤΤϥ¢¥ê¤À¤È»×¤¤¤Þ¤¹¡£ ¼«¸ÊʬÀϤ¹¤ë¤Ë¡¢Ì¯¤ËΩÂδ¶¤Î¤¢¤ë¥¢¥á¥³¥ß¥Á¥Ã¥¯¤Ê³¨¤¬·ù¤Ê¤Î¤«¤Ê? |
¤Ï¤¸¤á¤Þ¤·¤Æ¡£perl½é¿´¼Ô¤Ç¤¹¡£ ¤³¤Á¤é¤Îperl¤Î¥Ú¡¼¥¸¡¢¤È¤Æ¤â¤ï¤«¤ê¤ä¤¹¤¤¤Ç¤¹¤Í¡£ Á´ÉôÊݸ¤·¤ÆÊÙ¶¯¤·¤Æ¤¤¤Þ¤¹¡£ ´Êñ¤Ê²þ¤¤·¤«¤Ç¤¤Þ¤»¤ó¤¬¡¢ ¤ª¤«¤²¤µ¤Þ¤Ç¡¢¤ä¤ê¤ä¤¹¤¯¤Ê¤ê¤Þ¤·¤¿¡£ ¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ ¥ê¥ó¥¯¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤â¤è¤í¤·¤¤¤Ç¤·¤ç¤¦¤«¡© |
> ¥ê¥ó¥¯¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤â¤è¤í¤·¤¤¤Ç¤·¤ç¤¦¤«¡© ¤É¤¦¤¾¡Á¡£°·¤¤¤¬´Êñ¤Ç¥á¥ó¥Æ¤·¤ä¤¹¤¤¥ê¥ó¥¯ÊýË¡¤ò¹Í¤¨¤Æ¤¤¤ëºÇÃæ¤Ê¤Î¤Ç¡¢ µÕ¥ê¥ó¥¯¤ÏÄ¥¤ì¤Þ¤»¤ó¤¬ (3¥õ·î¶á¤¯Çº¤ó¤Ç¤Þ¤¹)¡£ |
>530 USER unknown ¤Ç¤·¤¿¡£ ¤¦¡Á¡¤¤¹¤ß¤Þ¤»¤ó¡£ Èù̯¤ËUsername¤ÈPassword¤ò´Ö°ã¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¥Ø¥Ü¥ó¼°¤Ç¤·¤¿¡£¡Øh¡Ù¤¬È´¤±¤Æ¤¤¤Þ¤¹¡£ Àµ¤·¤¯¤Ï¢¤³¤Á¤é¤Ç¤¹¡£ hostname:ftp.theglobe.com Username:Otameshi1 Password:Otameshi |
¡ÖUNIX ¤ÎÉô²°¡×¤ò¹¹¿·¤·¤Þ¤·¤¿¡£ http://X68000.startshop.co.jp/~68user/unix/ ¤³¤Î·Ç¼¨ÈĤä¥á¡¼¥ë¤Ç夤¤¿¤´°Õ¸« (.xsession/complete ¤Ê¤É) ¤Ï Á´¤ÆÈ¿±Ç¤µ¤»¤¿¤Ä¤â¤ê¤Ç¤¹¤¬¡¢¤â¤·¤Þ¤À½ñ¤ÊѤï¤Ã¤Æ¤¤¤Ê¤¤¤â¤Î¤¬ ¤¢¤ê¤Þ¤·¤¿¤é ¤´»ØŦ²¼¤µ¤¤ m(_ _)m > ¥Ø¥Ü¥ó¼°¤Ç¤·¤¿¡£¡Øh¡Ù¤¬È´¤±¤Æ¤¤¤Þ¤¹¡£ ¤ª¤ª¡¢¤Û¤ó¤Þ¤ä¡£FreeBSD ¤Î ftp ¤Ç¤Ï¥í¥°¥¤¥ó¤Ç¤¤ë¤±¤É¡¢ ftptrans ¤ä telnet ftp.theglobe.com ftp ¤Ç¤Ï¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¡£ ¤Ê¤ó¤Ç¤À¤í¤¦¡£Ä´¤Ù¤Æ¤ª¤¤Þ¤¹¡£ |
¤Ï¤¸¤á¤Þ¤·¤Æ¡£¥á¡¼¥ë¤Ï²¿ÅÙ¤«Á÷¤Ã¤¿¤±¤ì¤É¡¢·Ç¼¨ÈĤ˥«¥¥³¤¹¤ë ¤Î¤Ï¤³¤ì¤¬½é¤á¤Æ¤Ç¤¹¡£ ¡ÖUNIX¤ÎÉô²°¡×¤ò¸«¤µ¤»¤Æ¤¤¤¿¤À¤¤Þ¤·¤¿¡£ÀâÌÀ¤¬¾Ü¤·¤¯¡¢Èó¾ï¤Ë ÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤¹¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£complete¥³¥Þ¥ó¥É¤Ë ´Ø¤·¤Æ¤Ï¤³¤ì¤«¤é¤¸¤Ã¤¯¤ê¤È¸«¤Æ¤¤¤³¤¦¤«¤Ê¤È»×¤Ã¤Æ¤Þ¤¹¡£ ¤¢¤È¡¢~/.xsession¤Ë¤Ä¤¤¤Æ¡£¥Ñ¡¼¥ß¥Ã¥·¥ç¥óÊѹ¹¤Ë´Ø¤·¤Æ¤Ï % chmod +wx ~/.xsession ¤Ç¤Ï¤Ê¤¯¤Æ¡¢ % chmod u+wx ~/.xsession ¤È¤·¤¿Êý¤¬¤¤¤¤¤Î¤Ç¤Ï¡©¡Ö+wx¡×¤À¤È¤¹¤Ù¤Æ¤Î¿Í¤ËÊÔ½¸¤òµö²Ä¤¹¤ë¤³¤È ¤Ë¤Ê¤ê¡¢´í¸±¤À¤È»×¤¤¤Þ¤¹¡£¡Ê¤¢¤ëÆü¥í¥°¥¤¥ó¤·¤¿¤é¤¤¤¤Ê¤ê¥Ç¥¹¥¯¥È¥Ã ¥×¤¬ÊѤï¤Ã¤Æ¤¤¤¿¡ª¤Ê¤ó¤Æ¤³¤È¤Ë...¡Ë |
> ftp.theglobe.com ²þ¹Ô¥³¡¼¥É¤¬ LF ¤À¤Ã¤¿¤«¤é¤Ç¤·¤¿¡£CRLF (\r\n) ¤Ë¤·¤¿¤é¤¦¤Þ¤¯¤¤¤¤Þ¤¹¡£ ¤è¤¯¸«¤ì¤Ð RFC ¤Ë¤â CRLF ¤Ë¤¹¤ë¤è¤¦¤Ë½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¤Í(^^; ľ¤·¤Æ¤ª¤¤Þ¤¹¡£ > telnet ftp.theglobe.com ftp ¤Ç¤Ï¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¡£ º£¼ê¸µ¤Ë¸½Êª¤¬¤Ê¤¤¤Î¤Ç³Î¤«¤á¤Æ¤Þ¤»¤ó¤¬¡¢¤¦¤Þ¤¯¤¤¤«¤Ê¤«¤Ã¤¿¤Î¤Ï telnetx ¤À¤Ã¤¿¤«¤é¤À¤È»×¤¤¤Þ¤¹¡£ÁǤΠtelnet ¤À¤È CRLF ¤òÁ÷¤ë¤è¤¦¤Ç¤¹¤Í¡£ > % chmod u+wx ~/.xsession ¤É¤â¤É¤â¡äskeleton M. ¤µ¤ó +wx ¤È¤¤¤¦·Á¼°¤À¤È umask ¤ÎÃͤǽ¤¾þ¤µ¤ì¡¢¤½¤Î·ë²Ì¤¬¼ÂºÝ¤Î ¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ë¤Ê¤ê¤Þ¤¹¡£¤Ê¤Î¤Ç¡¢umask 0 ¤Ë¤Ç¤â¤Ê¤Ã¤Æ ¤¤¤Ê¤¤¸Â¤ê 777 ¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ u+wx ¤È½ñ¤«¤Ê¤«¤Ã¤¿Íýͳ¤Ç¤¹¤¬¡¢´ðËÜŪ¤Ë umask ¤ÎÃͤòº½Å¤·¤¿Êý¤¬ ¤è¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤¤¤¦¹Í¤¨¤«¤é¤Ç¤¹¡£³Ø¹»¤Ê¤É¤Ç¤Ï¡¢ÂçÄñ user=a990001, group=a99 ¤Ç umask 22 ¤Ç¤·¤ç¤¦¤±¤É¡¢user=68user,group=68user ¤È¤¤¤¦ 1¥æ¡¼¥¶¡á1¥°¥ë¡¼¥×¤Î¥µ¥¤¥È¤Ç¤Ï umask 2 ¤Ç¤¹ (¥½¥Õ¥È¤ò¶¦Æ±³«È¯¤¹¤ë¤È¤ ¤Ê¤É¤Ï¤³¤Ã¤Á¤ÎÊý¤¬ÊØÍø)¡£ ¤Ê¤Î¤Ç¡¢ - umask ¤òÀµ¤·¤¯ÀßÄꤹ¤ë - chmod ¤ÏÁêÂÐÊý¼°¤Ç¡£ - ¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò¸ø¤Ë¸ø³«¤·¤¿¤¤¾ì¹ç¤ÏÌÀ¼¨Åª¤Ë a+rwx,777 ¤Ê¤É¤È¤¹¤ë ¤È¤¤¤¦¹Í¤¨¤«¤é +wx ¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢¤¤¤«¤¬¤Ê¤â¤ó¤Ç¤·¤ç¤¦¡£ # ¡Ö¤È¤Ï¤¤¤¨¡¢ÌÀ¼¨Åª¤Ë u+wx ¤È¤« 755 ¤È»ØÄꤹ¤ëÊʤòÉÕ¤±¤¿Êý¤¬¤è¤¤¡×¤È¤¤¤¦ # ¹Í¤¨¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤Í¡£¤É¤Ã¤Á¤¬¤¤¤¤¤Î¤«¤Ê¡£ |
¤É¤¦¤â¡¢¤´Ìµº»ÂÁ¤·¤Æ¤ª¤ê¤Þ¤¹¡ä¤ª»Õ¾¢ÍÍ ¤¤¤ä¤¡¡¢»Å»ö¤¬Ë»¤·¤¯¤Æ¤Ê¤ó¤È¤â¤Ê¤ê¤Þ¤»¤ó¤Ç¤¹¡¢¤Ï¤¤¡£ ¤Ç¡¢¤¤¤Ä¤â¤¤¤Ä¤âº¤¤Ã¤¿¤È¤¤Ë½õ¤±¤Æ¤¤¤¿¤À¤¤¤Æ¶²½Ì¤Ê¤ó¤Ç¤¹¤¬¡¢ FROM¤«¤é¡¢ $len=$ENV{'CONTENT_LENGTH'}; read(STDIN, $st, $len); ¤È¡¢STDIN¤Ç¤È¤Ã¤Æ¤¤¿¥Ç¡¼¥¿¤ËÆüËܸ줬´Þ¤Þ¤ì¤Æ¤¤¤¿¾ì¹ç ¡ó¤Ê¤ó¤Á¤ã¤é¤ÇÃÖ¤´¹¤¨¤é¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¤è¤Í¡£ ¤³¤ì¤ò¸µ¤ÎÆüËܸì¤ËÌᤷ¤¿¤¤¤ó¤Ç¤¹¤±¤É¡¢¤Ê¤Ë¤«¤¤¤¤ÊýË¡¤¬ ¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡© Ëè²óËè²óFORM¤ËÂбþ¤·¤¿ÊÑ¿ô¤òCGI(Perl)Æâ¤Ç ÄêµÁ¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯ÈÆÍѤÎCGI¤òºî¤ê¤¿¤¤¤ó¤Ç¤¹¡£ cgi-lib.pl¤ò»È¤Ã¤Ækeys´Ø¿ô¤Ç¥Ï¥Ã¥·¥å¤«¤é¼è¤ê½Ð¤¹¤È¡¢ Á÷¤é¤ì¤Æ¤¤¿¥Ç¡¼¥¿¤Î½çÈÖ¤¬¤°¤Á¤ã¤°¤Á¤ã¤Ë¤Ê¤ë¤Î¤ò ¤Ê¤ó¤È¤«¤Ç¤¤ì¤Ð¤½¤ì¤Ç¤â¤¤¤¤¤ó¤Ç¤¹¤±¤É¤Í¡Ê¾Ð¡Ë |
¤¹¤ó¤Þ¤»¤ó¡¢²¼¤Î¼ÁÌä²ò·è¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£ ¤â¤¦°ìÅÙñÑñÌËܤÈÁÍËܤò¸«Ä¾¤·¤Æ¤¿¤é¡¢¤Î¤Ã¤Æ¤Þ¤·¤¿¡£ ¤½¤Î¤â¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤¹¤±¤É¡¦¡¦¡¦¡£ ¶á¶·Êó¹ð ¤³¤³¿ô¥ö·îSETI@home¤Ç¼«Âð¤ÎPC¤¬24»þ´ÖÆ°¤¤Ã¤Ñ¤Ê¤·¡Ê¾Ð¡Ë |
> ¤³¤³¿ô¥ö·îSETI@home¤Ç¼«Âð¤ÎPC¤¬24»þ´ÖÆ°¤¤Ã¤Ñ¤Ê¤·¡Ê¾Ð¡Ë RC5-64 ¤ÈƱ¤¸¤¯ seti ¤â Mac (¤È¤¤¤¦¤«G4?) ¿Ø±Ä¤¬ Í¥Àª¤Ê¤ó¤Ç¤·¤ç¤¦¤«? ¤¦¤Á¤Î¤Þ¤ï¤ê¤Î24»þ´Ö²ÔƯ¤Î ¥Þ¥·¥ó¤Ï 486DX2+Memory 8MB+NetBSD1.4.1 ¤·¤«¤Ê¤¤¤Î¤Ç¡¢ »²²Ã¤Ï¤È¤Æ¤â¸·¤·¤¤¤Ç¤¹(^^; |
>²þ¹Ô¥³¡¼¥É¤¬ LF ¤À¤Ã¤¿¤«¤é¤Ç¤·¤¿¡£ ¤Ê¤ë¤Û¤É¡¤¤½¤¦¤¤¤¦¤³¤È¤À¤Ã¤¿¤Î¤Ç¤¹¤Í¡£ Á´¤Æ¤òCRLF¤Ë½¤Àµ¤·¤¿¤é¤¦¤Þ¤¯¤¤¤¯¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£ ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤Ç¡¤¤³¤ó¤Ê¤â¤ó¤òºî¤Ã¤Æ¤Þ¤·¤¿¡£ ¤¢¤Þ¤êÌò¤Ë¤¿¤¿¤Ê¤¤Êª¤Ç¤¹¤±¤É¤Í(^^; http://disk.hypermart.net/fxp.cgi http://disk.hypermart.net/fxp.txt #¥½¡¼¥¹ |
²þ¹Ô¥³¡¼¥É¤ÎÏ䬽Ф¿¤Î¤Ç¡¢¤Ä¤¤¤Ç¤Ë½ñ¤¤¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ¼Â¤ÏºÇ¶á¡¢·Ç¼¨ÈĤò¼«ºî¤·¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢²þ¹Ô¤òBR¥¿¥°¤Ë ÃÖ´¹¤¹¤ëÉôʬ¤¬¤¢¤Ã¤Æ¡¢¤½¤³¤Ç¤ÏCR+LF,LF,CR¤Î£³Ä̤ê¤Ë Âбþ¤¹¤ë¤è¤¦¤Ë¤·¤¿¤Î¤Ç¤¹¤¬¡¢CR¤ÏMac¤À¤«¤éÃפ·Êý¤Ê¤¤¤È¤·¤Æ¡¢ LF¤Ï¸¦µæ¼¼¤ÎFreeBSD¤Ç»î¸³¤Ç¤¤ë¤«¤é¡¢¤È¤¤¤¦¤³¤È¤Ç¡¢ ¤ä¤Ã¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢²¿¤ÈFreeBSD¤ÎNN4.7¤âCR+LF¤Ç ¥Õ¥©¡¼¥à¥Ç¡¼¥¿¤òÁ÷¤Ã¤Æ¤¤¿¤Î¤Ç¤·¤¿¡£Lynx¤â¤½¤¦¤À¤Ã¤¿¤·¡¢ ¤³¤ì¤¸¤ã¥Æ¥¹¥È¤Ç¤¤Ê¤¤¤ä¤ó(^^; |
> http://disk.hypermart.net/fxp.txt #¥½¡¼¥¹ ¤ó¡Á¡¢¤â¤Ã¤È OOP Ū¤Ê¥µ¥ó¥×¥ë¥×¥í¥°¥é¥à¤ò½ñ¤¯¤Ù¤¤À¤Ã¤¿¤«¡Ä¡£ > ²¿¤ÈFreeBSD¤ÎNN4.7¤âCR+LF¤Ç NN/NC ¤Ï UNIX ÈǤǤâ CR+LF ¤Ç¤¹¤Í¡£ > Lynx¤â¤½¤¦¤À¤Ã¤¿¤·¡¢ Lynx ¤Ï LF ¤¸¤ã¤Ê¤¤¤Ç¤¹¤«? FreeBSD-2.2.7 ¤Î package ¤«¤éÆþ¤ì¤¿ Lynx-2.8rel.2¡¢Solaris2.6 ¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤¿ Lynx-2.8rel.2 ¤Ï ¶¦¤Ë LF ¤Ç¤·¤¿¡£ |
¤³¤Î·Ç¼¨ÈĤβáµî¥í¥°¤ò¸¡º÷¤Ç¤¤ë¤è¤¦¤Ë¤·¤¿¤«¤Ã¤¿¤Î¤Ç¤·¤Æ¤ß¤Þ¤·¤¿¡£ ¤Ç¤³¤ì¤¬¤½¤ì¤ò°µ½Ì¤·¤¿¤ä¤Ä¡£ http://www.geocities.co.jp/SiliconValley-Bay/2916/68bbs.tar.gz ʪ¹¥¤¤ÊÊý¤Ï¤É¤¦¤¾¡£ Á°¤ÎFreeBSD¤ÎÏáä68user¤µ¤ó º£ÅÙËܲ°¤Ø¹Ô¤Ã¤¿»þ¤Ë¡¢FreeBSDÉÕ¤ÎÆþÌç½ñÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤Þ¤¹¡£ FTP¤«¤é¥À¥¦¥ó¥í¡¼¥É¤Ï¤È¤Æ¤â(^_^; ÌÀÆü¤«¤é5Æü´Ö¥¹¥¡¼¤Ø¹Ô¤Ã¤Æ¤¤Þ¤¹¡Á ¤ä¤ä¼«Ëý;-) |
> ¤³¤Î·Ç¼¨ÈĤβáµî¥í¥°¤ò¸¡º÷¤Ç¤¤ë¤è¤¦¤Ë¤·¤¿¤«¤Ã¤¿¤Î¤Ç¤·¤Æ¤ß¤Þ¤·¤¿¡£ ¤Þ¤¿Êª¹¥¤¤Ê¤³¤È¤ò :-) ¤½¤Î¤¦¤Á namazu ¤Ç¸¡º÷¤Ç¤¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤¤Þ¤¹¡£ > º£ÅÙËܲ°¤Ø¹Ô¤Ã¤¿»þ¤Ë¡¢FreeBSDÉÕ¤ÎÆþÌç½ñÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤Þ¤¹¡£ ½ñÀÒÁª¤Ó¤Ë¤Ï http://www.jp.FreeBSD.org/CD-list/ ¤â»²¹Í¤Ë¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£ > ÌÀÆü¤«¤é5Æü´Ö¥¹¥¡¼¤Ø¹Ô¤Ã¤Æ¤¤Þ¤¹¡Á ¹ü¤òÀÞ¤é¤Ê¤¤¤è¤¦¤Ëµ§¤Ã¤Æ¤Þ¤¹ ;-P |
>> Lynx¤â¤½¤¦¤À¤Ã¤¿¤·¡¢ > Lynx ¤Ï LF ¤¸¤ã¤Ê¤¤¤Ç¤¹¤«? ¤¤¤ä¡¢³Î¤«¤Ë%0d%0a¤È¤Ê¤Ã¤Æ¤¤¤¿¤«¤é¡¢CR+LF¤À¤È »×¤¦¤ó¤Ç¤¹¤±¤É¤Í¡£¤â¤¦°ìÅٳΤ«¤á¤Æ¤ß¤ë¤È¤·¤Þ¤¹¡£ |
lynx-2.8 ¤Î¥½¡¼¥¹¤òή¤·Æɤó¤À¸Â¤ê¤Ç¤Ï¡¢ <form method=post action=foo.cgi enctype="multipart/form-data"> ¤Ê¤É¤È enctype ¤òÀßÄꤷ¤Ê¤¤¸Â¤ê LF ¤Ë¤Ê¤ë¤è¤¦¤Ê µ¤¤¬¤¹¤ë¤ó¤Ç¤¹¤¬¡¢¤¿¤À¤Îµ¤¤Î¤»¤¤¤«¤â¤·¤ì¤Þ¤»¤ó (^^; GridText.c ¤Î /* This is a continuation of a previous textarea * add %0a (\n) and the escaped string. */ ¤¢¤¿¤ê¡£ # ¤È¸À¤¤¤Ê¤¬¤é¡¢¥Æ¥¹¥È¤¹¤ë¤Î¤Ë multipart/form-data ¤Ê¤ó¤Æ # ½ñ¤«¤Ê¤¤¤À¤í¤¦¤«¤é¡¢lynx ¤Î¥Ð¡¼¥¸¥ç¥ó¤¬°ã¤¦¤È¤¤¤¦¥ª¥Á¤Ç¤Ï # ¤Ê¤¤¤«¤ÈͽÁÛ¤·¤Æ¤¤¤ë¤ó¤Ç¤¹¤¬¡¢¤É¤¦¤Ç¤·¤ç¤¦¡£ |
>¤¤¤ä¡¢³Î¤«¤Ë%0d%0a¤È¤Ê¤Ã¤Æ¤¤¤¿¤«¤é¡¢CR+LF¤À¤È >»×¤¦¤ó¤Ç¤¹¤±¤É¤Í¡£¤â¤¦°ìÅٳΤ«¤á¤Æ¤ß¤ë¤È¤·¤Þ¤¹¡£ ´Ö°ã¤¤¤Ê¤¯CR+LF¤Ç¤·¤¿¡£ ¤Ò¤ç¤Ã¤È¤·¤Æ¡¢Tera Term¡ÊWindows¤ÎTelnet¤ß¤¿¤¤¤Ê¤â¤Î¡Ë ¤«¤éµ¯Æ°¤·¤¿½ê°Ù¤Ç¤·¤ç¤¦¤«¡©kterm¤«¤é¤Ê¤éLF¤Ë¤Ê¤ë¤Î¤«¤â¡¦¡¦¡¦ ¤Ê¤ª¡¢Lynx¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï >Lynx Version 2.8.2rel.1 (01 Jun 1999) >Built on freebsd3.2 Jul 6 1999 13:31:33 ¤Ç¤·¤¿¡£ |
²þ¹Ô¥³¡¼¥É¤Ê¤ó¤Ç¤¹¤¬¡¤²È¤ÎSolaris¤«¤éÁ÷¿®¤·¤¿¤é Linx¤ÏLF¤ß¤¿¤¤¤Ç¤¹¤Í¤§¡£ Linx¤Î¥Ð¡¼¥¸¥ç¥ó¤Ë¤è¤Ã¤Æ°ã¤¦¤Î¤«¤Ê¡© ¤Ç¤âLinx¤«¤é·Ç¼¨ÈĤËÅê¹Æ¤¹¤ë¿Í¤Ê¤ó¤Æ¤¢¤ó¤Þ¤ê¤¤¤Ê¤¤¤è¤¦¤Êµ¤¤¬¡¦¡¦¡¦¡¦ >Yuuki¤µ¤ó ʪ¹¥¤¤Ê¤ó¤Ç²áµî¥í¥°Äº¤¤Þ¤·¤¿¡£ ¤â¤Î¹¥¤¤È¤¤¤¦¤è¤ê¤¿¤À¤Î²Ë¿Í¤«¤â(^^; ¤Ê¤Ë¤«ÌÌÇò¤¤¥Í¥¿¤òõ¤·¤Æ¤¿¤ê¤·¤Þ¤¹¡£ |
³Ø¹»¤ÎSolaris¤ÏLF¤Ç¤·¤¿¡£ |
¤Þ¤º¤Ï³§ÍÍ¡¢¤¢¤±¤Þ¤·¤Æ¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ²þ¹Ô¥³¡¼¥É¤ÎÏäǤ¹¤¬¡¢½é¿´¼Ô¸þ¤±¤ÎCGI¤ÎËÜ¤Ë¤Ï Mac¤ÏCR¡¢WINDOWS¤ÏCR+LF¡¢UNIX¡Ê·Ï¡Ë¤ÏLF¤È¤·¤Æ¤¤¤ë¤â¤Î¤¬Â¿¤¤¤è¤¦¤Ç¤¹¤¬ °ã¤¦¤ó¤Ç¤·¤ç¤¦¤«¡© ¤à¤¥¤¥¡¢±ü¤¬¿¼¤¤¡¦¡¦¡¦¡£ ¡äSETI¤ÎÏÃÂê G4¤È¤¤¤¦¤è¤ê¡¢PPC¤¬¶¯¤¤¤Ç¤¹¡£ G4¤Î®¤µ¤Î¸¶°ø¤Ç¤¢¤ë¡¢VelocityEngin¤Ë¥¯¥é¥¤¥¢¥ó¥È¤¬Âбþ¤·¤Æ¤¤¤Ê¤¤¤¿¤á ¸½ºß¤ÏG3¤ÈG4¤Ç¤Î®ÅÙº¹¤Ï¤Û¤È¤ó¤É¤¢¤ê¤Þ¤»¤ó¤Ç¤¹¡£ |
ÌÀ¤±¤Þ¤·¤Æ¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤Þ¤À¤Þ¤ÀÁǿͤΰ褫¤é椷¤é¤ì¤Ê¤¤¼Ô¤Ç¤¹¤¬¡¢µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ socket¤Ë¤Ä¤¤¤Æ¤â¡¢Á´¤¯ÃΤé¤Ê¤«¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢ ¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¤Ç¤Ï¡¢¤È¤Æ¤âÎɤ¯Ê¬¤«¤ê¤Þ¤·¤¿¡£Í¤êÆñ¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡ª ¤¤¤¤Ê¤ê¼ÁÌä¤Ç¿½¤·Ìõ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢ ¼±¼Ô¤ÎÊý¤¬¤¤¤é¤Ã¤·¤ã¤¤¤Þ¤·¤¿¤é¡¢¤´¶µ¼¨²¼¤µ¤ì¤Ð¹¬¤¤¤Ç¤¹¡£ HTTP_REFERER¤Ç¤Ï¡¢¸Æ½Ð¤·¸µURL¤¬¥»¥Ã¥È¤µ¤ì¤Þ¤¹¤¬¡¢ ¤³¤ì¡ÊReferer)¤ò¡¢ÊÖ¤µ¤Ê¤¤Íͤˤ¹¤ëÊýË¡¤Ã¤Æ¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¤Þ¤¿¤Ï¡¢Ç¤°Õ¤ÎURL¤ò¥»¥Ã¥È¤¹¤ëÅù¡£ #¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© µ¹¤·¤±¤ì¤Ð¡¢¤ª¶µ¤¨´ê¤¨¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹<(__)> ----- ¤Á¤Ê¤ß¤Ë¡¢¡ãIMG¡¦¡¦¡ä¥¿¥°¤ò¼è¤Ãʧ¤Ã¤Æɽ¼¨¤µ¤»¤ëCGI¤ò¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¤ò»²¹Í¤Ëºî¤Ã¤Æ¤ß¤Þ¤·¤¿¡£ ¤¬¡¢SUBMIT¥Ü¥¿¥ó¤¬¤¢¤ë¥Ú¡¼¥¸¤ÇÁ÷¿®¤ò¥¯¥ê¥Ã¥¯¤¹¤ë¤È¡¢¡ÊHTTP_REFERER¤ò¥Á¥§¥Ã¥¯¤·¤Æ¤¤¤ëCGI¤Ç¤Ï¡¢¡Ë¥¨¥é¡¼¤ÇÃƤ«¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢²óÈò¤·¤¿¤¤¤È»×¤¤¤Þ¤·¤¿¡£ |
¤É¤â (¡£¡¦_¡¦¡£)¥Î Goo¤Ç£³£Ä£Ï¤Î¥²¡¼¥à¡¢¥¹¥¿¡¼¥³¥ó¥È¥í¡¼¥ë£²¤ò¸¡º÷¤·¤Æ ²áµî¥í¥°¤Ë°ú¤Ã³Ý¤«¤Ã¤Æ¤¤¿¤â¤Î¤Ç¤¹¡Ê ;¡°¡°¡Ë¥Ø¡¥¡¥ ¤Á¤Ê¤ß¤ËSEGABBS¤ÎVol.83¤ÎÊÕ¤ê¤Ç¤¹¡£ £È£Ð¤Î¥È¥Ã¥×¤ò¸«¤Æ¤ß¤ë¤È£Õ£Î£É£Ø´Ø·¸¤Î»ñÎÁ¤¬¡Ä ¤³¤Îº¢£Ì£é£î£õ£ø¤ËÄ©À路¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ ¤Ê¤¼¥²¡¼¥à¤Î¸¡º÷¤ò¤·¤Æ¤¤¤Æ£Õ£î£é£ø¤Ë¤¿¤É¤êÃ夯¤Î¤«¡Ê£Ô£Ô ¤½¤ó¤Ê¤Ë»ä¤ËµÙ¤Þ¤º¤Ë£Õ£î£é£ø·Ï¤ÎÊÙ¶¯¤ò¥·¥í¤È¤¤¤¦¤Î¤À¤í¤¦¤«¡Ê¾Ð ¤Þ¤ÀLinux¤Îslackware3.6¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤À¤±¤Ç¤¹¤¬¡¢ ¤³¤³¤Î¤Ú¡¼¤¸Åù¤ò»²¹Í¤Ë¡¢¤æ¤¯¤æ¤¯¤Ï¥µ¡¼¥Ð¤òΩ¤Æ¤Æ¤ß¤¿¤¤¤È ¤ª¤â¤Ã¤Æ¤Þ¤¹¡Ê¤¤¤Ä¤Ë¤Ê¤ë¤³¤È¤ä¤é ¤Á¤Ê¤ß¤Ë£Â£Â£Ó¤ò½ä²ó¤¹¤ëÊʤÏ̵¤¤¤Î¤Ç ¥ì¥¹ÉÕ¤±¤Æ¤âÊÖ»ö̵¤¤¤«¤â¡Ê¤©¤£¤©¤£ ¤È¤¤¤¦¤ï¤±¤Ç¡¢¤Þ¤¿¤¤¤Ä¤«½ñ¤¤³¤ß¤ËÍè¤ë¤«¤â¡Ê¡°¡°¡¨ |
>HTTP_REFERER¤Ç¤Ï¡¢¸Æ½Ð¤·¸µURL¤¬¥»¥Ã¥È¤µ¤ì¤Þ¤¹¤¬¡¢ >¤³¤ì¡ÊReferer)¤ò¡¢ÊÖ¤µ¤Ê¤¤Íͤˤ¹¤ëÊýË¡¤Ã¤Æ¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© »ä¤Ï¥Í¥Ã¥È¥ï¡¼¥¯¤Ë¾Ü¤·¤¤Ìõ¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢¼ÂºÝ¤ÎÆ°ºî¤À¤±¤ò ¿½¤·¾å¤²¤Þ¤¹¤È¡¢¥Ö¥Ã¥¯¥Þ¡¼¥¯¤«¤é¥¢¥¯¥»¥¹¤·¤¿¾ì¹ç¤ä¡¢URL¤ò ľÂǤÁ¤·¤¿¾ì¹ç¤ÏHTTP-Referer¤¬¤Ä¤«¤Ê¤¤¤è¤¦¤Ç¤¹¡£ Referer¤Ï¸Æ¤Ó½Ð¤·¤¿¥Ú¡¼¥¸¤ò¼¨¤¹¤â¤Î¤Ç¡¢¾åµ¤Î¤è¤¦¤Ê ¥±¡¼¥¹¤Ç¤Ï¸Æ¤Ó½Ð¤·¤¿¥Ú¡¼¥¸¤½¤Î¤â¤Î¤¬Â¸ºß¤·¤Þ¤»¤ó¤«¤é¤Í¡£ ¼ÂºÝ¡¢»ä¤Î¥¦¥§¥Ö¥Ú¡¼¥¸¤Î¥¢¥¯¥»¥¹¥í¥°¤Ç¤Ï¡¢Referer¤¬ ¤Ê¤¤¤Î¤â¿¤¤¤Ç¤¹¡£ >#¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¥Ö¥é¥¦¥¶¤¬»ý¤Ä¤â¤Î¤ÏHTTP-User-Agent¤Ç¤¹¡£ ¡ô¤È¡¢ÃǸÀ¤·¤Æ¤¤¤¤¤Î¤«¤Ê¡Ä¡£ User-Agent¤òÁàºî¤Ç¤¤ë¥Ö¥é¥¦¥¶¤â¤¢¤ê¤Þ¤¹¡£IE¤â¤½¤Î£±¤Ä ¤é¤·¤¤¤Î¤Ç¤¹¤¬¡¢¥ì¥¸¥¹¥È¥ê¤ÎÁàºî¤¬É¬ÍפÀ¤È¤«¸À¤Ã¤Æ¡¢»ä¤Ë¤Ï ¤Á¤ç¤Ã¤Èʬ¤«¤ê¤Þ¤»¤ó¡£ ¤â¤Ã¤È¤ä¤ê°×¤¤¤Î¤ÏLynx¤Ç¤¹¤Í¡£¤³¤ì¤Ë¤Ï¡¢Option¥á¥Ë¥å¡¼¤Î Ãæ¤ËƲ¡¹¤ÈUser-Agent¤ò»ØÄꤹ¤ë¹àÌܤ¬¤¢¤ê¤Þ¤¹¡£ |
>#¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î¤Ç¤·¤ç¤¦¤«¡© ¥Ö¥é¥¦¥¶¤¬¥ê¥ó¥¯¸µ¤Î¥Ú¡¼¥¸¤Î¾ðÊó¤È¤·¤ÆReferer: ¥Ø¥Ã¥À¤òÁ÷¤ëÌõ¤Ç¤¹¤«¤é¡¢ ÅöÁ³¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤Þ¤¹¡Ä¤È¤¤¤¦¤«¡¢¥Ö¥é¥¦¥¶¤¬¤É¤Î¤è¤¦¤Ê Referer: ¥Ø¥Ã¥À¤òÁ÷¤ë¤«¡¢¤Þ¤¿¤Ï¡¢Á÷¤é¤Ê¤¤¤«¤ò·è¤á¤Æ¤¤¤Þ¤¹¡£ User-Agent: ¥Ø¥Ã¥À¤â¤½¤¦¤Ç¤¹¤¬¡¢HTTP¥ê¥¯¥¨¥¹¥È¥Ø¥Ã¥À¤Ï¡¢ ¥¯¥é¥¤¥¢¥ó¥È¡¢¤Ä¤Þ¤ê¤³¤³¤Ç¤Ï¥Ö¥é¥¦¥¶¼¡Âè¤Ç¤¹¡£ |
¤¢¤±¤Þ¤·¤Æ¤ª¤á¤Ç¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª º£Æü¤ä¤Ã¤È¿Þ½ñ´Û¤¬³«¤¤¤¿¤Î¤Ç1999/12/24ƱÍÍ¡¢¤½¤³¤Î¥Þ¥·¥ó ¤«¤é¥«¥¥³¤·¤Æ¤Þ¤¹(¾Ð)¡£ ¥ì¥¹¤¬ÃÙ¤ì¤Æ¤¹¤¤¤Þ¤»¤ó¡ä68userÍÍ >+wx ¤È¤¤¤¦·Á¼°¤À¤È umask ¤ÎÃͤǽ¤¾þ¤µ¤ì¡¢¤½¤Î·ë²Ì¤¬¼ÂºÝ¤Î >¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤Ë¤Ê¤ê¤Þ¤¹¡£¤Ê¤Î¤Ç¡¢umask 0 ¤Ë¤Ç¤â¤Ê¤Ã¤Æ >¤¤¤Ê¤¤¸Â¤ê 777 ¤Ë¤Ï¤Ê¤ê¤Þ¤»¤ó¡£ ¤¢¤ï¤ï¡¢ÃΤê¤Þ¤»¤ó¤Ç¤·¤¿¡£»ä¤ÎÊÙ¶¯ÉÔ¤Ǥ¹(´À) ># ¡Ö¤È¤Ï¤¤¤¨¡¢ÌÀ¼¨Åª¤Ë u+wx ¤È¤« 755 ¤È»ØÄꤹ¤ëÊʤòÉÕ¤±¤¿Êý¤¬¤è¤¤¡×¤È¤¤¤¦ ># ¹Í¤¨¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤Í¡£¤É¤Ã¤Á¤¬¤¤¤¤¤Î¤«¤Ê¡£ +¤ÎÁ°¤Ë²¿¤â¤Ä¤±¤Ê¤±¤ì¤Ð¡Ê¤Ä¤Þ¤ê+wx¤ß¤¿¤¤¤Ë¤¹¤ì¤Ð¡Ëumask¤ÎÃͤǽ¤¾þ¤µ¤ì¤ë ¤È¤¤¤¦¤³¤È¤òÃΤé¤Ê¤«¤Ã¤¿»ä¤Ï¤¤¤Ä¤âu+wx¤Ê¤É¤È¤·¤Æ¤Þ¤·¤¿¤±¤É¡£ ¤¢¤È¡¢¥Ö¥é¥¦¥¶¤¬Á÷¤ë¥Ø¥Ã¥À¤òÁ´Éô¸«¤ë¤Ë¤Ïtcpdump¤Ê¤É¤ò»È¤¦¤·¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© ¶µ¤¨¤Æ¤¤¤¿¤À¤±¤ì¤Ð¤¦¤ì¤·¤¤¤Î¤Ç¤¹¤¬¡£ |
UNIX¤Î¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤ò¤¹¤Ù¤Æ°ì²ó¤Ç¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë ¥³¥Ô¡¼¤¹¤ëÊýË¡¤Ïºß¤ê¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«,¤â¤·¤¢¤Ã¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£ |
>¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤ò¤¹¤Ù¤Æ°ì²ó¤Ç¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë¥³¥Ô¡¼¤¹¤ëÊýË¡ http://X68000.startshop.co.jp/~68user/unix/prgmemo.html#cp ¤Î -R ¥ª¥×¥·¥ç¥ó¤Ç¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¡© |
goosanÍÍ¡¢mmÍÍ¡¢¸æ²óÅú¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ ÂçÊÑ»²¹Í¤È¤Ê¤ê¤Þ¤·¤¿¡ª¡ª Ëͤϡ¢¤Þ¤À¤Þ¤À¥¹¥¥ë¤ÏÄ㤤¤Î¤Ç¤¹¤¬¡¢Ê¬¤«¤ë»ö¤¬¤¢¤ì¤Ð¡¢ Åú¤¨¤¿¤¤¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£(give and take¤ÎÀº¿À¤Ç(^-^)) º£¸å¤È¤âµ¹¤·¤¯¤ª¤Í¤¬¤·¤Þ¤¹¡£ |
1·î2Æü¤Ëµ¢¤Ã¤Æ¤¿¤ó¤Ç¤¹¤¬¡¢¿§¡¹¤¢¤Ã¤Æ(Èè¤ì¤Æ¤Æ)ÃÙ¤¯¤Ê¤ê¤Þ¤·¤¿¡£(^^;; FreeBSD¤ÎÆþÌç½ñ¤ò¸«¤Ë¹Ô¤¯¤Ä¤¤¤Ç¤Ë ¥×¥í¥°¥é¥ß¥ó¥°Perl²þÄûÈÇ (http://www.oreilly.co.jp/BOOK/pperl.htm) ¤òÇ㤪¤¦¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢»Ï¤á¤Æ¤ÎPerl ¤òÇã¤Ã¤Æ¤·¤Þ¤Ã¤¿¤è¤¦¤Ç¤¹:-) Ãø¼Ô¤ËLarry Wall¤Î̾¤¬Ìµ¤¤¤Î¤È¥é¥¯¥À¤Î³¨¤¬Ìµ¤¤¤Î¤Ç¤ª¤«¤·¤¤¤Ê¤È¤Ï»×¤Ã¤Æ¤¿¤Î¤Ë ¤½¤Î¤Þ¤Þ¥ì¥¸¤Ø....(^^;; ¥ê¥Õ¥¡¥ì¥ó¥¹¤Î»ö¤È¤«¥â¥¸¥å¡¼¥ë¤Îºî¤êÊý¤È¤«¤¬ÃΤꤿ¤«¤Ã¤¿¤Î¤Ë¤Î¤Ã¤Æ¤¤¤Ê¤¤:-) FreeBSD¤ÎÊý¤Ï FreeBSDÅ°ÄìÆþÌç (http://www.pro.or.jp/~fuji/computerbooks/unix-x/freebsd.asada.html) ¤Ë¤·¤è¤¦¤«¤Ê¤È»×¤¤¤Þ¤¹¡£¤Þ¤ÀÇã¤Ã¤Æ¤Ê¤¤(^^; >68user¤µ¤ó >¤½¤Î¤¦¤Á namazu ¤Ç¸¡º÷¤Ç¤¤ë¤è¤¦¤Ë¤·¤Æ¤ª¤¤Þ¤¹¡£ ¤³¤ê¤ã¤É¤¦¤â¡¢³Ú¤·¤ß¤Ç¤¹¡£ >½ñÀÒÁª¤Ó¤Ë¤Ï > ¡¡http://www.jp.FreeBSD.org/CD-list/ > ¤â»²¹Í¤Ë¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£ »²¹Í¤Ë¤·¤Þ¡¼¤¹¡£ >¹ÓÌÚ¤µ¤ó >ʪ¹¥¤¤Ê¤ó¤Ç²áµî¥í¥°Äº¤¤Þ¤·¤¿¡£ ¤É¤¦¤¾¤É¤¦¤¾¡£ ¤Ç¤â¤¢¤Þ¤êÌò¤ËΩ¤¿¤Ê¤¤¤«¤â.... >¤Ê¤Ë¤«ÌÌÇò¤¤¥Í¥¿¤òõ¤·¤Æ¤¿¤ê¤·¤Þ¤¹¡£ Ëͤϡ¢ÊÙ¶¯¤¬¤Æ¤é¤ËPerl¤Î¥â¥¸¥å¡¼¥ë ¤È¤«ºî¤í¤¦¤«¤È¡£¡¡¡¡¡ÄŪ³°¤ì¤Ê¥ì¥¹¤«¤â¤·¤ì¤Ê¤¤¡£ |
µ¢¾ÊÀ褫¤é¤³¤ó¤Ë¤Á¤Ï¡£ > ¤¢¤È¡¢¥Ö¥é¥¦¥¶¤¬Á÷¤ë¥Ø¥Ã¥À¤òÁ´Éô¸«¤ë¤Ë¤Ïtcpdump¤Ê¤É¤ò > »È¤¦¤·¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© tcpdump ¤Î¾¤Ë¤â sniffit ¤ä ethereal ¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£ ¤Þ¤¿¡¢¥ê¥¯¥¨¥¹¥È¤òɽ¼¨¤¹¤ë¤è¤¦¤Ê´Êñ¤Ê http proxy ¤òºî¤Ã¤Æ¡¢ ¥í¡¼¥«¥ë¤ÇÆ°¤«¤·¤Æ¤ª¤¤¤Æ¡¢¤½¤³·Ðͳ(http://localhost:8080 ¤È¤«) ¤Ç¥Ö¥é¥¦¥º¤¹¤ë¤Î¤â¤ª¼ê·Ú¤Ç¤·¤ç¤¦¡£ > ¥µ¥Ö¥Ç¥£¥ì¥¯¥È¥ê°Ê²¼¤Î¥Õ¥¡¥¤¥ë¤ä¥Ç¥£¥ì¥¯¥È¥ê¤ò > ¤¹¤Ù¤Æ°ì²ó¤Ç¥Õ¥í¥Ã¥Ô¡¼¥Ç¥£¥¹¥¯¤Ë¥³¥Ô¡¼ cp -R ¤Ç¤â¤¤¤¤¤Ç¤¹¤·¡¢ cd target-dir; tar zcvf /floppy/archive.tgz . ¤È¤¤¤¦¤Î¤â¤¢¤ê¤Þ¤¹¡£¤¢¤È mtools ¤ò»È¤¦¼ê¤â¡£ > FreeBSD¤ÎÊý¤Ï FreeBSDÅ°ÄìÆþÌç¤Ë¤·¤è¤¦¤«¤Ê¤È ¤½¤ì¤Ê¤ê¤ÎËܤÀ¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢¸Å¤¤(2.2.1R)¤Î¤Ç ¤¢¤Þ¤ê¤ª´«¤á¤Ï¤·¤Þ¤»¤ó¡£ # ºÇ¶á¤Ï¥¤¥ó¥¹¥È¡¼¥ëËܤòÇã¤Ã¤Æ¤Ê¤¤¤Î¤Ç¡¢ # ²¿¤¬¤è¤¤¤Î¤«ÃΤé¤Ê¤¤¤ó¤Ç¤¹¤è¤Í¡£ > ¤½¤â¤½¤âHTTP_REFERER¾ðÊó¤Ã¤Æ¡¢¥Ö¥é¥¦¥¶¤¬»ý¤Ã¤Æ¤¤¤ë¤Î > ¤Ç¤·¤ç¤¦¤«¡© CGI ¦¤«¤é»²¾È¤Ç¤¤ë´Ä¶ÊÑ¿ô¤Ç¡¢Æ¬¤Ë HTTP_ ¤¬¤Ä¤¯¤â¤Î¤Ï Á´¤Æ¥Ö¥é¥¦¥¶¤ä proxy ¥µ¡¼¥Ð¤¬Ãͤò·è¤á¤Æ¤¤¤Þ¤¹¡£ |
>»Ï¤á¤Æ¤ÎPerl ¤òÇã¤Ã¤Æ¤·¤Þ¤Ã¤¿¤è¤¦¤Ç¤¹:-) Yuuki¤µ¤ó¡¢Ëͤξì¹ç¤Ï¡¢¡Ö½é¤á¤Æ¤ÎPerl¡×¤òÇ㤤¤Ë¹Ô¤Ã¤Æ¡¢ ¡Ö¥×¥í¥°¥é¥ß¥ó¥°Perl¡×¤·¤«¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢Ãíʸ¤·¤Æ Ç㤤¤Þ¤·¤¿¡£ ËͤΥì¥Ù¥ë¤ËÃúÅ٥ޥåÁ¤·¤Æ¡¢Æɤ߱þ¤¨½½Ê¬¡Ê¾Ð¡Ë ̤¤À¤ËWIN¤«¤é椹¤ë»ö¤¬¤Ç¤¤Ê¤¤SAITO¤Ç¤·¤¿¡£ |
»Å»öÃæ¤Ë¤è¤¯UNIX¤ÎÉô²°¤òÍøÍѤµ¤»¤Æ夤¤Æ¤Þ¤¹¡£ ¤µ¤Ã¤½¤¯¡¢¶µ¤¨¤Æ夤¿¤¤¤Î¤Ç¤¹¤¬¡¢ UNIX¥³¥Þ¥ó¥É¤Ç¥æ¡¼¥¶¡¼ID̾¤È¥°¥ë¡¼¥×̾¤òÊѤ¨¤ë»ö¤Ï½ÐÍè¤Þ¤¹¤«¡© ¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ |
> ¥æ¡¼¥¶¡¼ID̾¤È¥°¥ë¡¼¥×̾¤òÊѤ¨¤ë root ¤Ë¤Ê¤Ã¤Æ /etc/passwd ¤¢¤¿¤ê¤òÊÔ½¸¤·¤Þ¤¹¡£FreeBSD ¤Ê¤é vipw ¥³¥Þ¥ó¥É¤Ç½ñ¤´¹¤¨¤ì¤Ð¤¤¤¤¤Ç¤·¤ç¤¦¡£group ¤Ï /etc/group ¤Ç¡£ |
¤É¤¦¤â¡¢skeleton_M.¤Ç¤¹¡£¤³¤Î¥Û¡¼¥à¥Ú¡¼¥¸¤ò¤¤¤Ä¤â¸«¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤Þ¤¹¡£ > > ¤¢¤È¡¢¥Ö¥é¥¦¥¶¤¬Á÷¤ë¥Ø¥Ã¥À¤òÁ´Éô¸«¤ë¤Ë¤Ïtcpdump¤Ê¤É¤ò > > »È¤¦¤·¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡© > tcpdump ¤Î¾¤Ë¤â sniffit ¤ä ethereal ¤Ê¤É¤¬¤¢¤ê¤Þ¤¹¡£ ¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£µ¡²ñ¤¬¤¢¤ì¤Ð»î¤·¤Æ¤ß¤è¤¦¤È»×¤¤¤Þ¤¹¡£ > ¤Þ¤¿¡¢¥ê¥¯¥¨¥¹¥È¤òɽ¼¨¤¹¤ë¤è¤¦¤Ê´Êñ¤Ê http proxy ¤òºî¤Ã¤Æ¡¢ > ¥í¡¼¥«¥ë¤ÇÆ°¤«¤·¤Æ¤ª¤¤¤Æ¡¢¤½¤³·Ðͳ(http://localhost:8080 ¤È¤«) > ¤Ç¥Ö¥é¥¦¥º¤¹¤ë¤Î¤â¤ª¼ê·Ú¤Ç¤·¤ç¤¦¡£ ¤¦¡¼¤ó¡¢»ä¤Ï¤Þ¤À¤½¤³¤Þ¤Ç¤Ç¤¤ë¥ì¥Ù¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó(^^; ½¤¹Ô¤»¤Í¤Ð |
£Ã¥·¥§¥ë¤Ç¿¼¡¸µÇÛÎó¤Îµ½ÒÊýË¡¤¬¤¢¤ì¤Ð¶µ¤¨¤Æ²¼¤µ¤¤¡£¡Ê¤¢¤ë¤ó¤Ç¤¹¤«¡©¡Ë(*_*)¡¿ |
> ¤¦¡¼¤ó¡¢»ä¤Ï¤Þ¤À¤½¤³¤Þ¤Ç¤Ç¤¤ë¥ì¥Ù¥ë¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó(^^; port 8080 ¤ò bind ¤¹¤ë¥µ¡¼¥Ð¥×¥í¥°¥é¥à¤òºî¤Ã¤Æ¡¢ ¥Ö¥é¥¦¥¶¤Î proxy ¤ò localhost:8080 ¤ËÀßÄꤹ¤ì¤Ð¡¢ ¥ê¥¯¥¨¥¹¥È¤ò½Ð¤¹¤¿¤Ó¤Ë GET http://foo/bar HTTP/1.0 ... ¤È¤¤¤¦¥ê¥¯¥¨¥¹¥È¤¬¤¯¤ë¤Î¤Ç¡¢¤½¤ì¤ò (ɸ½à½ÐÎϤË) ɽ¼¨¤¹¤ì¤Ð ¥Ö¥é¥¦¥¶¤Î¥ê¥¯¥¨¥¹¥ÈÆâÍƤ¬¤ï¤«¤ë¤Ç¤·¤ç¤¦¡£ ¥ê¥¯¥¨¥¹¥ÈÆâÍƤòɽ¼¨¤¹¤ë¤À¤±¤Ê¤é¤½¤ì¤Ç OK ¤Ç¤¹¤¬¡¢ ¤½¤ì¤ò¾¤Î¥Û¥¹¥È¤ËÃæ·Ñ¤·¤Æ¤ä¤ë¤È proxy ¥µ¡¼¥Ð¤Î¤Ç¤¤¢¤¬¤ê¡£ > £Ã¥·¥§¥ë¤Ç¿¼¡¸µÇÛÎó¤Îµ½ÒÊýË¡ ¤Ç¤¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£eval »È¤Ã¤¿¤ê¾®ºÙ¹©¤¹¤ì¤Ð̵Íý¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤±¤É¡¢ perl ¤ä awk ¤Ç¤ä¤ëÊý¤¬Áᤤ¤È»×¤¦¡£ |
UNIX¤Ç¥Ç¥£¥ì¥¯¥È¥ê¤ä¥Õ¥¡¥¤¥ë¤ò¥¢¡¼¥«¥¤¥Ð¤·¤Æ°µ½Ì¤·¤ÆFD¤Ë°Ü¤·¤ÆWindows98¤ÇŸ³«¤¹¤ë¤³¤È¤Ï½ÐÍè¤ë¤Î¤Ç¤¹¤«¡£ tar(*.tar,*.tar.gz,*.tgz),LHA¡¦LZH(*.lzh), ZIP(*.zip)·Á¼°¤Î¥¢¡¼¥«¥¤¥Ð,gzip(*.gz)·Á¼°¤Î°µ½Ì,¤¹¤Ù¤Æ½ÐÍè¤ë¤Î¤Ç¤¹¤«¡£ ¤Þ¤¿UNIX¤ÇWindowsÍѤΠ*.exe ¤Ê¤É¤Î¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¥Õ¥¡¥¤¥ë¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤ÆFD¤Ë°Ü¤·¤ÆWindows98¤Ç¼Â¹Ô¤¹¤ë¤³¤È¤Ï½ÐÍè¤Þ¤¹¤«¡£ Windows¥æ¡¼¥¶¡¼¤È¤Î¥Ç¡¼¥¿¤Î¸ò´¹¤Î»²¹Í¤Î¤¿¤á¤Ë¶µ¤¨¤Æ²¼¤µ¤¤¡£ |
¤¿¤À¤Î¥Õ¥¡¥¤¥ëžÁ÷¤Ê¤Î¤Ç¡¢Á´¤Æ²Äǽ¤Ç¤¹¡£¥¢¡¼¥«¥¤¥Ö¤¬Æɤá¤ë¤«¤É¤¦¤«¤Ï Windows ¦¤Ë¤½¤Î·Á¼°¤ò°·¤¨¤ë¥¢¡¼¥«¥¤¥Ð¤¬¤¢¤ë¤«¤É¤¦¤«¤Ç¤¹¤¬¡¢ tar/gzip/LHA/LZH/ZIP Á´¤Æ·¤Ã¤Æ¤¤¤ë¤Ç¤·¤ç¤¦¡£ ¤½¤ì°ÊÁ°¤Ë¡¢¼ÁÌä¤ËÂФ¹¤ëÅú¤¨¤ò¤â¤é¤Ã¤¿¤Î¤Ë (¥Ç¥£¥ì¥¯¥È¥ê°ì³ç¥³¥Ô¡¼¤Î·ï)¡¢ ¤ï¤«¤Ã¤¿¤Î¤«¤ï¤«¤é¤Ê¤«¤Ã¤¿¤Î¤«ÊÖÅú¤¹¤ëµ¤¤¬¤Ê¤¤¤Ê¤é¡¢ºÇ½é¤«¤é¼ÁÌ䤷¤Ê¤¤¤Ç²¼¤µ¤¤¡£ |
¤è¤¯Ê¬¤«¤ê¤Þ¤·¤¿¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£ |
¤É¤¦¤â¡¢skeleton_M.¤Ç¤¹¡£ > port 8080 ¤ò bind ¤¹¤ë¥µ¡¼¥Ð¥×¥í¥°¥é¥à¤òºî¤Ã¤Æ¡¢ ¤¹¤Ç¤Ë¤³¤Î»þÅÀ¤Ç¥Ñ¥Ë¥¯¤Ã¤Æ¤Þ¤¹(^^; ºî¤êÊý¤¬Ê¬¤«¤é¤Ê¤¤¤·¡Ê»²¹Í¤Ë¤Ê¤ë¥Ú¡¼¥¸¤¬¤¢¤ì¤Ð¾Ò²ð¤·¤Æ¤¤¤¿¤À¤±¤Þ¤¹¤«¡©¡Ë¡¢ ¤¢¤È¡¢ºî¤ì¤ë´Ä¶¤Ë¤¢¤ë¤«¤É¤¦¤«¤âʬ¤«¤ê¤Þ¤»¤ó¡ÊÂç³Ø¤Î¶µ°é·Ï¤Ç¤¹¤«¤é¤Í¡Ë¡£ > ¥Ö¥é¥¦¥¶¤Î proxy ¤ò localhost:8080 ¤ËÀßÄꤹ¤ì¤Ð¡¢ telnet¤Ç¤½¤Î¥µ¡¼¥Ð¡¼¤Î8080¤Ë¥¢¥¯¥»¥¹¤·¤Æ¡Ä¤Ã¤Æ¤¤¤¦¤Î¤â¥¢¥ê¤Ç¤¹¤«¡© ¡ô»ä¤Ïtelnet¤äftp¤Î»È¤¤Êý¤òΩ¤ÁÆɤߤÇÃΤä¿¥¯¥Á¤Ç¤¹¤Î¤Ç¡¢Åª³°¤ì¤Ç¤·¤¿¤é ¡ô¤´¤á¤ó¤Ê¤µ¤¤ m(__)m HTTP¤Î¸¶Íý¤ä¥×¥í¥È¥³¥ë¤Î¥Ø¥Ã¥ÀÆâÍÆ¡¢HTTP_REFER¤Ê¤É¤Î´Ä¶ÊÑ¿ô¤Ë´Ø¤¹¤ëÀâ ÌÀ¤Ê¤É¤Ë¤Ä¤¤¤Æ½ñ¤«¤ì¤Æ¤¤¤ë½ñÀÒ¤ò¤´Â¸¤¸¤Ç¤·¤¿¤é¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Þ¤¹¤«¡©¤½ ¤ì¤òÆɤó¤Ç¤«¤é¤Ç¤Ê¤¤¤È¤»¤Ã¤«¤¯¤Î¥¢¥É¥Ð¥¤¥¹¤¬¡Ö¥Í¥³¤Ë¾®È½¡×¾õÂÖ¡Ä(*_*) |
> ¤½¤ì¤Ê¤ê¤ÎËܤÀ¤È¤Ï»×¤¤¤Þ¤¹¤¬¡¢¸Å¤¤(2.2.1R)¤Î¤Ç > ¤¢¤Þ¤ê¤ª´«¤á¤Ï¤·¤Þ¤»¤ó¡£ ËÜÅö¤À¡¢¸Å¤¤¤ó¤Ç¤¹¤Í¡£(^^;;; (http://www.jp.FreeBSD.org/www.FreeBSD.org/ja/releases/) 2.x¤è¤ê3.x¤Î¤Û¤¦¤¬¿·¤·¤¤¤«¤é¤¤¤¤¤Î¤«¤¡¡¢¡¢¡¢ ¤¦¡¼¤ó¡£:-) ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡©¡¢¡¢¤È¤«Ê¹¤¤¤Æ¤ë¤è¤ê ¤³¤¦Çº¤ó¤Ç¤ë¤è¤ê¤È¤Ã¤È¤ÈËÜÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤¹¤è¤Í¡© |
²¼¤ÎÅê¹Æ¤Ë´Ö°ã¤¤¤¬¤¢¤ê¤Þ¤·¤¿:-) > ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡©¡¢¡¢¤È¤«Ê¹¤¤¤Æ¤ë¤è¤ê > ¤³¤¦Çº¤ó¤Ç¤ë¤è¤ê¤È¤Ã¤È¤ÈËÜÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤¹¤è¤Í¡© ¤Ï > ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡©¡¢¡¢¤È¤«Ê¹¤¤¤Æ¤ë¤è¤ê > ¤È¤Ã¤È¤ÈËÜÇã¤Ã¤Æ¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ß¤¿¤Û¤¦¤¬¤¤¤¤¤Ç¤¹¤è¤Í¡© ¤Ç¤¹¡£¤¹¤ß¤Þ¤»¤ó¡£ |
µ×¤·¤Ö¤ê¤ËFreeBSD¤Î¸ø¼°¥µ¥¤¥È¤òÇÁ¤¤¤Æ¸«¤Þ¤·¤¿¡£3.X·Ï¤â3.4R¤Þ¤Ç½Ð¤Æ¤¿¤ó¤Ç¤¹¤Í¤§¡£ ¤Ç¤â»ä¡¤2.x¤È3.x¤Î°ã¤¤¤¬¤¢¤Þ¤ê¤ï¤«¤Ã¤Æ¤Þ¤»¤ó(^^;) 3.0¤«¤éDOS¤ÎFat32¤¬¥Þ¥¦¥ó¥È¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤¯¤é¤¤¤·¤«ÃΤé¤Ê¤¤¡£ ¾ðÊó¸Å¤¹¤®?¡© ISO¥¤¥á¡¼¥¸¤Ç¤Î¥ê¥ê¡¼¥¹¤â¹Ô¤ï¤ì¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤È¤Ï¡£²óÀþ¤ÎÁᤤ¿Í¤Ë¤ÏÊØÍø¤Ç¤¹¤Í¡£ ¤½¤ì¤«¤é³¤³°¤ÎPerl¤Ë´Ø¤¹¤ë¥µ¥¤¥È¤â¥¦¥í¥Á¥ç¥í¤·¤Æ¤¤Þ¤·¤¿¡£ ¤Ê¤ó¤ÈPerl2exe¤Ê¤ó¤Æ¤¤¤¦Win32¤Î¥Ð¥¤¥Ê¥ê¥È¥é¥ó¥µ¡¼¤¬¤¢¤ë¤ó¤Ç¤¹¤Í¡£ ¤¦¤ì¤·¤¯¤Ê¤Ã¤Æ¡¤¤¤¤í¤¤¤íÊÑ´¹¤·¤Æ¤ß¤Þ¤·¤¿¡£ ¤³¤³¤Ç¸ø³«¤µ¤ì¤Æ¤¤¤ë¤â¤Î¤Ê¤É¤ÏÌäÂê¤Ê¤¯Æ°ºî¤·¤Þ¤·¤¿¡£ ¤³¤¦¤Ê¤ë¤ÈPerl¤ÇGUI¤Ê¤ó¤Æ¤Î¤â¹Í¤¨¤Æ¤·¤Þ¤¤¤Þ¤¹¡£ ²Ë¤Ä¤Ö¤·¤ËPerl/Tk¤Ç¤âÊÙ¶¯¤·¤Æ¤ß¤è¤¦¤«¤Ê(^o^) |
°Ê²¼¤Î¤è¤¦¤Ê¥¹¥¯¥ê¥×¥È¤ò¥í¡¼¥«¥ë¤Ç¼Â¹Ô¤·¤Æ¡¢¥Ö¥é¥¦¥¶¤Î proxy ¤ò localhost:8080 ¤Ë¤¹¤ì¤Ð¡¢¥ê¥¯¥¨¥¹¥ÈÆâÍƤÀ¤±¤Ï¸«¤é¤ì¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£ ¤Á¤ã¤ó¤È¥ê¥¯¥¨¥¹¥È¤òÃæ·Ñ¤·¡¢Ê֤äƤ¯¤ë¥Ç¡¼¥¿¤ò¥Ö¥é¥¦¥¶¤Ë ¼õ¤±ÅϤ¹¤è¤¦¤Ë¤¹¤ì¤Ð¡¢´Ê°× proxy ¥µ¡¼¥Ð¤Ë¤Ê¤ê¤Þ¤¹¡£ # ¿ô¹Ô¤ÎÄɲäǤǤ¤ë¤Ç¤·¤ç¤¦¡£ #!/usr/local/bin/perl use Socket; $port = 8080; socket(CLIENT_WAITING,PF_INET,SOCK_STREAM,0) || die; setsockopt(CLIENT_WAITING,SOL_SOCKET,SO_REUSEADDR,1) || die; bind(CLIENT_WAITING,sockaddr_in($port,INADDR_ANY)) || die; listen(CLIENT_WAITING,SOMAXCONN) || die; while (1){ accept(CLIENT,CLIENT_WAITING); while (<CLIENT>){ s/[\r\n]+$//; print "$_\n"; if ( $_ eq "" ){ last } } close(CLIENT); } > »²¹Í¤Ë¤Ê¤ë¥Ú¡¼¥¸¤¬¤¢¤ì¤Ð¾Ò²ð¤·¤Æ¤¤¤¿¤À¤±¤Þ¤¹¤«¡© ¤³¤Á¤é¤Ê¤É :-) http://X68000.startshop.co.jp/~68user/net/ > ²Ë¤Ä¤Ö¤·¤ËPerl/Tk¤Ç¤âÊÙ¶¯¤·¤Æ¤ß¤è¤¦¤«¤Ê(^o^) - °Õ³°¤ÈºÙ¤«¤¤ÀßÄ꤬¤Ç¤¤Ê¤¤ - ¤Á¤ç¤Ã¤È½Å¤¤ (perl/Tk ¤Ç3D¥¨¥ó¥¸¥óºî¤í¤¦¤È¤¹¤ë¤Î¤¬´Ö°ã¤Ã¤Æ¤ë¤ó¤Ç¤¹¤±¤É) - (ºÇ¿·ÈǤÏ) ÆüËܸ줬½Ð¤Ê¤¤¤Î¤¬¸·¤·¤¤ - ¤ß¤ó¤Ê Qt ¤ä Gtk ¤Ë¹Ô¤Ã¤Á¤ã¤Ã¤Æ¡¢¥É¥¥å¥á¥ó¥È¤ä¥Î¥¦¥Ï¥¦¤¬Æþ¼ê¤·¤Ë¤¯¤¤ ¤È¤¤¤¦¤Î¤¬Ëͤδ¶ÁۤǤ¹¡£´Êñ¤Ê GUI ¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òºî¤ë¤¯¤é¤¤¤Ê¤é ·ë¹½»È¤¨¤ë¤ó¤Ç¤¹¤¬¤Í¤§¡£ > 3.0¤«¤éDOS¤ÎFat32¤¬¥Þ¥¦¥ó¥È¤Ç¤¤ë¤è¤¦¤Ë¤Ê¤Ã¤¿¤¯¤é¤¤¤·¤«ÃΤé¤Ê¤¤¡£ ¥«¡¼¥Í¥ë¤Þ¤ï¤ê¤ÏÂ礤ÊÊѹ¹¤¬¤¢¤ê¤Þ¤·¤¿¤¬¡¢¥æ¡¼¥¶¥é¥ó¥É¤Ç¤Ï ¤¢¤Þ¤ê°ã¤¤¤Ï¤Ê¤¤¤Ç¤¹¡£ËͤΤ褦¤Ê¥é¥¤¥È¥æ¡¼¥¶¤Ë¤Ï¡¢ºÇ¿·¤Î ports/packages ¤¬»È¤¨¤ë¤È¤¤¤¦¤¯¤é¤¤¤·¤«¡¢Ä¾ÀÜŪ¤Ê¥á¥ê¥Ã¥È¤Ï ¤Ê¤¤¤Ç¤¹¤«¤Í¡£ > ¤É¤Î¥Ð¡¼¥¸¥ç¥ó¤¬¤ª¤¹¤¹¤á¤Ç¤¹¤«¡¢¡¢¡© ¤¿¤Àµ¡Ç½±¾¡¹¤è¤ê¡¢Î㤨¤Ð ML ¤Ç¼ÁÌ䤷¤Æ¤â¡¢2.2.1 ¤Î¤è¤¦¤Ê¸Å¤¤ ¥Ð¡¼¥¸¥ç¥ó¤À¤È»ÈÍѤ·¤Æ¤¤¤ë¿Í¤¬¾¯¤Ê¤¤¤Î¤Ç¡¢²óÅú¤¬¤â¤é¤¤¤Ë¤¯¤¤ ¤È¤¤¤¦¥Ç¥á¥ê¥Ã¥È¤¬¤¢¤ê¤Þ¤¹¡£ ¤Ç¤â¤Þ¤¡¡¢3.1/3.2/3.3 ¤¬¤Ä¤¤¤Æ¤¯¤ë¥¤¥ó¥¹¥È¡¼¥ëËܤòÇã¤Ã¤Æ¡¢ UNIX USER ÉÕÏ¿¤Î CD-ROM ¤«¤é 3.4R ¤òÆþ¤ì¤Æ¤â¹½¤ï¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£ |
¤É¤¦¤â¡¢skeleton_M.¤Ç¤¹¡£ ¥¹¥¯¥ê¥×¥È¤Î¥µ¥ó¥×¥ë¤ò¸«¤»¤Æ¤¯¤ì¤Æ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹ ¡ä 68userÍÍ FreeBSD(98)¤Î¡ÖÈó¸ø¼°¡×¥Ú¡¼¥¸¤«¤é¡¢¥ê¥ó¥¯¤òé¤Ã¤Æ http://www.jp.freebsd.org/ ¤Ë¥¢¥¯¥»¥¹¤·¤¿¤È¤¤Î¥ê¥¯¥¨¥¹¥ÈÆâÍƤò¸«¤ë¤³¤È¤¬¤Ç¤¤Þ¤·¤¿¡À(^^)¡¿ °Ê²¼¤Î¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¤Ç¤¹¡§ GET http://www.jp.freebsd.org/ HTTP/1.0 Referer: http://www.nisoc.or.jp/~karl/freebsd-pc98/ Proxy-Connection: Keep-Alive User-Agent: Mozilla/4.03 [en] (X11; I; SunOS 5.6 sun4u) Host: www.jp.freebsd.org Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */* Accept-Language: ja Accept-Charset: iso-8859-1,*,utf-8 ¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£perl¤ÏÁ´¤¯ÃΤé¤Ê¤¤¤Î¤Ç¡¢¤³¤ì¤«¤éÊÙ¶¯ ¤·¤è¤¦¤«¤Ê¤È»×¤Ã¤Æ¤Þ¤¹¡£ ¤Ç¤Ï¤Ç¤Ï(^^)¡¿~~~ |
¥Æ¥¹¥Æ¥¹¡£È¾³Ñ¥«¥Ê¤È¤«¡¢cookie ¤È¤«¡¢cache ¤È¤«¡¦Last-Modified ¥Ø¥Ã¥À¤Ê¤É¤ËÂбþ¡£ ÀäÂХХ°¤Ï¤¢¤ë¤Ï¤º¡£ |
¤Ï¤¸¤á¤Þ¤·¤Æ!! ¤¹¤´¤¤¤Ç¤¹¡¢68user¤µ¤ó¡£¤¤¤í¤¤¤íÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤¹¡£ ¤¸¤Ä¤Ï¡¢¤¤¤Þ¡¢VC++¤Ç¡¢HTTP¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à¤òHttp1.1¤Ç ½ñ¤¤¤Æ¤ë¤Î¤Ç¤¹¤±¤É¡¢Transfer-Encoding: chunked ¤ÇÁ÷¤é¤ì¤Æ¤¯¤ë¥Ü¥Ç¥£¤Î¥Ç¥³¡¼¥ÉÊýË¡¤¬¤ï¤«¤ó¤Ê¤¯¤Æº¤¤Ã¤Æ¤Þ¤¹¡£ ¤â¤·¡¢¤´Â¸ÃΤǤ·¤¿¤é¡¢¤¹¤³¤·¥¢¥É¥Ð¥¤¥¹¤ò¤¤¤¿¤À¤¤¿¤¤¤Î¤Ç¤¹¡£ ¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£ |
¤³¤Î´Ö¤Ï¡¢¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£ ¤ªÊ¢¤¬¶õ¤¤¤¿¤Î¤Ç¡¢cookie¤Ç¤â¤¤¤¿¤À¤¤Ë¤¤Þ¤·¤¿¡¦¡¦¡¦ mail¤Èurl¤Ï¥À¥ß¡¼¤Î¤òÆþ¤ì¤Æ¤ß¤Þ¤¹¡£ |
cookie¤ò¤ª¤¤¤·¤¯Äº¤¤Þ¤·¤¿¡£ ¤´Êó¹ð¤Þ¤Ç¡£ ¢¨¡¡¥³¥ì¥é¥ÎÅê¹Æ¡¢ÌäÂꥫ¡«¥¢¥ê¥Þ¥·¥¿¥é¡¢ºï½ü¥·¥Æ¥¤¥¿¥¿¡«¥¤¥Æ¥â·ë¹½¥Æ¡«¥¹¡£ |
·Ç¼¨ÈĤ¬¥Ñ¥ï¡¼¥¢¥Ã¥×¤·¤Þ¤·¤¿¤Í¡£ º£¡¢Åê¹Æ¤¹¤ë»þ¤Ë ¤Ø¤Ë¤«¤µ¤ó¤Î¥¯¥Ã¥¡¼¤ò¿©¤Ù¤Á¤ã¤Ã¤Æ¤ë¤ß¤¿¤¤¤Ê¤ó¤Ç¤¹¤¬¡¢¤Ê¤ó¤Ç¤À¤í¤¦¡© ̾Á°:¤Ø¤Ë¤« Email:test@test.test URL:http://www.infoseek.co.jp/ ¤ÈÆþ¤Ã¤Æ¤Þ¤·¤¿¡£ > ¤Ç¤â¤Þ¤¡¡¢3.1/3.2/3.3 ¤¬¤Ä¤¤¤Æ¤¯¤ë¥¤¥ó¥¹¥È¡¼¥ëËܤòÇã¤Ã¤Æ¡¢ > UNIX USER ÉÕÏ¿¤Î CD-ROM ¤«¤é 3.4R ¤òÆþ¤ì¤Æ¤â¹½¤ï¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£ UNIX USER 12·î¹æ¤ËFreeBSD3.3R¤¬¤Ä¤¤¤Æ¤ë¤Î¤Ç¤³¤¤¤Ä¤òÃíʸ¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡£ (http://www.softbank.co.jp/~unixuser/index/1999/9912.html) 3.xÉդΥ¤¥ó¥¹¥È¡¼¥ëËܤäÆ2.x¤Î¤è¤ê¾¯¤Ê¤«¤Ã¤¿¤Ç¤¹¡£ ¿·¤·¤¤¤«¤é¿¤¤¤«¤È»×¤Ã¤¿¤Î¤Ë¡¢Í½ÁÛ³°:-) |
¤¦¡¼¤ó¡¢cookie¤ÈȾ³Ñ¥«¥Ê°Ê³°¤Î²þ¤ÅÀ¤¬Ê¬¤«¤é¤Ê¤¤¤Ê¤¡(^¢À^; ¥Ï¥ó¥É¥ë¤ÎÁ°¤Î¡û¤Î¥ê¥ó¥¯¤Ï²¿¤À¤í¤¦¢é¡© Ê¿À®(12)ǯI·îúÀúÇÆü |
>¢®¢® ¤Ï¡¢i ¤È viii ¤Î¤Ä¤â¤ê¤Ç¤·¤¿¡£ |
> UNIX USER 12·î¹æ¤ËFreeBSD3.3R¤¬¤Ä¤¤¤Æ¤ë¤Î¤Ç¤³¤¤¤Ä¤òÃíʸ¤¹¤ë¤³¤È¤Ë¤·¤Þ¤·¤¿¡£ UNIX USER 2000ǯ£³·î¹æ¤Ë¤ÏFreeBSD 3.4¤¬¼ýϿͽÄê¤À¤È»×¤¤¤Þ¤¹ :-) |
> Transfer-Encoding: chunked Á´Á³¤ï¤«¤ê¤Þ¤»¤ó¡£RFC Æɤó¤Ç¤â²¿¤Î¤³¤È¤ä¤é¤µ¤Ã¤Ñ¤ê¤Ê¤ó¤Ç¡¢ ¤É¤Ê¤¿¤«¶µ¤¨¤Æ¡£ > º£¡¢Åê¹Æ¤¹¤ë»þ¤Ë ¤Ø¤Ë¤«¤µ¤ó¤Î¥¯¥Ã¥¡¼¤ò¿©¤Ù¤Á¤ã¤Ã¤Æ¤ë¤ß¤¿¤¤¤Ê¤ó¤Ç¤¹¤¬ ¤¢¤¢¡¢¤½¤¦¤Ç¤¹¤Í¡£³Î¤«¤ËÁ°¤Î¿Í¤Î¤¬Æþ¤ê¤Þ¤¹¡£¥Ð¥°¤Ç¤¹¤Í (^^; > <FONT COLOR=red>mm</FONT> ¤¢¤¢¡¢¥Ð¥°¤Ç¤¹¤Í¡£¤³¤ì¡¢Ä¾¤·¤¿¤Ä¤â¤ê¤À¤Ã¤¿¤ó¤À¤±¤É¤Ê¤¡¡£ > i ¤È viii ¤Î¤Ä¤â¤ê¤Ç¤·¤¿¡£ ¤¢¤¢¤¢¡¢¥Ð¥°¡Ä¤Ç¤¹¤«¤Í? ½ñ¤¹þ¤ó¤À i ¤Ï (SJIS ¤Ç) 0xEEEF ¤Ç¤¹¤«? ¤½¤ì¤È¤â 0xF940 ¤Ç¤¹¤«? ¤È¤³¤í¤Ç¡¢http://X68000.startshop.co.jp/~68user/tmp/knj-tut.txt ¤Î 2D30/874F ¤Î¹Ô¤Ï¡¢¤¦¤Á¤Ç¤Ï 2D30/874F ´Ý16´Ý17¡ÄI II III¡ÄVIII IX X XI(¹ÔËö) ¤È¸«¤¨¤ë¤ó¤Ç¤¹¤¬¡¢Windows ¤Ç¤âƱ¤¸¤Ç¤¹¤«? XI ¤Ê¤ó¤Æ¥Õ¥©¥ó¥È¤¢¤ê¤Þ¤¹? # ¤¦¤Á¤Î¥Õ¥©¥ó¥È¤Ïµ¡¼ï°Í¸ʸ»úÉôʬ¤òÄɲä·¤¿¤â¤Î¤Ê¤Î¤Ç¤¹¤¬¡¢ # Äɲûþ¤Ë¥ß¥¹¤Ã¤Æ¤·¤Þ¤Ã¤¿¤Î¤«¤â¤·¤ì¤Ê¤¤¡£ > ¤¦¡¼¤ó¡¢cookie¤ÈȾ³Ñ¥«¥Ê°Ê³°¤Î²þ¤ÅÀ¤¬Ê¬¤«¤é¤Ê¤¤¤Ê¤¡(^¢À^ ¥í¥°·Á¼°¤ò http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard-log/lall ¤È¤·¤Þ¤·¤¿¡£½é²ó¤Î½ÐÎÏ»þ¤Ï http://X68000.startshop.co.jp/~68user/cgi-bin/wwwboard-log/cache/ ¤Î¤è¤¦¤Ë¥¥ã¥Ã¥·¥å¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¡¢¼¡²ó¤Ï¥¿¥¤¥à¥¹¥¿¥ó¥×¤ò¤ß¤Æ¡¢ ¥¥ã¥Ã¥·¥å¤¬Í¸ú¤Ê¤é¡¢Á°²óºîÀ®¤·¤¿¥¥ã¥Ã¥·¥å¤ò Content-Length ¤È Last-Modified ¤òÉÕ¤±¤Æ½ÐÎϤ·¤Þ¤¹¡£ # ¤À¤«¤é¡¢Á°¤ÎÅê¹Æ¼Ô¤Ø¤Î FORM ÆâÍƤ¬»Ä¤Ã¤Æ¤·¤Þ¤Ã¤¿¤È¡£ |