68user's page ·Ç¼¨ÈÄ

Prev< No. 547¡Á624> Next  [ºÇ¿·È¯¸À¤ËÌá¤ë] [²áµî¥í¥°°ìÍ÷]
No. 547 # 68user 1999/11/17 (¿å) 02:43
> ºòÆü¡¢¥ê¥ó¥¯¤ò³°¤·¤Æ¤·¤Þ¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¡¢¡¢¤½¤ì¤¬¸¶°ø¤Ç¤·¤ç¤¦¤«¡£¡£¡£
¿ʬ¤³¤ì¤¬¸¶°ø¤¸¤ã¤Ê¤¤¤È¤Ï»×¤¦¤ó¤Ç¤¹¤¬¡¢¸µ¤ËÌ᤹¤Ë¤Ï
    # rm nispasswd yppasswd; ln passwd nispasswd; ln passwd yppasswd
¤Ç¤¹¡£¤Ç¡¢¤É¤¦¤¤¤¦¥¨¥é¡¼¤Ê¤Î¤«¤¤¤Þ¤¤¤ÁÄϤá¤Ê¤¤¤ó¤Ç¤¹¤¬¡¢
> ¡Öpasswd(SYSTEM): ¡û¡û¡û¡û does not exist ¥¢¥¯¥»¥¹¸¢¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Þ¤»¤ó¡£¡×
¡û¡û¡û¡û ¤Ë¤Ï²¿¤¬Æþ¤ë¤ó¤Ç¤¹¤«? ¥æ¡¼¥¶Ì¾?

¤â¤· NIS »È¤Ã¤Æ¤¿¤ê¡¢shadow ²½¤·¤Æ¤ë¤Ê¤é¡¢¸¶°ø¤òÆͤ­»ß¤á¤Å¤é¤¤¤Ç¤¹¤Í¡£
¤Þ¤ï¤ê¤Î¥µ¡¼¥Ð¤È /etc ¤Î¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ò¸«Èæ¤Ù¤Æ¤ß¤Æ¤Ï¤É¤¦¤Ç¤·¤ç¤¦¡£

# ¤³¡¼¤æ¡¼¤È¤­¤Ï truss ¤¬ÊØÍø¤Ê¤ó¤À¤±¤É¡¢suid ¥×¥í¥°¥é¥à¤Ë¤Ï
# truss »È¤¨¤Ê¤¤¤Î¤Í¡Ä¡£

> spawn·Ï¤Î´Ø¿ô¤Ï¡¢MS-DOS¤ËÆÃÍ­¤Î¤â¤Î¤Ç¤¹¡£
¤Ê¤ë¤Û¤É¡£¥é¥¯¥ÀËܤΠTCP ¥µ¡¼¥Ð¤ÎÎã¤Ç sub spawn ¤È¤¤¤¦¤Î¤¬
¤¢¤ë¤ó¤Ç¡¢C ¤Î¿·¤·¤¤´Ø¿ô¤Ç»÷¤¿¤â¤Î¤¬¤¢¤ë¤Î¤«¤È»×¤Ã¤Æ¤Þ¤·¤¿¡£

No. 548 # GAT 1999/11/17 (¿å) 18:18
»Ï¤á¤Þ¤·¤Æ¡£
¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×
Èó¾ï¤ËÌÌÇò¤«¤Ã¤¿¤Ç¤¹¡£
¤³¤ì¤«¤é¤â¤¬¤ó¤Ð¤Ã¤Æ¤¯¤À¤µ¤¤¡£¡ä68user¤µ¤ó

¤µ¤Ã¤½¤¯¼ÁÌä¤Ê¤ó¤Ç¤¹¤¬¡£
¤¦¤Á¤Ë¤¢¤ëLinux(Vine 1.1)¤ÎApache1.3.3¤Ï
CGI¤¬¡Ö¼«Ê¬ ¥°¥ë¡¼¥× ¾¿Í¡×¤Î¡Ö¾¿Í¡×¤Î¸¢¸Â¤Ç
Æ°¤¯¤ó¤Ç¤¹¡£
¤È¤³¤í¤¬CGI¤¬Â¾¿Í¤Î¸¢¸Â¤ÇÆ°¤¯¤Î¤Ï¤Þ¤º¤¤¤é¤·¤¤
¤Î¤Ç¼«Ê¬¸¢¸Â¤ÇÆ°¤¯¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ç¤¹¤¬¤É¤¦¤Î¤è¤¦¤Ë
ÀßÄê¥Õ¥¡¥¤¥ë¤ò½ñ¤­¤«¤¨¤ì¤ÐÎɤ¤¤Î¤Ç¤·¤ç¤¦¤«¡£¡£
Ä´¤Ù¤Æ¤ß¤¿½ê¡¤UserÌ¿Îá
(http://japache.infoscience.co.jp/japanese_1_3/manual/mod/core.html#user)
¤È¤«¤Ç¤ä¤ë¤ó¤Ç¤·¤ç¤¦¤«¡©

No. 549 # 68user 1999/11/17 (¿å) 18:50
> ¤³¤ì¤«¤é¤â¤¬¤ó¤Ð¤Ã¤Æ¤¯¤À¤µ¤¤¡£
¤É¤â¤É¤â¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

> CGI¤¬¡Ö¼«Ê¬ ¥°¥ë¡¼¥× ¾¿Í¡×¤Î¡Ö¾¿Í¡×¤Î¸¢¸Â¤ÇÆ°¤¯¤ó¤Ç¤¹¡£
Àµ³Î¤Ë¤Ï¡¢nobody ¸¢¸Â¤ÇÆ°¤¯¡¢¤Ç¤·¤ç¤¦¤Í¡£

> ¤È¤³¤í¤¬CGI¤¬Â¾¿Í¤Î¸¢¸Â¤ÇÆ°¤¯¤Î¤Ï¤Þ¤º¤¤¤é¤·¤¤¤Î¤Ç
¤³¤ì¤Ï´ÉÍý¼Ô¤ÎÊý¿Ë¤Ë¤è¤ê¤Þ¤¹¡£web ¤·¤«ÃÖ¤¤¤Æ¤¤¤Ê¤¤¥µ¡¼¥Ð¤Ç¤Ï
³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤«¤¹Êý¤¬°ÂÁ´¤Ç¤·¤ç¤¦¤±¤É¡¢³Ø¹»¤Î¤è¤¦¤Ë¥á¡¼¥ë¤ä
¤¤¤í¤ó¤Ê¥Ç¡¼¥¿¤¬ÃÖ¤¤¤Æ¤¢¤ë¥µ¡¼¥Ð¤Ç³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤«¤¹¤Î¤Ï
´í¸± (CGI¤Ë·ê¤¬¤¢¤ë¤È¥á¡¼¥ë¤Ê¤É¤âÁ´¤Æ¸«¤é¤ì¤Æ¤·¤Þ¤¦)¡¢
¤È¤¤¤¦¹Í¤¨Êý¤â¤¢¤ê¤Þ¤¹¡£

> Ä´¤Ù¤Æ¤ß¤¿½ê¡¤UserÌ¿Îá
¤½¤ì¤Ï¡¢Î㤨¤Ð apache ¤ò nobody ¸¢¸Â¤Ç¤Ê¤¯ www (¤È¤¤¤¦¥æ¡¼¥¶)
¤Î¸¢¸Â¤ÇÆ°¤«¤·¤¿¤¤¾ì¹ç¤Ë»È¤¤¤Þ¤¹¡£

Î㤨¤Ð locate ¤Î¥Ç¡¼¥¿¤Ê¤É¤â¡¢nobody ¸¢¸Â¤ÇºîÀ®¤µ¤ì¤ë¤Î¤Ç¡¢
ËÜÍè apache ¤Ï nobody ¸¢¸Â¤Ç¤Ê¤¯ www ¤Ê¤É¤ÎÀìÍÑ¥¢¥«¥¦¥ó¥È¤ò
ºî¤Ã¤Æ¡¢¤½¤Î¸¢¸Â¤ÇÆ°¤«¤·¤¿Êý¤¬°ÂÁ´¤Ç¤¹¡£

¤Ç¡¢·ëÏÀ¤È¤·¤Æ¤Ï
    http://japache.infoscience.co.jp/japanese_1_3/manual/suexec.html
¤ò»È¤¤¤Þ¤¹¡£¤³¤ì¤ò»È¤¦¤È CGI/SSI ¤È¤â¤Ë³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤­¤Þ¤¹¡£

Ĺ¡¹¤È¸ì¤Ã¤Æ¤ª¤¤¤Æ¥¢¥ì¤Ç¤¹¤¬¡¢ËÍ¤Ï suExec ¤òÀßÄꤷ¤¿¤³¤È¤Ï¤Ê¤¤¤Ç¤¹¡£
¾å¤Î¥ê¥ó¥¯¤Ë¤Ï¥³¥ó¥Ñ¥¤¥ë¤¬¤É¤¦¤³¤¦¤Ã¤Æ½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¤¬¡¢É¬ÍפʤΤ«¤Ê¤¡¡£
¥½¡¼¥¹»ý¤Ã¤Æ¤­¤Æ
    % ./configure --enable-suexec
¤È¤¹¤ë¤Î¤Ç¤Ï¥À¥á¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡£¤¤¤í¤¤¤í»î¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£

¤³¤ì¤È¤ÏÊ̤ˡ¢cgiwrap ¤È¤¤¤¦¤Î¤ò»È¤¦ÊýË¡¤â¤¢¤ê¤Þ¤¹¡£
    ftp://ftp.win.or.jp/pub/network/www/cgiwrap

¤³¤ì¤À¤È CGI ¤À¤±³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤­¤Þ¤¹¡£¥³¥ó¥Ñ¥¤¥ë¤·¤Æ
/usr/local/apache/cgi-bin/cgiwrap ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢
    http://localhost/cgi-bin/cgiwrap/~username/cginame.cgi
¤È¤¹¤ë¤È¡¢/~username/cginame.cgi ¤¬ username ¤Î¸¢¸Â¤ÇÆ°¤­¤Þ¤¹¡£
httpd.conf ¤Ë
    AliasMatch "^/([^/]+)/cgi-bin/(.*)$" "/cgi-bin/cgiwrap/$1/$2"
¤Ê¤É¤È½ñ¤¤¤Æ¤ª¤¯¤È¡¢/~username/cgi-bin/hoge.cgi ¤Ë¥¢¥¯¥»¥¹¤·¤¿¤À¤±¤Ç
³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤«¤¹¤³¤È¤â¤Ç¤­¤Þ¤¹¤Í¡£

¤ó¡ÁŤ¯¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤¿¡£

No. 550 # mm 1999/11/17 (¿å) 21:27
>¤Ê¤ë¤Û¤É¡£¥é¥¯¥ÀËܤΠTCP ¥µ¡¼¥Ð¤ÎÎã¤Ç sub spawn ¤È¤¤¤¦¤Î¤¬
spawn ¤Ã¤Æ¤É¤¦¤¤¤¦°ÕÌ£¤Ê¤ó¤À¤í¤¦¤È°ÊÁ°¤«¤éµ¿Ìä¤À¤Ã¤¿¤Î¤ÇÄ´¤Ù¤¿¤é¡¢
µû¤Ê¤É¤Î»ºÍñ¤È¤¤¤¦°ÕÌ£¤Ê¤Î¤Ç¤¹¤Í¡£

MS-DOS¤Î spawn ¤Ï¡¢exec(3)¤ò¿¿»÷¤¿¤â¤Î¤À¤È»×¤¤¤Þ¤¹¡£
MS-DOS¤Î¼ç¤Ê¥³¥ó¥Ñ¥¤¥é¤Ç»È¤¨¤ë¤è¤¦¤Ç¤¹¡£
exec·Ï¤Î¥é¥¤¥Ö¥é¥ê¤â¤¢¤ê¤Þ¤¹¤¬¡¢Î㤨¤ÐBorland C++¤Î¾ì¹ç
int spawnve(int mode, char *path, char *argv[], char *envp[]);
¤Ç¡¢mode ¤Ë P_WAIT ¤ò»ØÄꤹ¤ë¤È¡¢¿Æ¥×¥í¥»¥¹¤Ï¤½¤Î¤Þ¤Þ¤Ë¤·¤Æ¡¢
¶õ¤­¥á¥â¥ê¤Ç»Ò¥×¥í¥»¥¹¤ò¼Â¹Ô¤·¡¢½ªÎ»¸å¤Ë¿Æ¥×¥í¥»¥¹¤ËÀ©¸æ¤òÌᤷ¤Þ¤¹¡£
mode ¤ò P_OVERLAY ¤Ë¤¹¤ë¤È¡¢execve() ¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£

No. 551 # ¤ß¤Î¤ë 1999/11/18 (ÌÚ) 01:57
¤¤¤Ä¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£¤ß¤Î¤ë¤Ç¤¹¡£

> ¡Öpasswd(SYSTEM): ¥æ¡¼¥¶¥¢¥«¥¦¥ó¥È does not exist ¥¢¥¯¥»¥¹¸¢¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤Þ¤»¤ó¡£¡×¤Î·ï¡£

¥ê¥ó¥¯Åù¡¢¸µ¤ËÌ᤹Á°¤Ë¡¢"passwd"¥³¥Þ¥ó¥ÉÉü³è¤·¤Þ¤·¤¿¡£¸½ºß¡¢°Ê²¼¤Î¾õÂ֤Ǥ¹¡£
313666 -r-sr-sr-x 3 root 96392 Feb 24 1999 nispasswd*
313666 -r-sr-sr-x 3 root 96392 Feb 24 1999 passwd*
313666 -r-sr-sr-x 3 root 96392 Feb 24 1999 yppasswd*

¤¿¤À¡¢¸¶°ø¤Ï¤Þ¤À²ò¤ê¤Þ¤»¤ó¡£truss¤¬»È¤¨¤¿¤Î¤Ç¡¢¸«¤Æ¤ß¤Æ¤Ï¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ÉÔÌÀ¤Ç¤¹¡£
¤³¤³¤Ç¼ÁÌä¤Ê¤Î¤Ç¤¹¤¬¡¢"root"°Ê³°¤Î¥æ¡¼¥¶¤Ç¤â¡¢¥³¥Þ¥ó¥É½ñ´¹¡Ê¤â¤·¤¯¤Ï¥¢¥¯¥»¥¹¸¢ÉÕÍ¿¡Ë¤Ï
²Äǽ¤Ç¤·¤ç¤¦¤«¡©»ä¤É¤â¤Î¥µ¡¼¥Ð¥»¥­¥å¥ê¥Æ¥£¾å¤ËÌäÂ꤬¤¢¤ë¤è¤¦¤Êµ¤¤¬¤·¤Æ¤Ê¤ê¤Þ¤»¤ó¡£

No. 552 # 68user 1999/11/18 (ÌÚ) 18:32
> truss¤¬»È¤¨¤¿¤Î¤Ç
¤Ê¤ë¤Û¤É¡£root ¤Ê¤é»È¤¨¤ë¤ó¤Ç¤¹¤Í¡£

> "root"°Ê³°¤Î¥æ¡¼¥¶¤Ç¤â¡¢¥³¥Þ¥ó¥É½ñ´¹¡Ê¤â¤·¤¯¤Ï
> ¥¢¥¯¥»¥¹¸¢ÉÕÍ¿¡Ë¤Ï²Äǽ¤Ç¤·¤ç¤¦¤«¡©
root °Ê³°¤Î°ìÈ̥桼¥¶¤¬ /usr/bin/passwd ¤ò½ñ¤­´¹¤¨¤¿¤ê¡¢
¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤òÊѹ¹¤µ¤»¤ë¤³¤È¤¬¤Ç¤­¤ë¤«¡¢¤È¤¤¤¦¤³¤È¤Ç¤¹¤«?
¤â¤Á¤í¤óÉáÄ̤ÏÉÔ²Äǽ¤Ç¤¹¤¬¡¢¥»¥­¥å¥ê¥Æ¥£¥Û¡¼¥ë¤¬¤¢¤ë¾ì¹ç¤Ï
¤½¤Î¸Â¤ê¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£

¡Öpasswd ¤¬¸ú¤«¤Ê¤¯¤Ê¤Ã¤¿¡á¥¯¥é¥Ã¥¯¡×¤È¤¤¤¦¤ï¤±¤Ç¤â
¤Ê¤¤¤Î¤Ç¡¢¤·¤Ð¤é¤¯ÍͻҤò¸«¤Æ¤Ï¤É¤¦¤Ç¤·¤ç¤¦¡£

No. 553 # GAT 1999/11/19 (¶â) 02:40
>68user 1999/11/17(¿å) 18:50
>> CGI¤¬¡Ö¼«Ê¬ ¥°¥ë¡¼¥× ¾¿Í¡×¤Î¡Ö¾¿Í¡×¤Î¸¢¸Â¤ÇÆ°¤¯¤ó¤Ç¤¹¡£
>Àµ³Î¤Ë¤Ï¡¢nobody ¸¢¸Â¤ÇÆ°¤¯¡¢¤Ç¤·¤ç¤¦¤Í¡£
nobody¸¢¸Â¤È¤¤¤¦¤ó¤Ç¤¹¤«¡£¡£
ÃΤé¤Ê¤«¤Ã¤¿(^^;

>> ¤È¤³¤í¤¬CGI¤¬Â¾¿Í¤Î¸¢¸Â¤ÇÆ°¤¯¤Î¤Ï¤Þ¤º¤¤¤é¤·¤¤¤Î¤Ç
>¤³¤ì¤Ï´ÉÍý¼Ô¤ÎÊý¿Ë¤Ë¤è¤ê¤Þ¤¹¡£
¤à¤à¡¼
¤Ê¤ë¤Û¤É¡£
¥±¡¼¥¹¥Ð¥¤¥±¡¼¥¹¤È¤«¤¤¤¦¤ä¤Ä¤Ç¤¹¤«¡£

>¤Ç¡¢·ëÏÀ¤È¤·¤Æ¤Ï
>¡¡http://japache.infoscience.co.jp/japanese_1_3/manual/suexec.html
>¤ò»È¤¤¤Þ¤¹¡£¤³¤ì¤ò»È¤¦¤È CGI/SSI ¤È¤â¤Ë³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤­¤Þ¤¹¡£
>
>Ĺ¡¹¤È¸ì¤Ã¤Æ¤ª¤¤¤Æ¥¢¥ì¤Ç¤¹¤¬¡¢ËÍ¤Ï suExec ¤òÀßÄꤷ¤¿¤³¤È¤Ï¤Ê¤¤¤Ç¤¹¡£
>¾å¤Î¥ê¥ó¥¯¤Ë¤Ï¥³¥ó¥Ñ¥¤¥ë¤¬¤É¤¦¤³¤¦¤Ã¤Æ½ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¤¬¡¢É¬ÍפʤΤ«¤Ê¤¡¡£
>¥½¡¼¥¹»ý¤Ã¤Æ¤­¤Æ
>¡¡% ./configure --enable-suexec
>¤È¤¹¤ë¤Î¤Ç¤Ï¥À¥á¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡£¤¤¤í¤¤¤í»î¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£
suEXEC¡£¤³¤ì¤Ç¤¹¤«
Apache¤Î¥Ð¡¼¥¸¥ç¥ó¥¢¥Ã¥×¤È¤È¤â¤Ë»î¤·¤Æ¤ß¤Þ¤¹¡£
¾å¼ê¤¯¤¤¤Ã¤¿¤éÊó¹ð¤Ë»²¤ê¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

>¤³¤ì¤È¤ÏÊ̤ˡ¢cgiwrap ¤È¤¤¤¦¤Î¤ò»È¤¦ÊýË¡¤â¤¢¤ê¤Þ¤¹¡£
>¡¡ftp://ftp.win.or.jp/pub/network/www/cgiwrap
>
>¤³¤ì¤À¤È CGI ¤À¤±³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤­¤Þ¤¹¡£¥³¥ó¥Ñ¥¤¥ë¤·¤Æ
>/usr/local/apache/cgi-bin/cgiwrap ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¡¢
>¡¡http://localhost/cgi-bin/cgiwrap/~username/cginame.cgi
>¤È¤¹¤ë¤È¡¢/~username/cginame.cgi ¤¬ username ¤Î¸¢¸Â¤ÇÆ°¤­¤Þ¤¹¡£
>httpd.conf ¤Ë
>¡¡AliasMatch "^/([^/]+)/cgi-bin/(.*)$" "/cgi-bin/cgiwrap/$1/$2"
>¤Ê¤É¤È½ñ¤¤¤Æ¤ª¤¯¤È¡¢/~username/cgi-bin/hoge.cgi ¤Ë¥¢¥¯¥»¥¹¤·¤¿¤À¤±¤Ç
>³Æ¥æ¡¼¥¶¸¢¸Â¤ÇÆ°¤«¤¹¤³¤È¤â¤Ç¤­¤Þ¤¹¤Í¡£
suEXEC¤Î¥¤¥ó¥¹¥È¡¼¥ë¤Ë¼ºÇÔ¤·¤¿¤é¤³¤Á¤é¤â»î¤·¤Æ¤ß¤Þ¤¹¡£

No. 554 # 68user 1999/11/19 (¶â) 03:38
> http://japache.infoscience.co.jp/japanese_1_3/manual/suexec.html
¤ä¤Ã¤Ñ¤ê¤³¤ì¤Ã¤Æ¸Å¤¤¤Î¤Í¡£±Ñ¸ìÈǤÎÊý¤ò¸«¤Æ²¼¤µ¤¤¡£
    http://japache.infoscience.co.jp/apache/docs/suexec.html

¤¦¤Á¤Ç¤â apache1.3.9 ¤òÆþ¤ì¤Æ¤ß¤Þ¤·¤¿¤¬¡¢configure,make,make install ¤Ç
´Êñ¤Ë¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­ (configure¤Î¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤¿¤ê¡¢httpd.conf ¤Î
¼êľ¤·¤Ï¤·¤Þ¤·¤¿¤¬)¡¢suExec ¤â¤¦¤Þ¤¯Æ°¤­¤Þ¤·¤¿¡£

> nobody¸¢¸Â¤È¤¤¤¦¤ó¤Ç¤¹¤«¡£¡£
¤ï¤«¤Ã¤Æ¤ª¤é¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬Ç°¤Î¤¿¤á½ñ¤¤¤Æ¤ª¤­¤Þ¤¹¤È¡¢Â¾¿Í¤Î¸¢¸Â¤Ç
Æ°¤¯¤³¤È¤ò¡Önobody ¸¢¸Â¡×¤È¸Æ¤Ö¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£¼ÂºÝ¤Ë nobody ¤È¤¤¤¦
¥¢¥«¥¦¥ó¥È¤Ï¼Âºß¤·¤Æ¤ª¤ê (see /etc/passwd)¡¢¤½¤Î¸¢¸Â¤Ç httpd ¤ÏÆ°¤¤¤Æ¤¤¤ë¡¢
¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

¤Ê¤ó¤Ç nobody ¤ÇÆ°¤¯¤«¤È¤¤¤¦¤È¡¢httpd.conf ¤Ë
    User nobody
¤È½ñ¤¤¤Æ¤¢¤ë¤«¤é¤Ç¤¹¡£

No. 555 # GAT 1999/11/21 (Æü) 04:51
¤Á¤ç¤Ã¤È»þ´Ö¤¬¼è¤ì¤Ê¤¯¤Æ
ÊÖ»öÃÙ¤ì¤Þ¤·¤¿¡£(_ _)
apache1.3.9¤ÏÉáÄ̤Ë?
configure,make,make install
¤Ç¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤·¤¿¡£
suEXEC¤â̵»ö¥¤¥ó¥¹¥È¡¼¥ë¤Ç¤­¤Þ¤·¤¿¡£
CGI¤Ê¤É¤¬³Æ¥æ¡¼¥¶¡¼¸¢¸Â¤ÇÆ°¤¤¤Æ¤Þ¤·¤¿¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

>¤ï¤«¤Ã¤Æ¤ª¤é¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬Ç°¤Î¤¿¤á½ñ¤¤¤Æ¤ª¤­¤Þ¤¹¤È¡¢Â¾¿Í¤Î¸¢¸Â¤Ç
>Æ°¤¯¤³¤È¤ò¡Önobody ¸¢¸Â¡×¤È¸Æ¤Ö¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£¼ÂºÝ¤Ë nobody ¤È¤¤¤¦
>¥¢¥«¥¦¥ó¥È¤Ï¼Âºß¤·¤Æ¤ª¤ê (see /etc/passwd)¡¢¤½¤Î¸¢¸Â¤Ç httpd ¤ÏÆ°¤¤¤Æ¤¤¤ë¡¢
>¤È¤¤¤¦¤³¤È¤Ç¤¹¡£
¤¨¤§¡£¤½¤ÎÊÕ¤ÏÂç¾æÉפǤ¹¡£

No. 556 # ¶åÌ̤Ç̤äƤ륪¥ì 1999/11/21 (Æü) 14:20
¥¸¥§¥À¥¤¥Ê¥¤¥È¡¢£¹Ì̤Υ·¡¼¥¯¥ì¥Ã¥È¥¨¥ê¥¢Ã¯¤«¶µ¤¨¤Æ²¼¤µ¤¤¡£

No. 557 # ¥à¥Á¤Ê¥Á¥å¥Ü 1999/11/23 (²Ð) 23:32
¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡¢À¨¤¤¤Ç¤¹¡£ÁÇÀ²¤é¤·¤¤¤Ç¤¹¡£
»ä¤Î¤è¤¦¤Ê̵ÃΤˤǤâ¤Ç¤­¤Æ¤·¤Þ¤Ã¤Æ¤Á¤ç¤Ã¤ÈÉݤ¤¤Ç¤¹¡£
¡Ê¤Û¤È¤ó¤ÉÀڤꎤê¾õÂ֤ʤó¤Ç¤¹¤¬¡¦¡¦¡Ë
FTP¤Î¹à¤Ë¤Ä¤¤¤Æ¤Ê¤ó¤Ç¤¹¤¬
¡Ö# FTP¥µ¡¼¥Ð¤Ë¡¢»Ò¥×¥í¥»¥¹¤¬ÂԤäƤ¤¤ëIP¥¢¥É¥ì¥¹¤È¥Ý¡¼¥È¤Î¾ðÊó¤òÅϤ¹¡×
¤È¤¤¤¦¤Î¤¬¤¢¤ê¤Þ¤¹¤è¤Í¡£ftptras.pl¤Ç½é¤á¤Æ»Ò¥×¥í¥»¥¹¤Ï½Ð¤Æ¤¯¤ë¤Î¤Ç¤Ï¡£
¤½¤ì°ÊÁ°¤ÎÎ㼨¤Ë¤Ï¡Ö»Ò¥×¥í¥»¥¹¡×¤È¤¤¤¦¥³¥á¥ó¥È¤ÏɬÍ×̵¤¤¤Î¤Ç¤Ï¡£
¡Ê¤Á¤ç¤Ã¤È¤³¤³¤ÇǺ¤ó¤Ç¤·¤Þ¤Ã¤¿¤Î¤Ç¡¦¡¦¡¦¡£¡Ë

No. 558 # 68user 1999/11/23 (²Ð) 23:51
> ¤½¤ì°ÊÁ°¤ÎÎ㼨¤Ë¤Ï¡Ö»Ò¥×¥í¥»¥¹¡×¤È¤¤¤¦¥³¥á¥ó¥È¤ÏɬÍ×̵¤¤¤Î¤Ç¤Ï¡£
¤É¤â¤É¤â¡£¥ß¥¹¤Ç¤¹¤Í¡£Ä¾¤·¤Æ¤ª¤­¤Þ¤¹¡£

ºÇ½é¤Ï fork ¤·¤Ê¤¤¤È ftp ¥¯¥é¥¤¥¢¥ó¥È¤Ïºî¤ì¤Ê¤¤¤È»×¤Ã¤Æ¤Þ¤·¤¿¡£
·ë¶É¤½¤ì¤Ï¸í²ò¤À¤Ã¤¿¤Î¤Ç½ñ¤­Ä¾¤·¤¿¤Î¤Ç¤¹¤¬¡¢¥³¥á¥ó¥È¤Î½¤Àµ¤ò
˺¤ì¤Æ¤¿¤è¤¦¤Ç¤¹¡£

# ftptrans ¤Ç fork ¤·¤Æ¤ë¤Î¤â²ø¤·¤¤¡£¤Û¤ó¤È¤Ë1¥×¥í¥»¥¹¤Ç
# ¤Ç¤­¤Ê¤¤¤Î¤«¤Ê¤¡?

No. 559 # ¥à¥Á¤Ê¥Á¥å¥Ü¡¼ 1999/11/25 (ÌÚ) 00:01
¤¦¡Á¡Á¤ó¡£
¥í¡¼¥«¥ë¤Î¥Û¥¹¥È̾¤òÆÀ¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Ç¤¹¤«¡©
³«¤¤¤¿SOCKET¤«¤é¼ê¤ËÆþ¤ì¤ë°Ê³°¤ËŬÅö¤ÊÊýË¡¤Æ̵¤¤¤Ç¤¹¤«¤·¤é¤ó¡£
¥·¥§¥ë¥³¥Þ¥ó¥É¤Ï»È¤ï¤º¤Ëperl¤Î´Ø¿ô¤À¤±¤Ç¡£

RFC¤ÎÆüËܸìÌõ¤Ã¤Æ¤Û¤ó¤ÈÊØÍø¤Ç¤¹¤è¤Í¡£´¶¼Õ¤·¤Ê¤¬¤éÆɤó¤Ç¤Þ¤¹¡£
PASV¤ÎÊÖ»ö¤Æ227¤À¤±¤ß¤¿¤¤¤Ç¤¹¤Í¡£¤¢¤È¤ÏÁ´Éô¥¨¥é¡¼¤ß¤¿¤¤¡£
¤½¤ì¤È(x,x,x,x,x,x)¤Î¡Ö³ç¸Ì¡×¤¬ÉÕ¤«¤Ê¤¤¾ì¹ç¤â¤¢¤ë¤è¤¦¤Ç¤¹¤Í¡£
Àµµ¬É½¸½¤â¤à¤Ä¤«¤·¤¤¤±¤É´èÄ¥¤Ã¤Æ¤ë¤È¤³¤ª¤í¤Ç¤¹¡£

No. 560 # 68user 1999/11/25 (ÌÚ) 01:31
> ¥í¡¼¥«¥ë¤Î¥Û¥¹¥È̾¤òÆÀ¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤ÐÎɤ¤¤Ç¤¹¤«¡©
»î¤·¤Æ¤Þ¤»¤ó¤¬¡¢¤È¤ê¤¢¤¨¤º
    http://www.kt.rim.or.jp/~ksk/sock-faq/unix-socket-faq-ja-2.html#ss2.24
    http://www.kt.rim.or.jp/%7ekbk/perl5.005/perlfaq9.html#How_do_I_find_out_my_hostname_do
¤³¤³¤é¤¢¤¿¤ê¤Ç¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¤Ç¤¹¤«?

> ¤¢¤È¤ÏÁ´Éô¥¨¥é¡¼¤ß¤¿¤¤¡£
> ¤½¤ì¤È(x,x,x,x,x,x)¤Î¡Ö³ç¸Ì¡×¤¬ÉÕ¤«¤Ê¤¤¾ì¹ç¤â¤¢¤ë¤è¤¦¤Ç¤¹¤Í¡£
¤Ê¤ë¤Û¤É¡£¤È¤³¤í¤Ç¡¢¤³¡¼¤æ¡¼¤Î¤¬¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥à¤Î¥ä¤Ê
¤È¤³¤í¤Ç¤¹¤è¤Í¡£Áê¼ê¤¬¤¢¤Ã¤Æ¤Î¤â¤Î¤À¤«¤é¡Ö¤³¤ì¤ÇÀµ¤·¤¤¤«¤É¤¦¤«¡×
¡Ö´°àú¤«¤É¤¦¤«¡×¤¬¤ï¤«¤é¤Ê¤¤¤È¤¤¤¦¡£

¤¢¤È¡¢¿¿ÌÌÌܤ˺î¤Ã¤ÆÇÛÉۤǤ⤹¤ë¤Ä¤â¤ê¤Ê¤é
    http://hp.vector.co.jp/authors/VA002682/rfc1123j.htm
¤âÆɤó¤Ç²¼¤µ¤¤ (¤â¤¦Æɤó¤Ç¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬)¡£

# ¤¢¤È¡¢data-connection ¤Î peer-port ¤¬ 20(ftp-data) ¤«¤É¤¦¤«¤Î
# ¥Á¥§¥Ã¥¯¤â¤Í¡£

No. 561 # NETÊüϲ¿Í 1999/11/26 (¶â) 17:44
68USER¤µ¤ó¤ÎÃæ¤ÇºÇ¤âÆÀ°Õ¤Ê¥×¥í¥°¥é¥ß¥ó¥°¸À¸ì¤Ï¤Ê¤ó¤Ç¤¹¤«?

No. 562 # 68user 1999/11/26 (¶â) 22:24
elisp ¤Ç¤¹¡£

¡Ä¥¦¥½¤Ç¤¹¡£perl ¤« C ¤Ç¤¹¤±¤É¡¢¿Í¤Ë¸Ø¤ì¤ë¤Û¤É¤Î
¥ì¥Ù¥ë¤¸¤ã¤Ê¤¤¤Ç¤¹¡£Àº¿Ê¤»¤Í¤Ð¡£

No. 563 # ¥à¥Á¤Ê¥Á¥å¥Ü¡Á 1999/11/28 (Æü) 00:50
¿§¡¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

> 227¤À¤±¤ß¤¿¤¤
¤¿¤·¤«¤Ë°ìÈÖ¾å¤Î·å¤À¤±¸«¤í¤Ã¤ÆRFC¤Ë½ñ¤¤¤Æ¤¢¤ê¤Þ¤·¤¿¡£

perl¤Æ²¶¤Î¤è¤¦¤Ê̵ÃΤʽ鿴¼Ô¤Ë¤âÍ¥¤·¤¤¸À¸ì¤Ç¤¹¤Í¡ª
¹½Ê¸µ¬Â§¤¬´Ë¤¤¤Ã¤Æ¤¤¤¦¤ó¤Ç¤¹¤«¡¢³ç¸Ì¤È¤«Å¬Åö¤Ç¤¤¤¤¤·¡£
¤È¤ê¤¢¤¨¤º¹½Ê¸¤È´Ø¿ô¤Î¥ê¥Õ¥¡¥ì¥ó¥¹¤µ¤¨¤¢¤ì¤Ð¤Ê¤ó¤È¤Ê¤¯
½ÐÍè¤Æ¤·¤Þ¤¦¡£¤¢¤ê¤¬¤¿¤¤¤³¤È¤Ç¤¹¡£
¤Þ¤¢¡Ä¤½¤Î¤ª¤«¤²¤«perl»È¤¤¤Ê¿Í¤â²¶¤Î¤è¤¦¤ÊÂÌÌܥѡ¼¥é¤«¤é
Ķ¥¹¥´¥¤¿Í¤Þ¤ÇÉå¤ë¤Û¤ÉÂô»³µï¤ë¤é¤·¤¯¤Æperl¤Ê¤ó¤«º£¹¹
¡Ö¿¾¯¡×»È¤¨¤Æ¤â²¿¤Î¼«Ëý¤Ë¤â¤Ê¤é¤Ê¤¤¤ß¤¿¤¤¤Ê¤ó¤Ç¤¹¤¬¡Ä¡£

¤Ç¤â¤Ç¤â¤³¤ì¤«¤é¤âperl¤ÇÍ·¤Ö¤¼¤¨¡Á¡£
¤¸¤ã¤¢¤µ¤è¤Ê¤é¤¢¡Á¡£

No. 564 # Æü¸þ 1999/11/29 (·î) 12:58
°ÊÁ°¤ËPOST¤Ë´Ø¤·¤Æ¼ÁÌ䤷¤¿¼Ô¤Ç¤¹¡£ÃÙ¤¤¥ì¥¹¤Ç¤¹¤¬¡Ä¡Ê¡°¡°¡¨
¤É¤¦¤ä¤é¡¢¥½¥±¥Ã¥È¤ËÁ÷¤ëPOST¡Á$message¤Ï¡¢
¸ÄÊ̤ËÁ÷¤Ã¤¿¾ì¹ç¡¢ÅÓÃæ¤Î\r\n¤ËHTTPD¤¬È¿±þ¤·¤Æ¤·¤Þ¤¦¤è¤¦¤Ç¤¹¡£
¤Ê¤Î¤Ç¡¢$send¤È¤«¡¢Å¬Åö¤ÊÊÑ¿ô¤ËÁ´Éô·Ò¤²¤ÆÂåÆþ¤·¡¢
print SOCKET $send;
¤È¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤è¤¦¤Ç¤¹¡£
HTTP/1.0¤ò»ØÄꤷ¡¢¹¹¤Ë¤³¤ÎÊýË¡¤Ç¤ä¤Ã¤Æ¤ß¤¿½ê¡¢POST¤¬À®¸ù¤·¤Þ¤·¤¿¡£
¤Á¤Ê¤ß¤Ë¡¢HTTP¥Ð¡¼¥¸¥ç¥ó¤ò¾Êά¤·¤¿¾ì¹ç¤Ï
HTTP/1.1¤È¤ß¤Ê¤µ¤ì¤ë¤ß¤¿¤¤¤Ç¤¹¡£¡ÊÁ´Éô¤½¤¦¤È¤Ï¸Â¤é¤Ê¤¤¡Ä¤«¤Ê¡©¡Ë

No. 565 # 68user 1999/11/29 (·î) 22:46
> HTTP¥Ð¡¼¥¸¥ç¥ó¤ò¾Êά¤·¤¿¾ì¹ç¤Ï HTTP/1.1¤È¤ß¤Ê¤µ¤ì¤ë¤ß¤¿¤¤¤Ç¤¹¡£
¾Êά¤¹¤ë¤È HTTP/0.9 ¤Ë¤Ê¤ê¤Þ¤¹¡£0.9 ¤Ç¤Ï GET °Ê³°»È¤¨¤Þ¤»¤ó¤·¡¢
¥Ø¥Ã¥À¤âÁ÷¤ì¤Þ¤»¤ó¡£Î㤨¤Ð
    GET /~foo/index.html
¤òÁ÷¤Ã¤¿»þÅÀ¤Ç¡¢¥µ¡¼¥Ð¤«¤é¥ì¥¹¥Ý¥ó¥¹¤¬Ê֤äƤ­¤Þ¤¹¡£¤Ê¤Î¤Ç¡¢

> ÅÓÃæ¤Î\r\n¤ËHTTPD¤¬È¿±þ¤·¤Æ¤·¤Þ¤¦¤è¤¦¤Ç¤¹¡£
¤³¤ì¤Ï¤½¤¦¤¤¤¦¤³¤È¤¸¤ã¤Ê¤¤¤Ç¤·¤ç¤¦¤«?

¤Ê¤ª¡¢HTTP 0.9 ¤Ç
    POST /~foo/index.html
¤Ê¤É¤È¤·¤è¤¦¤È¤¹¤ë¤È¡¢405 Method Not Allowed ¤Ë¤Ê¤ë¤Ï¤º¤Ç¤¹¡£

No. 566 # 68user 1999/11/29 (·î) 23:33
¤È¤¤¤¦¤ï¤±¤Ç¡¢
> $send¤È¤«¡¢Å¬Åö¤ÊÊÑ¿ô¤ËÁ´Éô·Ò¤²¤ÆÂåÆþ¤·¡¢
> print SOCKET $send; ¤È¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤
¤È¤¤¤¦¤³¤È¤Ï¤¢¤êÆÀ¤Ê¤¤¤È»×¤¤¤Þ¤¹¤¬¡¢°ì±þ»î¤·¤Æ¤ß¤¿¤¤¤Î¤Ç
¤è¤í¤·¤±¤ì¤Ð¤½¤Î·Ç¼¨ÈĤΠURL ¤ò¶µ¤¨¤Æ²¼¤µ¤¤¡£

No. 567 # GAT 1999/11/30 (²Ð) 07:38
¤ª¤Ï¤è¤¦¤´¤¶¤¤¤Þ¤¹¡£

¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃ챤Î
C¸À¸ì¤ÇHTTP¥¯¥é¥¤¥¢¥ó¥È¤òºî¤Ã¤Æ¤ß¤è¤¦(2)
¤Ç¤Ïperl¤È°ã¤¤¥Ø¥Ã¥ÀÉôʬ¤¬É½¼¨¤µ¤ì¤Æ¤Þ¤¹¤è¤Í¡©
¤¢¤ì¤òËÜÂÎÉô¤À¤±É½¼¨¤¹¤ë¤è¤¦¤Ë¤¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤¤¤¤¤ó¤Ç¤·¤ç¤¦¡©
¿§¡¹¤ä¤Ã¤Æ¤ß¤Þ¤·¤¿¤¬¤É¤¦¤â¾å¼ê¤¯¤¤¤«¤Ê¤¯¤Æ¡Ä
¡ÖUNIX¤Î¾ì¹ç¡×¤Ïfgets´Ø¿ô¤ò¥½¥±¥Ã¥ÈÆɤ߽Ф·¤Ë¤â»È¤¨¤Þ¤¹¤±¤É
Ë¿Windows¤Ï¾¡¼ê¤¬°ã¤¦¤ó¤Ç¤¹¡£¡£
¡ô¡¡¤É¡¼¤ß¤Æ¤âUNIX¤ÎÊý¤¬¤ä¤ê¤ä¤¹¤¤
¤É¤ó¤Ê´¶¤¸¤«¤È¤¤¤¦¤Î¤¬http://www.nakka.com/inet/httpc.html¤Î
ÀַϤ理Ç
¡Ö/* ¥µ¡¼¥Ð¤«¤é¥Ç¡¼¥¿¤ò¼õ¿®¤¹¤ë½èÍý */¡×
¤È¤«½ñ¤«¤ì¤Æ¤ëÊÕ¤ê¤Ç¤¹¡£
¤Ê¤ó¤È¤Ê¤¯¸«¤ë¤È¤ä¤ê¤Ë¤¯¤¤¤Î¤¬¤ï¤«¤ë¤«¤È^^;;
¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Ç¤·¤ç¤¦¤«¡©
»×¤¤¤Ä¤¤¤¿¤Î¤Ç¤¤¤¤¤Ç¤¹¤«¤é¥ì¥¹¤¯¤À¤µ¤¤¡£
¤É¤¦¤â¥¢¥¤¥Ç¥¢¤¬¡¦¡¦¡¦¡¦

No. 568 # 68user 1999/11/30 (²Ð) 14:25
    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;
        }
    }
¤³¤ó¤Ê´¶¤¸¤Ç¤É¤¦¤Ç¤·¤ç¤¦¤«?

No. 569 # 68user 1999/11/30 (²Ð) 15:29
¤¢¡¢Á´Á³¥À¥á¤¸¤ã¤ó¡£
> } else if ( p = strstr(buf,"\r\n\r\n") ){
buf ¤Ï \0 ¤Ç terminate ¤µ¤ì¤Æ¤Ê¤¤¤·¡¢¤½¤â¤½¤â
\r\n\r\n ¤¬1²ó¤ÇÆɤá¤ëÊݾڤϤʤ¯¤Æ¡¢¤Á¤ç¤¦¤É
¶­³¦¤Ë¤Þ¤¿¤¬¤Ã¤Æ¤ë¤«¤â¤·¤ì¤Ê¤¤¡£

¤Þ¡¢¤½¤³¤é¤Ø¤ó¤Ï¤è¤·¤Ê¤Ë¡£

No. 570 # k 1999/11/30 (²Ð) 17:35
ping¥³¥Þ¥ó¥É¤Ç¤Ï¡¢¥Û¥¹¥È̾¤ò»ØÄꤹ¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢
¤½¤Î¥Û¥¹¥È̾¡Ê¤Þ¤¿¤Ï£É£Ð¥¢¥É¥ì¥¹¡Ë¤È¤ÎÀܳ³Îǧ¤¬
¤Ç¤­¤Þ¤¹¡£
¤³¤ì¤ÈƱÍͤˡ¢¤½¤Î¥Û¥¹¥È̾¡Ê¤Þ¤¿¤Ï£É£Ð¥¢¥É¥ì¥¹¡Ë¤Î
ÆÃÄê¤Î¥Ý¡¼¥ÈÈÖ¹æ¤ËÂФ·¤Æ¡¢Àܳ³Îǧ¤ò¹Ô¤¤¤¿¤¤¤Î
¤Ç¤¹¤¬¡¢¤Ê¤Ë¤«Îɤ¤ÊýË¡¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©

No. 571 # 68user 1999/12/01 (¿å) 00:33
¼ÂºÝ¤Ë connect ¤¹¤ë¤Î¤Ï¥À¥á¤Ê¤ó¤Ç¤¹¤«?
¤½¤ì°Ê³°¤ÎÊýË¡¤Ï¤Ê¤¤¤È»×¤¤¤Þ¤¹¡£Â¿Ê¬¡£

No. 572 # ¥ß¥ì¥Ë¥¢¥à [E-mail] 1999/12/01 (¿å) 02:33
ËÜ¥µ¥¤¥È¤Ï¤¿¤Þ¤Ë¤Ç¤Ï¤¢¤ê¤Þ¤¹¤¬»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤ª¤ê¤Þ¤¹¡£
»ä¤â²¿¤«Åê¹Æ¤µ¤»¤Æ¤¤¤¿¤À¤­¤¿¤¤¤È¹Í¤¨¤Æ¤ª¤ê¤Þ¤·¤¿¤¬¡¢¥×¥í¥°¥é¥ß¥ó¥°¥µ¡¼¥¯¥ë¡È¥ß¥ì¥Ë¥¢¥à¡É¤òΩ¤Á¾å¤²¤Þ¤·¤¿¤Î¤Ç¤´¾Ò²ð¤ò¤µ¤»¤Æ¤¤¤¿¤À¤­¤¿¤¤¤È»×¤¤¤Þ¤¹¡£·Ç¼¨ÈĤΰƷï¤ÈľÀÜ´Ø·¸¤Ê¤¤¤È»×¤ï¤ì¤Þ¤¹¤¬ÍƼϴꤤ¤Þ¤¹¡£
¥ß¥ì¥Ë¥¢¥à¤Ï¥µ¡¼¥¯¥ë¤È¤¤¤¦ÂμÁ¤òÀ¸¤«¤·¤Æ°åÎÅ¡¦Ê¡»ã¡¦¶µ°é¤ÎʬÌî¤Ç¹âµ¡Ç½¡¦Äã²Á³Ê¥Ó¥¸¥Í¥¹¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¹½ÃÛ¤òÌÜŪ¤È¤·¤¿¥×¥í¥°¥é¥ß¥ó¥°¥µ¡¼¥¯¥ë¤Ç¤¢¤ê¤Þ¤¹¡£
¸½ºß¡¢¥á¥ó¥Ð¡¼¤Ï15̾ÄøÅ٤ǥۡ¼¥à¥Ú¡¼¥¸¤ò·úÀßÃæ¤Ç¤¢¤ê¡¢¸½ºßCGIÅù¤ÎÁȤá¤ëÊý¡¢VB¡¢VC++¡¢Delphi¡¢Java¡¢HTML¡¢DTP¡Ê¥Ç¥¶¥¤¥ó¡Ë¤ÎÆÀ°Õ¤ÊÊý¤òÊ罸Ãפ·¤Æ¤ª¤ê¤Þ¤¹¡£¥á¥ó¥Ð¡¼¤Ï¸½¿¦¤Î¥×¥í¥°¥é¥Þ¡¼¡¢DTP¹½ÃÛ¼Ô¡¢²ÈÄí¤Î¼çÉؤʤɤ¤¤í¤¤¤í¤ÊÊý¤Ç¹½À®¤µ¤ì¤Æ¤ª¤ê¤Þ¤¹¡£
¥ß¥ì¥Ë¥¢¥à¤Ë»²²Ã¤¹¤ë¾ò·ï¤È¤·¤Æ¤ÏËܿͤ˾Q¤ÈÀÕǤ´¶¤È¹¥´ñ¿´¤¬É¬ÍפǤ¢¤ê¤½¤Î¾¤ÏÌä¤ï¤ì¤Þ¤»¤ó¡£
¶½Ì£¤¬¤´¤¶¤¤¤Þ¤·¤¿¤é¥á¡¼¥ë¤Ë¤Æ¤ªÊÖ»ö¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

¼ºÎ餤¤¿¤·¤Þ¤·¤¿¡£²ò¤«¤é¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤·¤¿¤é»ä¤âÅê¹Æ¤µ¤»¤Æ¤¤¤¿¤À¤¯¤«¤â¤·¤ì¤Þ¤»¤ó¤Î¤Ç¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹

No. 573 # ¤é¤ó¤é¤ó [E-mail] 1999/12/01 (¿å) 10:15
¤Ï¤¸¤á¤Þ¤·¤Æ¡¢¤¤¤Ä¤âHP¸«¤µ¤·¤Æ¤¤¤¿¤À¤¤¤Æ¤Þ¤¹ ´¶¼Õ
winsock¤ò¡Ê£ã¸À¸ì¤Ç¡Ë»È¤Ã¤Æ¥Á¥ã¥Ã¥È¤Î¥×¥í¥°¥é¥à¤ò½ñ¤¤¤Æ¤ß¤è¤¦¤È»×¤Ã¤¿¤ó¤Ç¤¹¤±¤ì¤É¡¢¥Þ¥ë¥Á¥¹¥ì¥Ã¥É¥¿¥¤¥×¤Î¥µ¡¼¥Ð¡¼¤Ç¥¯¥é¥¤¥¢¥ó¥È¤Ësend()¤¹¤ë»þ¡Ê¿ʬIP¥Þ¥ë¥Á¥­¥ã¥¹¥È¤ÃÅÛ¤ò»È¤¦¤È»×¤¦¤ó¤Ç¤¹¤±¤É¡Ë¤Î¤ä¤êÊý¤Ë¤Ä¤¤¤Æ²¿¤«¾ðÊ󤪻ý¤Á¤Ç¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©
Àܳ¤µ¤ì¤¿¥¯¥é¥¤¥¢¥ó¥ÈÁ´¤Æ¤ËƱÊóÁ÷¿®¤Ç¤­¤ë¤è¤¦¤Ë¤·¤¿¤¤¤ó¤Ç¤¹¤±¤ì¤É¡¢¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£
¸å¡¢¾¡¼ê¤ËHP¤Ë¥ê¥ó¥¯Ä¥¤Ã¤Æ¤·¤Þ¤Ã¤¿¤ó¤Ç¤¹¤±¤É¤è¤í¤·¤«¤Ã¤¿¤Ç¤·¤ç¤¦¤«¡©
¤Þ¤º¤¤¤è¤¦¤À¤Ã¤¿¤éÏ¢Íí²¼¤µ¤¤

No. 574 # 68user 1999/12/01 (¿å) 13:41
¥Þ¥ë¥Á¥­¥ã¥¹¥È¤¹¤ë¤Ê¤é¡¢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¤Ë¥ê¥ó¥¯Ä¥¤Ã¤Æ¤·¤Þ¤Ã¤¿¤ó¤Ç¤¹¤±¤É¤è¤í¤·¤«¤Ã¤¿¤Ç¤·¤ç¤¦¤«¡©
¤É¤¦¤¾¡Á¡£

No. 575 # Æü¸þ 1999/12/01 (¿å) 16:10
>> $send¤È¤«¡¢Å¬Åö¤ÊÊÑ¿ô¤ËÁ´Éô·Ò¤²¤ÆÂåÆþ¤·¡¢
>> print SOCKET $send; ¤È¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤
>¤È¤¤¤¦¤³¤È¤Ï¤¢¤êÆÀ¤Ê¤¤

³Î¤«¤Ë¤½¤¦¤Ç¤·¤¿¡Ä$send¤ËÁ´ÉôÂåÆþ¤¹¤ë¤Î¤È
HTTP¥Ð¡¼¥¸¥ç¥ó¤ò¿§¡¹ÊѤ¨¤ë¤Î¤òƱ»þ¤Ë»î¤·¤Æ¤Æº®Í𤷤Ƥ¿¤ß¤¿¤¤¤Ç¤¹¡Ê´À¡Ë
¤È¤¤¤¦¤ï¤±¤Ç¡¢¤ä¤Ã¤Ñ¤ê·Ò¤²¤ëɬÍפϤ¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¥Ï¥¤¡£
¤Þ¤¿¡¢HTTP¥Ð¡¼¥¸¥ç¥ó¾Êά¤â0.9°·¤¤¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤è¤¦¤Ç¤·¤¿¡£

¤Ç¤â¾Êά¤¹¤ë¤È0.9¤Ë¤µ¤ì¤ë¤È¤¤¤¦¤Î¤Ï¤Á¤ç¤Ã¤È¶Ã¤­¡£
¤³¤ì¤Ï¥µ¡¼¥Ð¦¤Ç¤½¤¦ÀßÄꤷ¤Æ¤¤¤ë°Ù¤Ç¤¹¤è¤Í¡Ä¡©¤È¤¤¤¦»ö¤Ï¡Ä
º£»þ0.9¤Ê¤ó¤Æ»È¤ï¤Ê¤¤¤·¡Ä1.0¤ä1.1¤ò¥Ç¥Õ¥©¥ë¥ÈÀßÄê¤Ë¤·¤Æ¤¤¤ë¥µ¡¼¥Ð¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤«¡©

No. 576 # 68user 1999/12/01 (¿å) 17:11
HTTP ¤Î¥Ð¡¼¥¸¥ç¥ó¾Êά»þ¤Ï 0.9 ¤Ç¤¢¤ë¤È RFC ¤Ç·è¤Þ¤Ã¤Æ¤¤¤Þ¤¹¡£
    http://X68000.startshop.co.jp/~68user/net/rfc.html
¤È¤¤¤¦¤è¤ê¡¢¡Ö¾Êά¤·¤¿¤â¤Î¤Î¤ß¤ò 0.9 ¤È¤ß¤Ê¤¹¡×¤È¸À¤Ã¤¿Êý¤¬Àµ¤·¤¤¤«¤Ê¡£
GET /index.html HTTP/0.9 ¤È¤¤¤¦¥ê¥¯¥¨¥¹¥È¤Ï¤Ç¤­¤Ê¤¤¤è¤¦¤Ê¤Î¤Ç¡£

No. 577 # ¤é¤ó¤é¤ó 1999/12/02 (ÌÚ) 12:32
ÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¥Þ¥ë¥Á¥­¥ã¥¹¥È¤Ë¤Ä¤¤¤Æ¤Ç¤¹¤¬
winsock1,1¤Ç¤Ïoption°·¤¤¤ÇÀµ¼°¥µ¥Ý¡¼¥È¤Ç¤Ï¤Ê¤¯
2,0¤Ç¤Ï¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤ë¤è¤¦¤Ê¤ó¤Ç¤¹¤¬¡¢¤¤¤¤¾ðÊ󤬤ޤÀÆÀ¤é¤ì¤Æ¤¤¤Þ¤»¤ó¡£
¤â¤¦¤Á¤ç¤Ã¤ÈÄ´¤Ù¤Æ¡¢¤¦¤Þ¤¯¤¤¤Ã¤¿¤éÊó¹ð¤·¤Þ¤¹¡£
¡Êº£windows¤Ç¤ä¤Ã¤Æ¤ë¤ó¤Ç68user¤µ¤ó¤Ï¤¢¤Þ¤ê¶½Ì£¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡Ë

No. 578 # ¤ë¤ó [E-mail] 1999/12/02 (ÌÚ) 19:46
¤Ï¤¸¤á¤Þ¤·¤Æ¡£
¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×Æɤޤ»¤Æ¤¤¤¿¤À¤­¤Þ¤·¤¿¡£
£È£Ô£Ô£Ð¤Î½é¿´¼Ô¤Î¤¿¤á¡¢ÂçÊÑÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

¤³¤ÎÅÙproxy¥µ¡¼¥Ð¤ò»È¤Ã¤Æ¡¢£Õ£Ò£Ì¤ò¼è¤Ã¤Æ¤¯¤ë¥·¥¹¥Æ¥à¤ò³«È¯¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢¤¦¤Þ¤¯Æ°ºî¤·¤Þ¤»¤ó¡£
GET¤Î¥ì¥¹¥Ý¥ó¥¹¤Ç¡¢¥Ø¥Ã¥À¤Ç¤Ï¡Ö200 OK¡×¤¬Ê֤äƤ­¤Æ¤¤¤ë¤Î¤Ë¡¢¥Ø¥Ã¥À¤·¤«¼è½Ð¤»¤Þ¤»¤ó¡£¤É¤ó¤Ê¸¶°ø¤¬¹Í¤¨¤é¤ì¤ë¤Ç¤·¤ç¤¦¤«¡£

´Ä¶­¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£
proxy¥µ¡¼¥Ð¡§NetscapeProxyServer
¼è½Ð¤¹URL¤Î¤¢¤ë¥µ¡¼¥Ð¡§Apache 1.3.9

No. 579 # 68user 1999/12/03 (¶â) 02:50
> ¥Ø¥Ã¥À¤·¤«¼è½Ð¤»¤Þ¤»¤ó¡£
    - ¤É¤¦¤¤¤¦¥ê¥¯¥¨¥¹¥È¤òÁ÷¤Ã¤¿¤Î¤«
    - ´Ä¶­ (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

# Ĺǯ¤ÎÌ´¤Ç¤¢¤Ã¤¿¥Ý¥ê¥´¥ó¤ò¤°¤ê¤°¤ê²ó¤¹¤Î¤¬¼Â¸½¤Ç¤­¤Æ¤¦¤ì¤·¤¤¡£
# º£¤Ï¥Æ¥¯¥¹¥Á¥ãŽ¤Ã¤¿¤ê¥·¥§¡¼¥Ç¥£¥ó¥°¤«¤±¤ëÊýË¡¤òÌϺ÷Ãæ¡Ä¡£
## ¤³¤³¤é¤Ø¤ó¤ò²òÀ⤷¤Æ¤ë¥µ¥¤¥È¤Ê¤¤¤«¤·¤é?

No. 580 # ¤ë¤ó 1999/12/03 (¶â) 17:38
ÊÖ»ö¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

>¡¡- ¤É¤¦¤¤¤¦¥ê¥¯¥¨¥¹¥È¤òÁ÷¤Ã¤¿¤Î¤«
>¡¡- ´Ä¶­ (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¤Î»ÅÍͤʤΤǤ·¤ç¤¦¤«¡£

¸æ¸ÃΤΤ³¤È¤¬¤¢¤ì¤Ð¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£

No. 581 # 68user 1999/12/03 (¶â) 18:15
> °ìÅÙÌܤÎ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 ¤ÏƱ¤¸¤è¤¦¤Ë
°·¤ï¤Ê¤¤¤È¤¤¤±¤Þ¤»¤ó¡£

¤Á¤ç¤Ã¤ÈÍÑ»ö¤¬¤¢¤ê¡¢º£Æü¤ÎÌ뤫¤é¿ôÆü´Ö ÊÖÅú¤Ç¤­¤Þ¤»¤ó¤Î¤Ç¤è¤í¤·¤¯¡£

No. 582 # 68user 1999/12/03 (¶â) 18:40
> °ìÅ٤Πrecv ¤ÇÁ´¤Æ¤Î¥Ç¡¼¥¿¤ò¼è¤ê½Ð¤»¤ë¤È¤¤¤¦ÊݾڤϤ¢¤ê¤Þ¤»¤ó¡£
¤¢¡¢¤³¤ì¤Ï
    read_size = recv(s,buf,sizeof(buf),0);
¤Î¤³¤È¤Ç¤¹¡£
    read_size = recv(s,buf,sizeof(buf),MSG_WAITALL);
¤Ê¤é¡¢Á´¥Ç¡¼¥¿¤òÂÔ¤Á¤Þ¤¹¤Î¤Ç¡¢recv ¤Ï1²ó¤À¤±¼Â¹Ô¤¹¤ì¤Ð OK ¤Ç¤¹¡£

¤¿¤À¤· MSG_WAITALL ¤ò»ØÄꤷ¤Æ¤â¡¢¥·¥°¥Ê¥ë¼õ¿®¡¦¥³¥Í¥¯¥·¥ç¥óÀÚÃÇ»þ¤Ï¡¢
Á´¥Ç¡¼¥¿¤òÂÔ¤¿¤º¤Ë recv ¤«¤éÌá¤ê¤Þ¤¹¡£

No. 583 # J.Naka [E-mail] 1999/12/08 (¿å) 11:55
¤É¤â¡¢½é¤á¤Þ¤·¤Æ¡£¤È¤Û¤Û£×£×£×¡Ý¥é¥¦¥ó¥¸¤«¤éÍè¤Þ¤·¤¿¡£

¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¤¬ÂçÊѤ¿¤á¤Ë¤Ê¤ê¤Þ¤¹¡£
ƱÍͤʻö¤Ï½ñÀҡʥ饯¥ÀÀÄËܡˤˤâ½ñ¤«¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤Á¤é¤¬¤º¤Ã¤È²ò¤«¤ê¤ä¤¹¤¤¤Ç¤¹¡£
¥³¥ó¥Æ¥ó¥ÄÀ©ºî¸æ¶ìÏ«ÍͤǤ¹¡¡¡õ¡¡Í­¤êÆñ¤¦¸æºÂ¤¤¤Þ¤¹¡£

------------------------------
    ¤¹¤Ã¤´¤¯ÊÙ¶¯¤Ë¤Ê¤ë²òÀâ¤Î¤¿¤á¡¢·«¤êÊÖ¤·Æɤà»ö¤Ë¤Ê¤ë¤Î¤Ç¤¹¤¬¡¢¥Ù¡¼¥¸ÇÛ¿§¤¬¡¢¥Æ¥­¥¹¥È¤¬¹õ·ÏÅý¤Ê¤¯Çò·ÏÅý¤Ç¤¢¤ë¤¿¤áÌܤ¬¾¯¡¹ÉÕ¤«¤ì¤Þ¤¹¡¢¤Þ¤¿¥Ð¥Ã¥¯¥«¥é¡¼¤È¥Æ¥­¥¹¥È¤ÎÌÀ°Å¤¬¶á´ó¤Ã¤Æ¤¤¤ë¤Î¤Ç¤³¤ì¤âÌܤËÉÕ¤«¤ì¤ëÍ×°ø¤Î¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¡£¤Þ¤Ã¤³¤³¤¤¤é¤Ï¸Ä¿ÍŪÓϹ¥¤ÎÉôʬ¤À¤È»×¤¤¤Þ¤¹¡£
    ¤½¤¦¤¤¤¦»ö¤Ç¡¢¥Ð¥Ã¥¯¥«¥é¡¼¤È¥Æ¥­¥¹¥È¥«¥é¡¼¤Î»ØÄê¤ò³°Éô¥¹¥¿¥¤¥ë¥·¡¼¥È¤Ç»ØÄꤵ¤»¤è¤¦¤È»×¤¤¡¢¤½¤Î°Ù¤Ë¤Ï¼è¤ê¤¢¤¨¤º¥³¥ó¥Æ¥ó¥Ä¤Î³¬Áؤò´Þ¤á¤Æ¥í¡¼¥«¥ë¤Ë¥À¥¦¥ó¤·¡¢¤½¤Î¸å¥í¡¼¥«¥ëÆâ¤Ç³¬Áؤò¸Ù¤¤¤ÀHTML¥Õ¥¡¥¤¥ë¤Î½¤Àµ¤òPerl¤Ç¹Ô¤¦»ö¤Ë¤·¤Þ¤·¤¿¡£
    ¤½¤¦¤¤¤¦»ö¤Ç¡¢º£¡¢ºÆµ¢Åª¥Ç¥£¥ì¥¯¥È¥ê¥¨¥ó¥È¥ê¥µ¡¼¥Á¥¹¥¯¥ê¥×¥È¤òÀ©ºîÃæ¤Ç¤¹¡£¡£¡£¡£¡£

¡ô¤¤¤Ä¤âËÜÂê¤ÎÁ°¤Ë¡¢¡Ö¤¢¤ì¤ä¤ë¡¢¤³¤ì¤ä¤ë¡×¤È»þ´Ö¤¬¤«¤«¤ë»ä¤Ç¤·¤¿(¾Ð)
#¤È¤³¤í¤Ç¡¢68user¤µ¤ó¤Ï¡¢¤È¤Û¤Û¥é¥¦¥ó¥¸¤Ç¤Î¡ÖB-cus¡×¤µ¤ó¤ÈƱ°ì¤ÊÊý¤Ç¤·¤ç¤¦¤«¡©¡¢¡¢¡¢¤Þ¤Ã¤¤¤é¤ÌÁ§º÷¤ÎÈÏáƤʤΤǤ¹¤¬(^^;

No. 584 # ¥È¥í¥Ô¥«¥ë 1999/12/08 (¿å) 17:15
cksum¥³¥Þ¥ó¥É¤Ë¤Ä¤¤¤ÆÃΤꤿ¤¤¤Î¤Ç¤¹¤¬¡¢
­¡cksum¥³¥Þ¥ó¥É¤Ï¥Õ¥¡¥¤¥ë¤ËÂФ·¤Æ¤É¤¦¤¤¤Ã¤¿¥Á¥§¥Ã¥¯¤ò¹Ô¤¦¤Ç
    ¤·¤ç¤¦¤«¡©
­¢£Ã¸À¸ì¤«¤écksum¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤«¤±¤¿»þ¤Ë¡¢Àµ¾ï¤Ë½ªÎ»¤·¤¿¤«¡¢
    ¤â¤·¤¯¤Ï¡¢°Û¾ï½ªÎ»¤·¤¿¤«¤ÎȽÃǤϹԤ¨¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
    ¤â¤·¡¢¹Ô¤¨¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢¾ÜºÙ¤Ê¥¨¥é¡¼¾ðÊó¤Ï¤É¤¦¤¤¤Ã¤¿¤â¤Î¤¬
    ¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£

No. 585 # 68user 1999/12/08 (¿å) 19:39
> ¥Ù¡¼¥¸ÇÛ¿§¤¬¡¢¥Æ¥­¥¹¥È¤¬¹õ·ÏÅý¤Ê¤¯Çò·ÏÅý¤Ç¤¢¤ë¤¿¤áÌܤ¬¾¯¡¹ÉÕ¤«¤ì¤Þ¤¹
¤Ç¤¢¤ì¤Ð
    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 ¤·¤¿ÃÍ)¡£

No. 586 # 68user 1999/12/08 (¿å) 19:46
> cksum
ÆüËܸì¥Þ¥Ë¥å¥¢¥ë¤òºÇ½é¤Ë¾Ò²ð¤¹¤Ù¤­¤Ç¤·¤¿¡£
    http://www.jp.freebsd.org/cgi/mroff.cgi?subdir=man&man=cksum&dir=jpman-3.3.0%2Fman

No. 587 # goosan [E-mail] 1999/12/09 (ÌÚ) 19:19
>> ­¡­¢
> ´ÝÉÕ¤­¿ô»ú¤Ïµ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¡¢»È¤Ã¤Æ¤Ï¤¤¤±¤Þ¤»¤ó¡£
¤½¤¦¤½¤¦¡¢¤³¤ì¡¢¸¦µæ¼¼¤ÎFreeBSD´Ä¶­¤Ç¤Ï¸«¤¨¤Þ¤»¤ó¤Ç¤·¤¿¡£

No. 588 # 68user 1999/12/09 (ÌÚ) 20:53
¤¦¡¼¤ó¡¢¤Á¤ç¤Ã¤È¤á¤ó¤É¤¯¤µ¤¤¤±¤É¡¢·Ç¼¨ÈĤò¤¤¤¸¤Ã¤Æ
µ¡¼ï°Í¸ʸ»ú¤ò¤Ï¤¸¤¯¤è¤¦¤Ë¤·¤è¤¦¤«¤Ê¡Ä¡£

No. 589 # 68user 1999/12/10 (¶â) 07:07
¥Æ¥¹¥È¤¬¤Æ¤é¡¢½ñ¤­¹þ¤ß¡£wwwboard.cgi ¤ò¤Á¤ç¤³¤Ã¤È½ñ¤­´¹¤¨¤Þ¤·¤¿¡£
    ­¡Windows µ¡¼ï°Í¸ʸ»ú¤òɽ¼¨»þ¤ËÊÑ´¹¤¹¤ë¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£
        ËÜÍè¡¢½ñ¤­¹þ¤ß»þ¤ËÊÑ´¹¤¹¤ë¤Î¤¬¥Ù¥¹¥È¤Ç¤¹¤¬¡¢Àµ¤·¤¯ÊÑ´¹¤Ç¤­¤Æ¤ë¤«
        ¤É¤¦¤«¼«¿®¤¬¤Ê¤¤¤Î¤Ç¡¢¤·¤Ð¤é¤¯¤³¤ì¤ÇÍͻҤò¸«¤Þ¤¹¡£
    ­¢ÆóÅÙ½ñ¤­Ëɻߵ¡Ç½¤òÄɲ᣺ǿ·10ȯ¸À¤Î MD5 ¤òÊݸ¤·¡¢
        ½ÅÊ£¤·¤Æ¤¤¤¿¤é½ñ¤­¹þ¤ß¤Ç¤­¤Ê¤¤¤è¤¦¤Ë¤·¤Þ¤·¤¿¡£
¡Ä¤È¡¢¤¢¤¨¤Æµ¡¼ï°Í¸ʸ»ú¤ò»È¤Ã¤Æ¤ß¤¿¤ê¡£

º£¸å¡¢¤³¤Î·Ç¼¨ÈÄ¤Ç¤Ï Windows µ¡¼ï°Í¸ʸ»ú¤Î»ÈÍѤò¿ä¾©¤·¤Þ¤¹(^^;
¥¹¥¯¥ê¥×¥È¤Ï¤³¤Á¤é¡£http://X68000.startshop.co.jp/~68user/cgi-bin/view-script.cgi/wwwboard.cgi

No. 590 # ¤Ø¤Ë¤« 1999/12/11 (ÅÚ) 10:08
¤Ï¤¸¤á¤Þ¤·¤Æ¡¢¤È¤Û¤Û¤µ¤ó¤Î¤È¤³¤í¤«¤é¤ª»Ç¤¤¤µ¤»¤Æ
夭¤Þ¤·¤¿¡£¤Ï¤¸¤á¤Þ¤·¤Æ¡£

ÁᮤǤ¹¤¬¡¢¼«Æ°ÊÑ´¹¤µ¤ì¤¿¡¢
­¡
      ¤Î
¡Ö(µ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¼«Æ°ÊÑ´¹¤·¤Þ¤·¤¿)¡×
¤ÎÉôʬ¡¢Ä¹¤¯¤ÆËÜʸ¤¬ÆɤߤŤ餤¤Î¤Ç¡¢¤¿¤È¤¨¤ÐÊÑ´¹¤·¤¿
Éôʬ¤òº£¤ÎÀÖ¿§¤Î¤Þ¤Þ¡¢¤³¤Î¥Ú¡¼¥¸¤Î²¼¤ÎÊý¤È¤«¤½¤Î¾¤Î
¥Ú¡¼¥¸¤È¤«¤Ë¥ê¥ó¥¯¤òÄ¥¤Ã¤Æ¡¢¤½¤³¤Ë
    (µ¡¼ï°Í¸ʸ»ú¤Ê¤Î¤Ç¼«Æ°ÊÑ´¹¤·¤Þ¤·¤¿)
¤È¤«½ñ¤¤¤Æ¤¤¤¿¤À¤±¤ì¤Ð¡¢¤¢¤Ã¤µ¤ê¤·¤Æ¸«¤ä¤¹¤È»×¤¦¤Î
¤Ç¤¹¤¬¡¢¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡©

¤´¸¡Æ¤Äº¤±¤ì¤Ð¹¬¤¤¤Ç¤¹¡£

No. 591 # 68user 1999/12/12 (Æü) 00:55
³Î¤«¤Ë¤ª¤Ã¤·¤ã¤ë¤È¤ª¤êÆɤߤˤ¯¤¤¤Î¤Ç¡¢¤³¤ó¤Ê¤Õ¤¦¤Ë¤·¤Æ¤ß¤Þ¤·¤¿¡£
¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£

No. 592 # ¤Ø¤Ë¤« 1999/12/12 (Æü) 19:18
# ¤Ï¤¸¤á¤Þ¤·¤Æ¤¬¡¢°úÍÑÉä¤ß¤¿¤¤¤Ë¤Ê¤Ã¤Æ¤·¤Þ¤Ã¤Æ¡¢¤à¤Ã¤Á¤ãÃѤº¤«¤·¤¤¡¦¡¦¡¦

Áᮾ¤·¤Æ夤¤Æ¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£¤«¤Ê¤ê¸«¤ä¤¹¤¯¤Ê¤Ã¤¿¤È»×¤¤¤Þ¤¹¡£
¤·¤«¤â¡¢ÊÑ´¹¤·¤¿¾ì¹ç¤À¤±Ãí¼á¤¬½Ð¤ë¡¢¤È¤¤¤¦¤È¤³¤í¤¬¡¢¤«¤Ã¤³¤¤¤¤¤Ç¤¹¤Í¡£
´Ø·¸Ìµ¤¤¤Ç¤¹¤¬¡¢ÌÜΩ¤¿¤»¤¿¤¤¤¬¤¿¤á¤Ë¡¢¤ï¤¶¤È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¤òÆɤó¤Ç¤ß¤¿¤ó¤Ç¤¹¤¬¡¢¤É¤¦
¤·¤Æ¤âõ¤·Åö¤ì¤é¤ì¤Ê¤«¤Ã¤¿¤Î¤Ç¡¢Ã±¤Ê¤ë»ä¤Î´ª°ã¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¦¡¦¡¦

µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 593 # 68user 1999/12/13 (·î) 02:40
¤´°Õ¸«¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£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 °ìÈ̤ÎÏäʤΤǡ¢
# ¤É¤³¤Ç²òÀ⤷¤¿¤é¤¤¤¤¤Î¤«Çº¤à¤È¤³¤í¤À¤Ê¤¡¡Ä¡£

No. 594 # ¤Ø¤Ë¤« 1999/12/15 (¿å) 22:11
¸æ²óÅú¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤Ê¤ë¤Û¤É¡¢Ìµ¤¤¾ì¹ç¤Ï80¤¬²¾Äꤵ¤ì¤ë¤ó¤Ç¤¹¤Í¡£ http://www.host2.com/ ¤Î¡¢
www.host2.com ¤ÈÁ´¤¯Æ±¤¸Ê¸»ú¤ò¡¢ host: ¤Î¸å¤Ë½ñ¤¯É¬Íפ¬¤¢¤ë¤ó¤«¤Ê¡¢¤È
»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¾ï¤ËÉÕ¤±¤Æ¤¤¤Æ¤âÌäÂê¤Ê¤¤¤Î¤Ç¤¹¤Í¡£¤ï¤«¤ê¤Þ¤·¤¿¡£

¤Þ¤¿Ê¬¤«¤é¤Ê¤¤¤³¤È¤¬¤¢¤Ã¤¿¤é¡¢¼ÁÌ䤵¤»¤Æ夭¤Þ¤¹¤Î¤Ç¡¢¤½¤Î»þ¤Ïµ¹¤·¤¯
¤ª´ê¤¤Ãפ·¤Þ¤¹¡£

No. 595 # Kai 1999/12/16 (ÌÚ) 00:37
¤³¤ó¤Ë¤Á¤ï¡ª¤³¤Î£È£Ð¤ÇºÇ¶áÊÙ¶¯¤µ¤»¤Æ¤â¤é¤Ã¤Æ¤Þ¤¹¡ª
¤È¤³¤í¤Ç¡¢FTP¥¯¥é¥¤¥¢¥ó¥È¤òC¸À¸ì¤Ç½ñ¤¯Í½Äê¤Ï̵¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©

°ì±þ¸«¤è¤¦¸«¤Þ¤Í¤Ç¤³¤Î£È£Ð¤Î¥Ñ¡¼¥ë¤Ç½ñ¤«¤ì¤¿¥½¡¼¥¹¤«¤é
C¤Ç½ñ¤¤¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢¸«»ö¼ºÇÔ¡ª
¡Ê¶ñÂÎŪ¤Ë¤¤¤¦¤È¡¢getsockname¤Î»È¤¤Êý¤¬man¤Ç¤·¤é¤Ù¤Æ¤â
¤è¤¯¤ï¤«¤é¤Ê¤«¤Ã¤¿¤Î¤Ç¤¹¡Êµã¡Ë¤Ç¤­¤ì¤Ð¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡ª¡Ë

¤Ç¤¹¤«¤é¡¢ÀâÌÀ̵¤·¤Ç¤â¥½¡¼¥¹¤À¤±¥¢¥Ã¥×¤·¤Æ¤â¤é¤¨¤¿¤é¤Ê¡Á¡¢
¤Ê¤ó¤Æ¼«Ê¬¾¡¼ê¤Ê¤³¤È¤ò»×¤Ã¤Æ¤·¤Þ¤Ã¤Æ¤Þ¤¹¡£¡Ê¤´¤á¤ó¤Ê¤µ¤¤¡Ë

¤¢¤ë¤¤¤Ï¡¢£Ã¤Ç¤«¤«¤ì¤¿£Æ£Ô£Ð¥¯¥é¥¤¥¢¥ó¥È¤ò¥¢¥Ã¥×¤·¤Æ¤¤¤ë
£È£Ð¤¬¤¢¤ê¤Þ¤·¤¿¤é¡¢¤´¾Ò²ð¤¤¤¿¤À¤±¤ë¤È¹¬¤¤¤Ç¤¹¡ª

No. 596 # ¤¢¤Ã¤Á¡¼ [E-mail] 1999/12/16 (ÌÚ) 16:31
¤³¤ó¤Ë¤Á¤ï¡¢¤Ï¤¸¤á¤Þ¤·¤Æ¤¢¤Ã¤Á¡¼¤È¤¤¤¤¤Þ¤¹¡£
ºÇ¶á¼«Ê¬¤Î¥Ñ¥½¥³¥ó¤ËLinux¤òÆþ¤ì¤Þ¤·¤¿¡£
¤Ç¤â¥³¥Þ¥ó¥É¤Î»È¤¤Êý¤È¤«Á´Á³¤ï¤«¤ê¤Þ¤»¤ó¡£
¤Ê¤ó¤È£øWindow¤òΩ¤Á¾å¤²¤Æ¥µ¥¦¥ó¥É¤ÎÀßÄê¤Þ¤Ç¤Ç¤­¤Þ¤·¤¿¤¬
CD-ROM¤¬³°ÉÕ¤±¤Ê¤¿¤áCDROM¤Ó¥¢¥¯¥»¥¹¤Ç¤­¤Þ¤»¤ó¡£
CD¥×¥ì¥¤¥ä¡¼¤òΩ¤Á¾å¤²¤ë¤Èerorr¤È½Ð¤Æ¤­¤Þ¤¹¡£
mount¤ÎÀßÄê¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡©
¥Ñ¥½¥³¥ó¤ÏSony VAIO¤ÇPCG505S¤Ç¤¹¡£
CD-ROM¤ÏPCGA-CD5¤Ç¤¹¡£
¤¤¤­¤Ê¤ê·Ç¼¨ÈĤ˽ñ¤¤¤¿ÆâÍƤ¬¤³¤ó¤Ê¤Ç¤¹¤¬
¤â¤·¤è¤í¤·¤±¤ì¤Ð¤É¤Ê¤¿¤«¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£

¤³¤ì¤«¤éLInux¤ÈUnix¤ÎÊÙ¶¯¤ò»Ï¤á¤Æ¤¤¤­¤Þ¤¹¡£
¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 597 # ¤à¤Á¤Ê¤Á¤å¤Ü¡Á 1999/12/17 (¶â) 03:22
Kai¤µ¤ó¤ñ¡£
ñ¤ËFTP¤¬»È¤¤¤¿¤¤¡¢¤Æ¤À¤±¤Ê¤é¤Ð
CPAN¤Ë¹Ô¤±¤ÐPerlÍѤÎFTP¥â¥¸¥å¡¼¥ë¤¬ÃÖ¤¤¤Æ¤¢¤ë¤Ê¤ê¥ç¡£

No. 598 # 68user 1999/12/17 (¶â) 04:33
> ¶ñÂÎŪ¤Ë¤¤¤¦¤È¡¢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 ¤ÏÃΤê¤Þ¤»¤ó¡£

No. 599 # 68user 1999/12/17 (¶â) 06:06
¥µ¥ó¥×¥ë¤âºî¤Ã¤Æ¤ß¤Þ¤·¤¿¡£anonymous ftp ¤Ç¡¢
ftp://ftp.jp.FreeBSD.org/pub/FreeBSD/README.TXT ¤ò¼èÆÀ¤·¤Þ¤¹¡£
    http://X68000.startshop.co.jp/~68user/tmp/ftp-client.c

¥ì¥¹¥Ý¥ó¥¹¥³¡¼¥É¤Ï¸«¤Æ¤¤¤Ê¤¤¤·¡¢¥Ð¥Ã¥Õ¥¡¥ª¡¼¥Ð¡¼¥é¥ó¤Ï¤¹¤ë¤·¡¢
RFC¤Ë½àµò¤·¤Æ¤¤¤Ê¤¤¤·¡¢¥Õ¥¡¥¤¥ë¤¬¤Ê¤«¤Ã¤¿¤é¥Ç¥Ã¥É¥í¥Ã¥¯¤¹¤ë¤·¤Ç¡¢
¥Ð¥°¤À¤é¤±¤Ç¤¹¤¬¡¢²þ¤¤·¤Æ¤ß¤Æ²¼¤µ¤¤¡£

No. 600 # Kai 1999/12/18 (ÅÚ) 00:27
¤ª¤ª¡ª¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡ä68userÍÍ¡õ¤à¤Á¤Ê¤Á¤å¤Ü¡ÁÍÍ
Áᮤ³¤ì¤ò»²¹Í¤Ë´èÄ¥¤Ã¤Æ¤ß¤¿¤¤¤È»×¤¤¤Þ¤¹¡ª¡ª¡ª

¤Û¤ó¤È¤¦¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡ª¡ª¡ª

No. 601 # Yuuki 1999/12/19 (Æü) 08:50
¤¢¤ó¤Þ¤ê°ÕÌ£¤Î¤Ê¤¤ÏÃÂê¤Ê¤Î¤Ç¤¹¤¬¡¢¡¢¡¢¡¢
Linux¤Î¥Ú¥ó¥®¥ó
¤È
FreeBSD¤Î¥Þ¥¹¥³¥Ã¥È?
(http://www.freebsd.org/gifs/freebsd_1.gif ¤Î±¦Â¦¤Î¥­¥ã¥é¥¯¥¿¡¼)
¤É¤Ã¤Á¤¬¹¥¤­¤Ç¤¹¤«¡©
ËͤÏFreeBSD¤ÎÊý¤Ê¤ó¤Ç¤¹¤¬¡£

FreeBSD¤È¤¤¤¤¤Ä¤ÄLinux»È¤Ã¤Æ¤ë¤ó¤Ç¤¹¤±¤É¤Í¤§¡Á¡ãËÍ
RPM¤Î¥Ç¡¼¥¿¥Ù¡¼¥¹(?)¤¬²õ¤ì¤Æ¶¯À©ºÆ¥¤¥ó¥¹¥È¡¼¥ë¤È¤¤¤¦»ö¸Î¤Ë¤¢¤Ã¤¿»ö¤¬¤¢¤ë¤Î¤Ç
º£ÅÙOS¾è¤ê´¹¤¨¤ë»þ¤Ï¡¢68user¤µ¤ó¤ª¤¹¤¹¤á¤ÎFreeBSD¤Ë¤·¤è¤¦¤«¤È¡£

No. 602 # 68user 1999/12/19 (Æü) 15:59
> 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 ¤¹¤ë¤³¤È¤Ë¤Ê¤ê¤Þ¤¹¡£
# ¤â¤Á¤í¤óÅÐÏ¿¥³¥Þ¥ó¥É¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¼ê¤â¤¢¤ê¤Þ¤¹¡£

No. 603 # ¤²¤ó¤¿¤í¤¦ [E-mail] 1999/12/20 (·î) 07:47
FreeBSD¾å¤Ç¡¢Tree¥³¥Þ¥ó¥É¤ò»È¤¤¤¿¤¤¤Î¤À¤±¤±¤ì¤É¡¢
¤É¤¦¤·¤¿¤é¤è¤¤¤Î¤À¤í¤¦¡£
¤â¤·¡¢¤è¤í¤·¤«¤Ã¤¿¤é¶µ¤¨¤Æ失¤Ê¤¤¤Ç¤·¤ç¤¦¤«?

m(_ _)m

No. 604 # 68user 1999/12/20 (·î) 10:04
tree ¤Ã¤Æ¤É¤ó¤Ê¥³¥Þ¥ó¥É¤Ç¤¹¤«?
# ¤â¤·¤«¤·¤Æ DOS ¤Î tree?

No. 605 # Yuuki 1999/12/21 (²Ð) 11:43
> > FreeBSD¤Î¥Þ¥¹¥³¥Ã¥È?
> ¤Ç¡¼¤â¤ó·¯ (daemon) ¤Ç¤¹¡£¼ê¤Ë»ý¤Ã¤Æ¤ë¤Î¤¬ fork ¤Ç
> (fork(2) ¤È¤«¤±¤Æ¤¤¤ë)¡¢¤·¤Ã¤Ý¤¬ (C¸À¸ì¤Î) ¥Ý¥¤¥ó¥¿¤À¤Ã¤¿¤«¤Ê¡£
°ÕÌ£¤¬¤¢¤ë¤Î¤«¤¡¡Á
¥Ê¥ë¥Û¥É¡¼

> > ¤É¤Ã¤Á¤¬¹¥¤­¤Ç¤¹¤«¡©
> ¤¦¡¼¤ó¡¢ÉÁ¤¯¿Í¤Ë¤è¤ê¤Þ¤¹¤Í¤§¡£http://www.jp.NetBSD.org/ ¤Î
> ¤Ç¡¼¤â¤ó·¯¤ÏÁþ¤¿¤é¤·¤¤¤·¡¢Kondara Linux ¤Î¥Ú¥ó¥®¥ó¤ÏĩȯŪ¤Ç
> ¤«¤ï¤¤¤¯¤Ê¤¤¤· (¥Ú¥ó¥®¥ó¤Ë¤â̾Á°¤¢¤ë¤ó¤Ç¤·¤¿¤Ã¤±?)¡£
³Î¤«¤Ë¡£(^_^) ¡ä NetBSD¤Î¤Ç¡¼¤â¤ó
¤ä¤Ï¤ê¡¢ËͤÏFreeBSD¤Î¤Ç¡¼¤â¤ó¤¬¤¤¤¤¤Ê¤¡¡£
¥Ú¥ó¥®¥ó¤Î̾Á°¤ÏÃΤé¤Ê¤¤¤Ç¤¹¡£

> > ¤ª¤¹¤¹¤á¤ÎFreeBSD¤Ë¤·¤è¤¦¤«¤È¡£
> ¸í²ò¤Î¤Ê¤¤¤è¤¦¤Ë¸À¤Ã¤Æ¤ª¤­¤Þ¤¹¤¬¡¢
(Ãæά)
> Linux ¤ÈÈæ¤Ù¤Æ FreeBSD ¤¬¤è¤¤¡¢¤È¤¤¤¦
> ¤ï¤±¤Ç¤Ï¤Ê¤¤¤Ç¤¹¡£
¤½¤ì¤Ï¤ï¤«¤Ã¤Æ¤Þ¤¹¡£
¤Ï¤Ã¤­¤ê¤¤¤Ã¤Æ¡¢OS´¹¤¨¤ë¤È¤¤¤Ã¤Æ¤â¤¼¤ó¤¼¤ó·è¤á¤Æ¤Ê¤¤¤Î¤Ç¤¹¡£
»Ï¤á¤ÏSolaris¤Ê¤ó¤«¤Ë¤·¤è¤¦¤«¤È»×¤Ã¤Æ¤¿¤ó¤Ç¤¹¤¬¤³¤ì¤ÏÍ­ÎÁ¤À¤½¤¦¤Ç¡¢¡¢¡¢¡¢
¤½¤Î»þ¡¢UNIX¤ÎÉô²°¤Î
> FreeBSD ¤Ë¾è¤ê´¹¤¨¤Æ¤ß¤Þ¤»¤ó¤«? ;-)
¤ò¸«¤ÆFreeBSD¤Ë¤·¤è¤¦¤«¤È(^_^;;)
¤¢¤È¡¢FreeBSD¤Î¤Ç¡¼¤â¤ó·¯¤âµ¤¤ËÆþ¤Ã¤¿¤Ç¥Ý¥¤¥ó¥È¥×¥é¥¹¡£

No. 606 # £Å£Í 1999/12/21 (²Ð) 15:09
¤Ï¤¸¤á¤Þ¤·¤Æ¡£UNIX¤Ë´Ø¤·¤Æ¡Ê¤½¤Î¾¤â¤Ç¤¹¤¬¡Ë¤Û¤È¤ó¤ÉÃ챤Î̵¤¤»ä¤Ï¤«¤Ê¤ê»²¹Í¤Ë¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤¤¤Þ¤¹¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

¤¤¤­¤Ê¤ê¤Ç¿½¤·Ìõ¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢£Ã£Ç£É¤Î´Ä¶­ÊÑ¿ôHTTP_REFERER ¤Ë¤Ä¤¤¤Æ¤ªÊ¹¤­¤·¤¿¤¤»ö¤¬Í­¤ê¤Þ¤¹¡£
HTTP_REFERER ¤ò»È¤Ã¤Æ¡¢Á°¥Ú¡¼¥¸È½ÃǤò¤µ¤»¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢ÃͤÎÆþ¤êÊý¤¬ÉÔ°ÂÄê¤Ç¡¢»×¤¦¤è¤¦¤Ë½èÍý¤ò¹Ô¤ï¤»¤ë»ö¤¬½ÐÍè¤Þ¤»¤ó¡£
68user¤µ¤ó¤Î¥Ú¡¼¥¸¤ÇHTTP_REFERER ¤Ï¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ä£Õ£Ò£Ì¤Î¼êÂǤÁ¤Ç¤ÏÃͤ¬Æþ¤é¤Ê¤¤¤È½ñ¤¤¤Æ¤¢¤ê¡¢¤Ê¤ë¤Û¤É¤ÈǼÆÀ¤·¤¿¤Î¤Ç¤¹¤¬¡¢Æ±¤¸¤è¤¦¤Ë¥Ö¥Ã¥¯¥Þ¡¼¥¯¤«¤éÈô¤ó¤Ç¤­¤Æ¤â¡¢Ãͤ¬Æþ¤Ã¤Æ¤¤¤ë»þ¤ÈÆþ¤Ã¤Æ¤¤¤Ê¤¤»þ¤¬Í­¤ë¤è¤¦¤Ê¤Î¤Ç¤¹¡£¤½¤ì¤Ã¤Æ¡¢¥µ¡¼¥Ð¤ÎÀßÄê¤ËÌäÂ꤬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡£

¤Ä¤¿¤Ê¤¤Ê¸¾Ï¤Ç¡¢¸À¤Ã¤Æ¤¤¤ë»ö¤¬Îɤ¯¤ï¤«¤é¤Ê¤¤¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢²¿¤«¥¢¥É¥Ð¥¤¥¹¤ò¤¤¤¿¤À¤­¤¿¤¤¤È»×¤¤¤Þ¤¹¡£¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 607 # 68user 1999/12/22 (¿å) 01:14
> »Ï¤á¤ÏSolaris¤Ê¤ó¤«¤Ë¤·¤è¤¦¤«¤È»×¤Ã¤Æ¤¿¤ó¤Ç¤¹¤¬
> ¤³¤ì¤ÏÍ­ÎÁ¤À¤½¤¦¤Ç¡¢¡¢¡¢¡¢
Free Solaris ¤Ê¤É¤â¤¢¤ê¤Þ¤¹¤¬¡¢¤Þ¤¡Æþ¼ê·ÐÈñ¤Ï¤«¤«¤ê¤Þ¤¹¤Í¡£

>> FreeBSD ¤Ë¾è¤ê´¹¤¨¤Æ¤ß¤Þ¤»¤ó¤«? ;-)
> ¤ò¸«¤ÆFreeBSD¤Ë¤·¤è¤¦¤«¤È(^_^;;)
¤Ê¤ë¤Û¤É¡£¤È¤¤¤¦¤³¤È¤Ç¤·¤¿¤é¡¢¤¼¤Ò»È¤Ã¤Æ¤ß¤Æ²¼¤µ¤¤¡£

> HTTP_REFERER
¤³¤ÎÃͤϤ¢¤Þ¤ê¿®ÍѤǤ­¤Þ¤»¤ó¡£¥æ¡¼¥¶¤¬¤¢¤ëÄøÅÙ¼«Í³¤Ë¤¤¤¸¤ì¤ë¡¢
¤È¤¤¤¦¤³¤È¤â¤¢¤ê¤Þ¤¹¤¬¡¢IE ¤Ç¤Ï¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ä URL ľÂǤÁ¤Ç
Èô¤ó¤Ç¤­¤¿¾ì¹ç¤â¡¢Á°¤ËÆɤó¤Ç¤¤¤¿URL (Á´Á³´Ø·¸¤Ê¤¤ URL) ¤¬
REFERER ¤ËÆþ¤Ã¤Æ¤¤¤ë¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£
# ºÇ¿·ÈǤǤÏľ¤Ã¤Æ¤ë¤«¤Ê¤¡?

¤Ç¤Ï¤Ê¤¯¤Æ¡¢Æ±¤¸¥Ö¥é¥¦¥¶¤Ç¡¢Æ±¤¸¥Ú¡¼¥¸¤òÆɤó¤Ç¤¤¤Æ¡¢Æ±¤¸¥Ú¡¼¥¸¤Ë
¥Ö¥Ã¥¯¥Þ¡¼¥¯¤ÇÈô¤ó¤Ç¤â¡¢Ãͤ¬Æþ¤Ã¤Æ¤¤¤ë¤È¤­¤¬¤¢¤Ã¤¿¤ê¡¢Æþ¤Ã¤Æ¤¤¤Ê¤¤
¤È¤­¤¬¤¢¤Ã¤¿¤ê¡¢¤Ê¤ó¤Ç¤·¤ç¤¦¤«¡£¤â¤·¤½¤¦¤Ê¤é ¤Á¤ç¤Ã¤È¤ï¤«¤é¤Ê¤¤¤Î¤Ç¡¢
    http://www.wakusei.ne.jp/twn/wwwlng.cgi
¤Ê¤É¤Ç¼ÁÌ䤷¤Æ¤ß¤Æ²¼¤µ¤¤¡£

No. 608 # EM 1999/12/22 (¿å) 14:54
¥¢¥É¥Ð¥¤¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¶µ¤¨¤Æ¤¤¤¿¤À¤¤¤¿£Õ£Ò£Ì¤Ë¹Ô¤Ã¤Æ¡¢¿§¡¹Æɤó¤Ç¤ß¤Þ¤·¤¿¡£
·ë¶É¡¢HTTP_REFERER ¤Ã¤Æ¤¢¤ó¤Þ¤ê¿®ÍѤ·¤Á¤ã¤¤¤±¤Ê¤¤¤ó¤Ç¤¹¤Í¡£
¤½¤ÎÃͤò»È¤Ã¤Æ¡¢¥Ú¡¼¥¸¤ò¿¶¤êʬ¤±¤ë¤Ê¤ó¤Æ¤³¤È¤Ï¤¢¤ó¤Þ¤ê¤·¤Ê¤¤Êý¤¬Îɤµ¤½¤¦¤Ç¤¹¤Í¡£
¤½¤¦¤¤¤¦½èÍý¤·¤è¤¦¤È»×¤Ã¤Æ¤¤¤¿¤ó¤Ç¤¹¤±¤É¡¢¤ä¤á¤Æ¤ª¤­¤Þ¤¹¡Ê¾Ð¡Ë

¥¢¥É¥Ð¥¤¥¹¡¢ËÜÅö¤Ë¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

No. 609 # ¹ÓÌÚ 1999/12/23 (ÌÚ) 19:18
¤Ï¤¸¤á¤Þ¤·¤Æ

ºÇ¶á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¤Ê¤ó¤Ç¤¹¤¬¡£

No. 610 # 68user 1999/12/23 (ÌÚ) 19:40
> FTP¤Î¥æ¡¼¥¶¡¼Ç§¾Ú¤Ç¡¤USER¥³¥Þ¥ó¥É¤ò username@SERVER ¤Î¤è¤¦¤Ê·Á¤Ç
> Á÷¿®¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤FTP¥µ¡¼¥Ð¡¼¤¬¤¢¤ê¤Þ¤·¤Æ¡¤
ËÜÅö¤Ë¡ÖUSER ¥³¥Þ¥ó¥É¡×¤Ç¤¹¤«?
    USER anonymous (¤¢¤ë¤¤¤Ï ftp)
    PASS username@SERVER
¤Ç¤Ï¤Ê¤¤¤Ç¤¹¤«? (¤Ä¤Þ¤ê anonymous FTP)

> º£¤Ï¡¤Solaris7¤òAT¸ß´¹µ¡¤Ë¤¤¤ì¤Æ¤ë¤Î¤Ç¤¹¤¬¡¤FreeBSD¤ËÈæ¤Ù¤Æ¤Ê¤ó¤«
> Æ°ºî¤¬½Å¤¤¤Ç¤¹¡£
½Å¤¤¤Ã¤Æ¤Î¤â¤¢¤ê¤Þ¤¹¤±¤É¡¢gzip ¤È¤« tar ¤È¤« gmake ¤È¤« gcc ¤È¤«
tcsh ¤È¤«¤ò¥¤¥ó¥¹¥È¡¼¥ë¤¹¤ë¤Î¤¬¤á¤ó¤É¤¯¤µ¤¤¤Î¤Ç¡¢¤¢¤ó¤Þ¤ê¹¥¤«¤ó¤Ç¤¹¡£
# CDE ¤â·ù¡£

ËÍ¤Ï (gcc°Ê³°¤Ï) ¥½¡¼¥¹¤«¤é¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤Þ¤¹¤±¤É¡¢
¤ß¤Ê¤µ¤ó¤Ï¥Ð¥¤¥Ê¥ê¥¤¥ó¥¹¥È¡¼¥ë¤·¤Æ¤ë¤ó¤Ç¤·¤ç¤¦¤«¤Í¡£

No. 611 # ¹ÓÌÚ 1999/12/23 (ÌÚ) 20:14
¤¦¤©¡¤¥ì¥¹¤á¤Á¤ãÁá¤Ç¤¹¡£

¡äËÜÅö¤Ë¡Ö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Àé±ß¤¯¤é¤¤¤ÇÇ㤨¤ë¤ó¤Ç¤¹¡£¥Õ¥ê¡¼¥½¥Õ¥È¤ò½¸¤á¤¿¤À¤±¤Ë¤·¤Æ¤Ï¹â¤¤µ¤¤¬¤·¤Þ¤¹¤±¤É¡Ê¶ì¾Ð¡Ë

No. 612 # 68user 1999/12/23 (ÌÚ) 20:29
> ¤¦¤©¡¤¥ì¥¹¤á¤Á¤ãÁá¤Ç¤¹¡£
¤ä¤é¤Ê¤­¤ã¤¤¤±¤Ê¤¤¤³¤È¤¬¤¿¤¯¤µ¤ó¤¢¤ë¤Î¤Ë¡¢
¤³¡¼¤æ¡¼¤³¤È¤Ð¤«¤ê¤·¤Æ¤ë¤Î¤Ç¡¢Á´Á³»Å»ö¤¬¿Ê¤ß¤Þ¤»¤ó(^^;

> 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¹æ¤Ï¤Ê¤«¤Ê¤«Ç»¤¯¤Æ¤¤¤¤´¶¤¸¤Ç¤¹¡£¤Ç¡¼¤â¤ó·¯¥·¡¼¥ë¤Ï
¤«¤ï¤¤¤¯¤Ê¤¤¤Ç¤¹¤±¤É(¾Ð)

No. 613 # ¹ÓÌÚ 1999/12/23 (ÌÚ) 22:25
¤Ê¤ó¤É¤â¤¹¤¤¤Þ¤»¤ó¡£
>¤³¤ì¤Ã¤Æ 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¥Þ¥·¥ó¤Ê¤ó¤ÆÊɻ椹¤é¤Ê¤¤¤ó¤Ç¤¹¤¬¤Í¤§¡Ê^^)

No. 614 # 68user 1999/12/23 (ÌÚ) 23:23
> 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/ ¤ò¸«¤ë¤Ë¡¢¾å¤Î¤Ç¡¼¤â¤ó·¯¤Ï·ù¤¤¤Ç¤¹¤¬¡¢
ÇطʤΤϥ¢¥ê¤À¤È»×¤¤¤Þ¤¹¡£

¼«¸ÊʬÀϤ¹¤ë¤Ë¡¢Ì¯¤ËΩÂδ¶¤Î¤¢¤ë¥¢¥á¥³¥ß¥Á¥Ã¥¯¤Ê³¨¤¬·ù¤Ê¤Î¤«¤Ê?

No. 615 # satoko 1999/12/24 (¶â) 01:26
¤Ï¤¸¤á¤Þ¤·¤Æ¡£perl½é¿´¼Ô¤Ç¤¹¡£
¤³¤Á¤é¤Îperl¤Î¥Ú¡¼¥¸¡¢¤È¤Æ¤â¤ï¤«¤ê¤ä¤¹¤¤¤Ç¤¹¤Í¡£
Á´ÉôÊݸ¤·¤ÆÊÙ¶¯¤·¤Æ¤¤¤Þ¤¹¡£
´Êñ¤Ê²þ¤¤·¤«¤Ç¤­¤Þ¤»¤ó¤¬¡¢
¤ª¤«¤²¤µ¤Þ¤Ç¡¢¤ä¤ê¤ä¤¹¤¯¤Ê¤ê¤Þ¤·¤¿¡£
¤É¤¦¤â¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
¥ê¥ó¥¯¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤â¤è¤í¤·¤¤¤Ç¤·¤ç¤¦¤«¡©

No. 616 # 68user 1999/12/24 (¶â) 02:48
> ¥ê¥ó¥¯¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤â¤è¤í¤·¤¤¤Ç¤·¤ç¤¦¤«¡©
¤É¤¦¤¾¡Á¡£°·¤¤¤¬´Êñ¤Ç¥á¥ó¥Æ¤·¤ä¤¹¤¤¥ê¥ó¥¯ÊýË¡¤ò¹Í¤¨¤Æ¤¤¤ëºÇÃæ¤Ê¤Î¤Ç¡¢
µÕ¥ê¥ó¥¯¤ÏÄ¥¤ì¤Þ¤»¤ó¤¬ (3¥õ·î¶á¤¯Çº¤ó¤Ç¤Þ¤¹)¡£

No. 617 # ¹ÓÌÚ 1999/12/24 (¶â) 11:09
>530 USER unknown ¤Ç¤·¤¿¡£

¤¦¡Á¡¤¤¹¤ß¤Þ¤»¤ó¡£
Èù̯¤ËUsername¤ÈPassword¤ò´Ö°ã¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
¥Ø¥Ü¥ó¼°¤Ç¤·¤¿¡£¡Øh¡Ù¤¬È´¤±¤Æ¤¤¤Þ¤¹¡£
Àµ¤·¤¯¤Ï¢­¤³¤Á¤é¤Ç¤¹¡£
hostname:ftp.theglobe.com
Username:Otameshi1
Password:Otameshi

No. 618 # 68user 1999/12/24 (¶â) 12:15
¡ÖUNIX ¤ÎÉô²°¡×¤ò¹¹¿·¤·¤Þ¤·¤¿¡£
    http://X68000.startshop.co.jp/~68user/unix/
¤³¤Î·Ç¼¨ÈĤä¥á¡¼¥ë¤Ç夤¤¿¤´°Õ¸« (.xsession/complete ¤Ê¤É) ¤Ï
Á´¤ÆÈ¿±Ç¤µ¤»¤¿¤Ä¤â¤ê¤Ç¤¹¤¬¡¢¤â¤·¤Þ¤À½ñ¤­ÊѤï¤Ã¤Æ¤¤¤Ê¤¤¤â¤Î¤¬
¤¢¤ê¤Þ¤·¤¿¤é ¤´»ØŦ²¼¤µ¤¤ m(_ _)m

> ¥Ø¥Ü¥ó¼°¤Ç¤·¤¿¡£¡Øh¡Ù¤¬È´¤±¤Æ¤¤¤Þ¤¹¡£
¤ª¤ª¡¢¤Û¤ó¤Þ¤ä¡£FreeBSD ¤Î ftp ¤Ç¤Ï¥í¥°¥¤¥ó¤Ç¤­¤ë¤±¤É¡¢
ftptrans ¤ä telnet ftp.theglobe.com ftp ¤Ç¤Ï¤¦¤Þ¤¯¤¤¤«¤Ê¤¤¡£
¤Ê¤ó¤Ç¤À¤í¤¦¡£Ä´¤Ù¤Æ¤ª¤­¤Þ¤¹¡£

No. 619 # skeleton_M. [E-mail] 1999/12/24 (¶â) 14:56
¤Ï¤¸¤á¤Þ¤·¤Æ¡£¥á¡¼¥ë¤Ï²¿ÅÙ¤«Á÷¤Ã¤¿¤±¤ì¤É¡¢·Ç¼¨ÈĤ˥«¥­¥³¤¹¤ë
¤Î¤Ï¤³¤ì¤¬½é¤á¤Æ¤Ç¤¹¡£

¡ÖUNIX¤ÎÉô²°¡×¤ò¸«¤µ¤»¤Æ¤¤¤¿¤À¤­¤Þ¤·¤¿¡£ÀâÌÀ¤¬¾Ü¤·¤¯¡¢Èó¾ï¤Ë
ÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤¹¡£¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£complete¥³¥Þ¥ó¥É¤Ë
´Ø¤·¤Æ¤Ï¤³¤ì¤«¤é¤¸¤Ã¤¯¤ê¤È¸«¤Æ¤¤¤³¤¦¤«¤Ê¤È»×¤Ã¤Æ¤Þ¤¹¡£

¤¢¤È¡¢~/.xsession¤Ë¤Ä¤¤¤Æ¡£¥Ñ¡¼¥ß¥Ã¥·¥ç¥óÊѹ¹¤Ë´Ø¤·¤Æ¤Ï
    % chmod +wx ~/.xsession
¤Ç¤Ï¤Ê¤¯¤Æ¡¢
    % chmod u+wx ~/.xsession
¤È¤·¤¿Êý¤¬¤¤¤¤¤Î¤Ç¤Ï¡©¡Ö+wx¡×¤À¤È¤¹¤Ù¤Æ¤Î¿Í¤ËÊÔ½¸¤òµö²Ä¤¹¤ë¤³¤È
¤Ë¤Ê¤ê¡¢´í¸±¤À¤È»×¤¤¤Þ¤¹¡£¡Ê¤¢¤ëÆü¥í¥°¥¤¥ó¤·¤¿¤é¤¤¤­¤Ê¤ê¥Ç¥¹¥¯¥È¥Ã
¥×¤¬ÊѤï¤Ã¤Æ¤¤¤¿¡ª¤Ê¤ó¤Æ¤³¤È¤Ë...¡Ë

No. 620 # 68user 1999/12/24 (¶â) 16:52
> 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 ¤È»ØÄꤹ¤ëÊʤòÉÕ¤±¤¿Êý¤¬¤è¤¤¡×¤È¤¤¤¦
# ¹Í¤¨¤â¤¢¤ë¤ó¤Ç¤·¤ç¤¦¤Í¡£¤É¤Ã¤Á¤¬¤¤¤¤¤Î¤«¤Ê¡£

No. 621 # ROL 1999/12/24 (¶â) 21:04
¤É¤¦¤â¡¢¤´Ìµº»ÂÁ¤·¤Æ¤ª¤ê¤Þ¤¹¡ä¤ª»Õ¾¢ÍÍ
¤¤¤ä¤¡¡¢»Å»ö¤¬Ë»¤·¤¯¤Æ¤Ê¤ó¤È¤â¤Ê¤ê¤Þ¤»¤ó¤Ç¤¹¡¢¤Ï¤¤¡£
¤Ç¡¢¤¤¤Ä¤â¤¤¤Ä¤âº¤¤Ã¤¿¤È¤­¤Ë½õ¤±¤Æ¤¤¤¿¤À¤¤¤Æ¶²½Ì¤Ê¤ó¤Ç¤¹¤¬¡¢
FROM¤«¤é¡¢
$len=$ENV{'CONTENT_LENGTH'};
read(STDIN, $st, $len);
¤È¡¢STDIN¤Ç¤È¤Ã¤Æ¤­¤¿¥Ç¡¼¥¿¤ËÆüËܸ줬´Þ¤Þ¤ì¤Æ¤¤¤¿¾ì¹ç
¡ó¤Ê¤ó¤Á¤ã¤é¤ÇÃÖ¤­´¹¤¨¤é¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¤è¤Í¡£
¤³¤ì¤ò¸µ¤ÎÆüËܸì¤ËÌᤷ¤¿¤¤¤ó¤Ç¤¹¤±¤É¡¢¤Ê¤Ë¤«¤¤¤¤ÊýË¡¤¬
¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡©

Ëè²óËè²óFORM¤ËÂбþ¤·¤¿ÊÑ¿ô¤òCGI(Perl)Æâ¤Ç
ÄêµÁ¤¹¤ë¤Î¤Ç¤Ï¤Ê¤¯ÈÆÍѤÎCGI¤òºî¤ê¤¿¤¤¤ó¤Ç¤¹¡£
cgi-lib.pl¤ò»È¤Ã¤Ækeys´Ø¿ô¤Ç¥Ï¥Ã¥·¥å¤«¤é¼è¤ê½Ð¤¹¤È¡¢
Á÷¤é¤ì¤Æ¤­¤¿¥Ç¡¼¥¿¤Î½çÈÖ¤¬¤°¤Á¤ã¤°¤Á¤ã¤Ë¤Ê¤ë¤Î¤ò
¤Ê¤ó¤È¤«¤Ç¤­¤ì¤Ð¤½¤ì¤Ç¤â¤¤¤¤¤ó¤Ç¤¹¤±¤É¤Í¡Ê¾Ð¡Ë

No. 622 # ROL 1999/12/24 (¶â) 23:39
¤¹¤ó¤Þ¤»¤ó¡¢²¼¤Î¼ÁÌä²ò·è¤·¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£
¤â¤¦°ìÅÙñÑñÌËܤÈÁÍËܤò¸«Ä¾¤·¤Æ¤¿¤é¡¢¤Î¤Ã¤Æ¤Þ¤·¤¿¡£
¤½¤Î¤â¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤¹¤±¤É¡¦¡¦¡¦¡£
¶á¶·Êó¹ð
¤³¤³¿ô¥ö·îSETI@home¤Ç¼«Âð¤ÎPC¤¬24»þ´ÖÆ°¤­¤Ã¤Ñ¤Ê¤·¡Ê¾Ð¡Ë

No. 623 # 68user 1999/12/25 (ÅÚ) 07:22
> ¤³¤³¿ô¥ö·îSETI@home¤Ç¼«Âð¤ÎPC¤¬24»þ´ÖÆ°¤­¤Ã¤Ñ¤Ê¤·¡Ê¾Ð¡Ë
RC5-64 ¤ÈƱ¤¸¤¯ seti ¤â Mac (¤È¤¤¤¦¤«G4?) ¿Ø±Ä¤¬
Í¥Àª¤Ê¤ó¤Ç¤·¤ç¤¦¤«? ¤¦¤Á¤Î¤Þ¤ï¤ê¤Î24»þ´Ö²ÔƯ¤Î
¥Þ¥·¥ó¤Ï 486DX2+Memory 8MB+NetBSD1.4.1 ¤·¤«¤Ê¤¤¤Î¤Ç¡¢
»²²Ã¤Ï¤È¤Æ¤â¸·¤·¤¤¤Ç¤¹(^^;

No. 624 # ¹ÓÌÚ [E-mail] 1999/12/25 (ÅÚ) 21:36
>²þ¹Ô¥³¡¼¥É¤¬ LF ¤À¤Ã¤¿¤«¤é¤Ç¤·¤¿¡£
¤Ê¤ë¤Û¤É¡¤¤½¤¦¤¤¤¦¤³¤È¤À¤Ã¤¿¤Î¤Ç¤¹¤Í¡£
Á´¤Æ¤òCRLF¤Ë½¤Àµ¤·¤¿¤é¤¦¤Þ¤¯¤¤¤¯¤è¤¦¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤Ç¡¤¤³¤ó¤Ê¤â¤ó¤òºî¤Ã¤Æ¤Þ¤·¤¿¡£
¤¢¤Þ¤êÌò¤Ë¤¿¤¿¤Ê¤¤Êª¤Ç¤¹¤±¤É¤Í(^^;
http://disk.hypermart.net/fxp.cgi
http://disk.hypermart.net/fxp.txt #¥½¡¼¥¹

Prev< No. 547¡Á624> Next  [ºÇ¿·È¯¸À¤ËÌá¤ë] [²áµî¥í¥°°ìÍ÷]