68user's page ·Ç¼¨ÈÄ

Prev< No. 3928¡Á4028> Next  [ºÇ¿·È¯¸À¤ËÌá¤ë] [²áµî¥í¥°°ìÍ÷]
No. 3928 # yoshitani 2004/08/17 (²Ð) 10:53:25
/etc/passwd¥Õ¥¡¥¤¥ë¤«¤é¥°¥ë¡¼¥×ID¤¬¥¼¥í¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥æ¡¼¥¶¤ò½ÐÎϤ¹¤ë¾ì¹ç¡¢
¡Ögrep ':00*:' /etc/passwd¡×¤È¤¹¤ë¤È
root¤À¤±¤¬°Ê²¼¤Î¤è¤¦¤ÊÆâÍƤǰú¤Ã¤«¤«¤ê¤Þ¤¹¡£
¡Öroot:x:0:1:Super-User:/:sbin/sh¡×
¤·¤«¤·¡¢²¿¸Î¤³¤ì¤¬¤Ò¤Ã¤«¤«¤ë¤Î¤«¤¬¤ï¤«¤ê¤Þ¤»¤ó¡£
grep¤Î¾ò·ï¤Ç¡Ö:00*:¡×¤È¤·¤Æ¤¤¤ë¤Î¤Ë¡¢¤Ê¤¼¤³¤ì¤ò´Þ¤ó¤Ç¤¤¤Ê¤¤root¤Î
¹Ô¤¬¤Ò¤Ã¤«¤«¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©¤´Â¸ÃΤÎÊý¡¢¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡£
OS¤ÏSolaris7¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£
  

ÀÖ¿§¤Îʸ»ú¤Ï ¡ÖWindows µ¡¼ï°Í¸ʸ»ú¡×¤«¡¢¤¤¤ï¤æ¤ë¡ÖȾ³Ñ¥«¥Ê¡×¤Ç¤¹¡£ ¤³¤Î·Ç¼¨ÈĤǤϼ«Æ°ÊÑ´¹¤µ¤ì¤Þ¤¹¤¬¡¢º£¸å¤Ï»ÈÍѤ·¤Ê¤¤¤Ç²¼¤µ¤¤

No. 3929 # yoshitani 2004/08/17 (²Ð) 10:58:56
/etc/passwd¥Õ¥¡¥¤¥ë¤«¤é¥°¥ë¡¼¥×ID¤¬¥¼¥í¤Ë¤Ê¤Ã¤Æ¤¤¤ë¥æ¡¼¥¶¤ò½ÐÎϤ¹¤ë¾ì¹ç¡¢
¡Ögrep ':00*:' /etc/passwd¡×¤È¤¹¤ë¤È
root¤À¤±¤¬°Ê²¼¤Î¤è¤¦¤ÊÆâÍƤǰú¤Ã¤«¤«¤ê¤Þ¤¹¡£
¡Öroot:x:0:1:Super-User:/:sbin/sh¡×
¤·¤«¤·¡¢²¿¸Î¤³¤ì¤¬¤Ò¤Ã¤«¤«¤ë¤Î¤«¤¬¤ï¤«¤ê¤Þ¤»¤ó¡£
grep¤Î¾ò·ï¤Ç¡Ö:00*:¡×¤È¤·¤Æ¤¤¤ë¤Î¤Ë¡¢¤Ê¤¼¤³¤ì¤ò´Þ¤ó¤Ç¤¤¤Ê¤¤root¤Î
¹Ô¤¬¤Ò¤Ã¤«¤«¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©¤´Â¸ÃΤÎÊý¡¢¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡£
OS¤ÏSolaris7¤ò»ÈÍѤ·¤Æ¤¤¤Þ¤¹¡£
  

No. 3930 # 68user 2004/08/17 (²Ð) 13:20:17
>>3929 yoshitani
> grep¤Î¾ò·ï¤Ç¡Ö:00*:¡×¤È¤·¤Æ¤¤¤ë¤Î¤Ë
:00*: ¤Ï¡¢
      ¥³¥í¥ó¤¬¤¢¤Ã¤Æ¡¢¤½¤Î¸å¤Ë 0 ¤¬¤¢¤Ã¤Æ¡¢¤½¤Î¸å¤Ë 0¸Ä°Ê¾å¤Î
      0 ¤¬¤¢¤Ã¤Æ¡¢¤½¤Î¸å¤Ë¥³¥í¥ó¤¬¤¢¤ë
¤È¤¤¤¦Àµµ¬É½¸½¤Ç¤¹¤Î¤Ç¡¢
> ¡Öroot:x:0:1:Super-User:/:sbin/sh¡×
¤Î :0: ¤ÎÉôʬ¤Ë¥Þ¥Ã¥Á¤·¤Þ¤¹¡£

GID ¤¬ 0 ¤Î¤â¤Î¤ò°ú¤ÃÄ¥¤ê¤¿¤¤¤Ê¤é¡¢
    % grep ':[0-9][0-9]*:0:' /etc/passwd
    % awk -F: '$4~/^0$/ {print}' /etc/passwd
¤Ê¤É¤È¤¹¤ì¤Ð¤è¤¤¤«¤È»×¤¤¤Þ¤¹¡£

No. 3931 # MERCY 2004/08/18 (¿å) 01:32:54
>>3924 ¥Í¥Ã¥È¥ï¡¼¥¯1ǯÀ¸
¥Í¥Ã¥È¥ï¡¼¥¯Åª¤Ë¶á¤¤¤È¤ÏƱ°ì¥Í¥Ã¥È¥ï¡¼¥¯Æâ¤Î¤³¤È¤ò»Ø¤·¤Þ¤¹¡£
¤Þ¤¡¡¢ÉáÄ̤ʤé¥ë¡¼¥¿¡¼¤ò¶´¤Þ¤Ê¤¤ÄÌ¿®¤È¸À¤¦¤³¤È

No. 3932 # Yoshitani 2004/08/18 (¿å) 12:24:43
>>3930 68user
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
Àµµ¬É½¸½¡¢¤â¤Ã¤ÈÊÙ¶¯¤·¤Æ¤ß¤Þ¤¹¡£

No. 3933 # ¤¿¤í¡¼ [E-mail] 2004/08/19 (ÌÚ) 19:35:35
¤Ï¤¸¤á¤Æ½ñ¤­¹þ¤ß¤ò¤µ¤»¤Æ¤¤¤¿¤À¤­¤Þ¤¹¡£¤¿¤í¡¼¤È¿½¤·¤Þ¤¹¡£
OpenSSL¤Çñ½ã¤ÊHTTPS¥¯¥é¥¤¥¢¥ó¥È¤Î¥×¥í¥°¥é¥ß¥ó¥°¤ò¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢
SSL_connect(ssl)´Ø¿ô¤Î¥¿¥¤¥à¥¢¥¦¥È¤ÎÀßÄê¤Î»ÅÊý¤¬¤ï¤«¤ê¤Þ¤»¤ó¡£

¤â¤·¤´Â¸ÃΤǤ·¤¿¤é¡¢¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£
µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 3934 # 68user 2004/08/19 (ÌÚ) 19:43:54
>>3933 ¤¿¤í¡¼
> SSL_connect(ssl)´Ø¿ô¤Î¥¿¥¤¥à¥¢¥¦¥È¤ÎÀßÄê¤Î»ÅÊý¤¬¤ï¤«¤ê¤Þ¤»¤ó¡£
´Ø¿ô̾¤·¤«¸«¤Æ¤Þ¤»¤ó¤¬ SSL_set_timeout ¤ä SSL_CTX_set_timeout ¤¸¤ã
¤Ê¤¤¤Ç¤¹¤«¤Í¤§¡£¤¼¤Ò·ë²Ì¤ò¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£

No. 3935 # TSURU 2004/08/20 (¶â) 20:55:22
¤³¤ó¤Ð¤ó¤Ï¡£TSURU¤Ç¤¹¡£
µ×¤·¤Ö¤ê¤Ç¤¹¡£
¤Þ¤¿¡¢³§¤µ¤ó¤Î¤ªÎϤòÂߤ·¤ÆÍߤ·¤¤¤È»×¤¤¤Þ¤¹¡£

sendmail ¤òµ×¤·¤Ö¤ê¤Ë¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢
°Ê²¼¤Î¤è¤¦¤Ê¥á¥Ã¥»¡¼¥¸¤¬ÂçÎ̤˽ÐÎϤµ¤ì¤Æ¤·¤Þ¤¤¡¢¥³¥ó¥Ñ¥¤¥ë
¤Ç¤­¤Þ¤»¤ó¡£

unknown flag -lang-c
unknown flag -Asystem(unix)
unknown flag -Asystem(svr4)
unknown flag -Acpu(sparc)
unknown flag -Amachine(sparc)

´Ä¶­¤Ï¡¢°Ê²¼¤Î¤È¤ª¤ê¤Ç¤¹¡£

OS : Soraris 2.5.1
sendmail : sendmail-8.12.11

°ÊÁ°¤ÏÌäÂê¤Ê¤¯¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Æ¤¤¤¿¤Î¤Ç¤¹¤¬¡¢µ×¤·¤Ö¤ê¤Ë¼Â¹Ô¤·¤¿¤é¡¢¤¤¤­¤Ê¤ê
¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Ê¤¯¤Ê¤Ã¤Æ¤·¤Þ¤¤¤Þ¤·¤¿¡£´Ä¶­¤Ï¡¢°ÊÁ°¤ÈÆäËÊѤ¨¤Æ¤¤¤Þ¤»¤ó¡£
¥³¥ó¥Ñ¥¤¥é¤Ï gcc ¤Ç¤¹¤¬¡¢¤«¤Ê¤ê¸Å¤¤¤Ç¤¹¡£

% l /usr/local/bin/gcc
-rwxr-xr-x 1 root other 118928 9·î 1Æü 1996ǯ /usr/local/bin/gcc*

¥³¥ó¥Ñ¥¤¥é¤¬¸Å¤¤¤È¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Ê¤¯¤Ê¤ë¤È¤¤¤¦¤³¤È¤Ï¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¤Á¤Ê¤ß¤Ë¡¢sendmail ¤À¤±¤Ç¤Ê¤¯¡¢UW-IMAP ¤Ê¤É¾¤ÎÀ½Éʤò¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤·¤¿
»þ¤Ë¤â¡¢Æ±Íͤʸ½¾Ý¤È¤Ê¤ê¤Þ¤¹¡£
gcc ¤¬Àµ¤·¤¯¥¤¥ó¥¹¥È¡¼¥ë¤µ¤ì¤Æ¤¤¤Ê¤¤¤Î¤¬¸¶°ø¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡©¡Ê¤À¤È¤·¤Æ¤â¡¢
°ÊÁ°¤ÏÀµ¾ï¤Ë¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Æ¤¤¤Þ¤·¤¿¡£¡Ë

¤É¤Ê¤¿¤«¡¢²ò·èÊýË¡¤ò¶µ¤¨¤Æ¤¤¤¿¤À¤­¤¿¤¤¤È»×¤¤¤Þ¤¹¡£
¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 3936 # °ì¿Í 2004/08/23 (·î) 21:39:37
°Ê²¼¤Î¥«¥ó¥Þ¤Ç¶èÀÚ¤é¤ì¤¿¥Ç¡¼¥¿¤ò¥Õ¥£¡¼¥ë¥É£±¤ò¥­¡¼¤Ë¤·¤Æ¡¢¥Õ¥£¡¼¥ë¥É3¤ò
£±¹Ô¤ËÊÔ½¸¤·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢½èÍý¤¬½ªÎ»¤·¤Æ¤¯¤ì¤Þ¤»¤ó¡£
̵¸Â¥ë¡¼¥×¤Î¾õÂ֤ˤʤäƤ·¤Þ¤¤¤Þ¤¹¡£

¾å¼ê¤¯¥Õ¥¡¥¤¥ë¤Î½ªÎ»¤òȽÃǤ·¤Æ¤¤¤Þ¤»¤ó¡£
¥Õ¥¡¥¤¥ë¤Î½ª¤ï¤ê¡ÊEOF)¤òȽÃǤ¹¤ë¤Ë¤Ï¤É¤¦¤·¤¿¤é¤Ç¤­¤Þ¤¹¤«¡£


--¥Ç¡¼¥¿--------------
A001,¾¦ÉÊÈÖ¹æ,0001
A001,¾¦ÉÊÈÖ¹æ,0002
A001,¾¦ÉÊÈÖ¹æ,0003
A002,¾¦ÉÊÈÖ¹æ,0001
    :
    :
Annn,¾¦ÉÊÈÖ¹æ,0001
Annn,¾¦ÉÊÈÖ¹æ.0002

--·ë²Ì--------------------
A001,0001,0002,0003
A002,0001
    :
    :
Annn,0001,0002

----------------------------------
#!/bin/sh
#

SORT_FILE="/tmp/sort_csv.log"
OUT_FILE="/tmp/kekka.log"

rm ${OUT_FILE}* > /dev/null 2>&1

echo "*** start ***"

awk -v OUT=${OUT_FILE} -F"," '
BEGIN {
                count = 0+0 ;
                output=sprintf("%s",OUT) ;
        }
function edit_proc() {
        cnt = 0+1 ;
        dumy = $1 ;
        printf("%s",$1) >> output ;

        while( NF>0 ) {
                if (dumy != $1) {
                        printf("\n") >> output ;
                        dumy = $1 ;
                        printf("%s",$1) >> output ;
                        cnt++ ;
                }
                printf(",%s",$3) >> output ;
                getline ;
        }
        printf("\n") >> output ;
        return cnt ;
}
{
        count=edit_proc() ;
}
END {
        close(output) ;
        printf("syori count [ %d ] ken\n",count) ;
}' ${SORT_FILE}

echo "*** end ***"

No. 3937 # ¥Í¥Ã¥È¥ï¡¼¥¯1ǯÀ¸_forMERCY¤µ¤Þ 2004/08/24 (²Ð) 00:31:19
>>3931 MERCY
MERCY¤µ¤Þ¡£¤´²óÅúÍ­¤êÆñ¤¦¤´¤¶¤¤¤Þ¤¹¡£¤ªÎ餬ÃÙ¤¯¤Ê¤Ã¤Æ¤´¤á¤ó¤Ê¤µ¤¤¡£
¤³¤ì¤«¤é¤â¤½¤Î¾¡¢²¼¤é¤Ê¤¤¤³¤È¤Ç¼ÁÌ䤹¤ë¤È»×¤ï¤ì¤Þ¤¹¤Î¤Ç¡¢
À§Èó¤È¤âµ¹¤·¤¯¤ª´ê¤¤Ãפ·¤Þ¤¹¡£
Í­¤êÆñ¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

No. 3938 # ¥Í¥Ã¥È¥ï¡¼¥¯1ǯÀ¸_for68user¤µ¤Þ 2004/08/24 (²Ð) 00:49:40
>>3926 68user
´ÉÍý¼Ô¤µ¤Þ¡£ÂçÊѤªÀ¤ÏäˤʤäƤª¤ê¤Þ¤¹¡£
¤¯¤À¤é¤Ê¤¤¼ÁÌä¤Ë¤â¡¢¤¤¤Ä¤â°ìÈ֤ˤ´²óÅú²¼¤µ¤êÂçÊÑ´ò¤·¤¤¤Ç¤¹¡£
ËÜÅö¤ËÍ­¤êÆñ¤¦¤´¤¶¤¤¤Þ¤¹¡£

>> CSMA/CD¤Î¾¡¢CSMA/CA¡¢¥Û¥Ã¥È¥Ý¥Æ¥È¥ë¡¼¥Æ¥£¥ó¥°¡¢¶áÎÙõº÷µ¡Ç½(v6)
>CSMA/CD¡¦CSMA/CA ¤Ï¶á¤¤¤È¤¤¤¦³µÇ°¤È¤Ï¤Þ¤Ã¤¿¤¯´Ø·¸¤Ê¤¯¡¢LAN Æâ¤Ç¤Î
>¥³¥ê¥¸¥ç¥ó¤òËɻߤ¹¤ë¤¿¤á¤Î»ÅÁȤߤÀ¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£

¤Ï¤¤¡£¤Þ¤µ¤Ë¤½¤ÎÄ̤ê¤Ç¤·¤¿¡£¡£
²ÝÂê¤ò½Ð¤·¤¿¾å»Ê¤ÏNW¤¬¤É¤ÎÍͤËÄÌ¿®¤·¤Æ¤¤¤ë¤Î¤«¤òÊÙ¶¯¤µ¤»¤¿¤¯¡¢
CSMA/CD¡¦CSMA/CA¤Î²ÝÂê¤ò»ý¤Á½Ð¤·¤¿¤â¤Î¤Ç¤·¤¿¡£
¥³¥ê¥¸¥ç¥óËɻߤ¬NWÆâÄÌ¿®¤Î®¤µ¤À¤È»×¤Ã¤Æ¤¤¤¿ÀèÇÚ¤¬¸í¤Ã¤Æ¡¢
¡ÖNWÆâ¤Î¶á¤µ¡×¤È´ØÏ¢ÉÕ¤±¥¢¥É¥Ð¥¤¥¹¤·¤Æ¤¯¤ì¤¿¤â¤Î¤Ç¤¹¤«¤éº®Í𤷤Ƥޤ·¤¿¡£

¡ÖUNIX¤È¸À¤¦¤â¤Î¤¬¡¢¥µ¡¼¥Ð¸þ¤¬¼çÂΡפȤɤ³¤«¤Ç»×¤Ã¤Æ¤¤¤ë¤Î¤Ç¡¢
¤³¤Á¤é¤ÇNW¤Î¼ÁÌä¤Þ¤Ç¤·¤Æ¤·¤Þ¤Ã¤Æ¿½¤·Ìõ¤±¤´¤¶¤¤¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤È¤Ë¤«¤¯ËÜÅö¤ËÍ­¤êÆñ¤¦¤´¤¶¤¤¤Þ¤·¤¿¡ª

No. 3939 # ¥«¥È¥¦ [E-mail] 2004/08/24 (²Ð) 10:04:33
¤Ï¤¸¤á¤Þ¤·¤Æ¡£
¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

¸½ºßHP-UX11.00¡¢B¥·¥§¥ë¤Ç¥í¥°¤Î´Æ»ë¥Ä¡¼¥ë¤òºî¤Ã¤Æ¤¤¤Þ¤¹¡£

ÁᮼÁÌ䤵¤»¤Æ¤¤¤¿¤À¤­¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
¤¿¤È¤¨¤Ð¡¢°Ê²¼¤Î¤è¤¦¤Ê¥í¥°¤¬¤¢¤Ã¤¿¤È¤·¤Þ¤¹¡£
------------------------------------------
1:I have a error. You have a worning.
2:I have a worning. You have a error.
------------------------------------------

ÊÑ¿ô¤Ë¥ï¥¤¥ë¥É¥«¡¼¥É¤ò»ÈÍѤ·¤Æ
------------------------------------------
pattern="*error*worning*"
------------------------------------------
¤È¥Ñ¥¿¡¼¥óÄêµÁ¤·¤Æ¤ª¤¤¤Æ¡¢¥í¥°¥Õ¥¡¥¤¥ë¤ò°ì¹Ô¤º¤ÄÆɤ߹þ¤ß
¤³¤Î¾ì¹ç¤Ç¤¹¤È¡¢°ì¹ÔÌܤΤ߽ÐÎϤµ¤»¤ë¤È¤¤¤¦¤³¤È¤Ï²Äǽ¤Ç¤·¤ç¤¦¤«¡©

¸½ºß
------------------------------------------
message=`echo $line | sed -n /$pattern/p`
if [ "x$message" = "x" ] ; then
        exit 0
else
        echo $message
        exit 1
fi
#($line¤Ï¥í¥°¥Õ¥¡¥¤¥ë¤ÎÆɤ߼è¤ê¹Ô)
------------------------------------------
¤È¤¤¤¦¤è¤¦¤Ê¤³¤È¤¬¡¢¤ä¤ê¤¿¤¤¤Î¤Ç¤¹¤¬¡¢¤¦¤Þ¤¯¤¤¤­¤Þ¤»¤ó¡£


¤´¶µ¼ø¤Î¤Û¤É¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

No. 3940 # zsh 2004/08/24 (²Ð) 15:00:13
>>3936 °ì¿Í
¤³¤ó¤Ê´¶¤¸¤Ç¤É¤¦¤Ç¤¹¤«¡©
------
awk 'BEGIN {
                FS=",";
                dummy="";
        } {
                if ( $1 != dummy ) {
                        if ( NR > 1 ) printf "\n";
                        printf "%s,%s",$1,$3;
                        dummy=$1
                } else {
                        printf ",%s",$3
                }
          } END {
                printf "\n";
          }' infile
------

>>3939 ¥«¥È¥¦
pattern='.*error.*worning.*'
¤Ç¤ÏÂÌÌܤǤ¹¤«¡©

No. 3941 # °ì¿Í 2004/08/25 (¿å) 09:51:00
>>3940 zsh

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¾å¼ê¤¯¤¤¤­¤Þ¤·¤¿¡£

¤³¤ó¤Ê´Êñ¤ÊÊýË¡¤Ç¤Ç¤­¤ë¤Î¤Ç¤¹¤Í¡£
¹Í¤¨¤¹¤®¤Ç¤¹¤Í¡£

No. 3942 # 68user 2004/08/25 (¿å) 10:39:34
>>3935 TSURU
> sendmail ¤òµ×¤·¤Ö¤ê¤Ë¥³¥ó¥Ñ¥¤¥ë¤·¤è¤¦¤È¤·¤¿¤Î¤Ç¤¹¤¬¡¢°Ê²¼¤Î¤è¤¦¤Ê
> ¥á¥Ã¥»¡¼¥¸¤¬ÂçÎ̤˽ÐÎϤµ¤ì¤Æ¤·¤Þ¤¤¡¢¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Þ¤»¤ó¡£
http://mm.apache.or.jp/pipermail/apache98-99/1999-August/001431.html
¤Î¥¹¥ì¥Ã¥É¤ò»²¹Í¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£

gcc ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤Ê¤ª¤µ¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤Î¤«¡¢PATH ¤ÎÀßÄ꼡Âè¤Ç²¿¤È¤«
¤Ê¤ë¤â¤Î¤Ê¤Î¤«¤Ï¤ï¤«¤ê¤Þ¤»¤ó¡£

> ¥³¥ó¥Ñ¥¤¥é¤¬¸Å¤¤¤È¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Ê¤¯¤Ê¤ë¤È¤¤¤¦¤³¤È¤Ï¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¤¢¤ê¤Þ¤¹¡£¤·¤«¤·º£²ó¤Ï´Ä¶­¤ÎÌäÂê¤Ç¤·¤ç¤¦¡£

>>3939 ¥«¥È¥¦
> message=`echo $line | sed -n /$pattern/p`
¼ÁÌäÆâÍƤȤϴط¸¤¢¤ê¤Þ¤»¤ó¤¬¡¢$line ¤Ë¥ï¥¤¥ë¥É¥«¡¼¥É¤Ê¤É¤¬Æþ¤Ã¤Æ¤¤¤ë¤È
¥·¥§¥ë¤¬Å¸³«¤·¤Æ¤·¤Þ¤¦¤Î¤Ç¡¢¥í¥°ÆâÍƤò¥·¥§¥ëÊÑ¿ô¤Ë³ÊǼ¤¹¤ë¤ä¤êÊý¤Ï¤ª´«¤á
¤·¤Þ¤»¤ó¡£

No. 3943 # ½é¿´¼Ô¡© 2004/08/26 (ÌÚ) 10:22:02
»Ï¤á¤Þ¤·¤Æ¡¢¤³¤ó¤Ë¤Á¤Ï¡£
UNIX¹Ö½¬¤ò¼õ¤±¤Æ¤«¤é5ǯ°Ê¾å¤â·Ð¤Ä¤Î¤Ë¡¢¤Û¤È¤ó¤É½é¿´¼Ô¤Ç¤¹¡£

´ðËÜŪ¤Ê¼ÁÌä¤Ç¤¹¤ß¤Þ¤»¤ó¡£
tar xvf *.tar
¤ÇŸ³«¤·¤Æ¡¢¥Õ¥¡¥¤¥ë¾ðÊó¤òɽ¼¨¤µ¤»¤¿¤È¤­¡¢
¤½¤ÎÆâÍƤò¥Õ¥¡¥¤¥ë¤ËÍî¤È¤¹¤Ë¤Ï¤É¤¦¤·¤¿¤é¤¤¤¤¤Ç¤·¤ç¤¦¤«¡©
¤³¤ÎŸ³«¤Ç¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬¤­¤Á¤ó¤ÈŸ³«¤µ¤ì¤¿¤«³Îǧ¤·¤¿¤¤¤Î¤Ç¤¹¡£
¡Ê¼Â¤Ï£±¤Ä¤À¤±Å¸³«¤µ¤ì¤Æ¤¤¤Ê¤¤¡¦¡¦¡¦¡Ë
ËÜÅö¤Ë¡¢´ðËÜŪ¤Ê¼ÁÌä¤Ç¤¹¤ß¤Þ¤»¤ó¡£

¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

No. 3944 # ¥Ý¥Á¸ø [E-mail] 2004/08/26 (ÌÚ) 11:45:54
½é¤á¤Þ¤·¤Æ¡£¥Ý¥Á¸ø¤È¿½¤·¤Þ¤¹¡£

¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÊÙ¶¯Ãæ¤Ç¤¹¤¬¤Á¤ç¤Ã¤È¼ÁÌ䤬¤¢¤ê¤Þ¤¹¡£

º£¡¢http¤Î»ÅÁȤߤòÊÙ¶¯Ãæ¤Ç¤³¤Á¤é¤Î¥µ¥¤¥È¤Ë¤¿¤É¤êÃ夭¤Þ¤·¤¿¡£
°Ê²¼¤Î¥Ú¡¼¥¸¤Ç¸ø³«¤µ¤ì¤Æ¤¤¤ëtcpdump-filter.pl¤Ç
ttp://x68000.q-e-d.net/~68user/net/tcpdump.html

½ñ¤«¤ì¤Æ¤¤¤¿¤È¤ª¤ê¤Ë¼Â¹Ô¤·¤Æ
¸«»ö¥Ñ¥±¥Ã¥È¤¬À°·Á¤µ¤ì¤Æɽ¼¨¤µ¤ì¤Þ¤·¤¿¡£

°Ê²¼¤Î¤è¤¦¤Ê¥³¥Þ¥ó¥É¤Ç¤¹¡£

tcpdump -l -s 1600 -x -i lo0 | tcpdump-filter.pl | grep http¡¡>> packet.txt

xxx.com/ HTTP/1.0 Accept: image/gif, image/x-xbitmap,
xxx.com/ HTTP/1.0 Accept: image/gif, image/x-xbitmap,
xxx.com/ HTTP/1.0 Accept: image/gif, image/x-xbitmap,
zation Required ...

¤½¤ì¤Ç»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¤É¤¦¤â¥í¥°¤ò¸«¤ë¤È
ÀèƬ¤Î3¹Ô¤¯¤é¤¤¤¬Á´¤Æ¾Êά¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤·¤¿¡£

´Ä¶­¤Ïredhat9/perl5.8¤Ç¤¹¡£

²¿¸Î¡¢ÀèƬ¤Î¿ôʸ»ú¤¬¾Êά¤µ¤ì¤Æ¤¤¤ë¤Î¤¬
µ¿Ìä¤Ç¤·¤¿¤Î¤Ç¡¢Åê¹Æ¤·¤Æ¤ß¤Þ¤·¤¿¡£

¤â¤·²¿¤«²ò¤ê¤Þ¤·¤¿¤é¶µ¤¨¤Æ失¤¿¤é¹¬¤¤¤Ç¤¹¡£
µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 3945 # 68user 2004/09/02 (ÌÚ) 21:46:43
>>3943 ½é¿´¼Ô¡©
> tar xvf *.tar
> ¤ÇŸ³«¤·¤Æ¡¢¥Õ¥¡¥¤¥ë¾ðÊó¤òɽ¼¨¤µ¤»¤¿¤È¤­¡¢
> ¤½¤ÎÆâÍƤò¥Õ¥¡¥¤¥ë¤ËÍî¤È¤¹¤Ë¤Ï¤É¤¦¤·¤¿¤é¤¤¤¤¤Ç¤·¤ç¤¦¤«¡©
tar xvf *.tar > out.txt 2>&1 (sh¡¦bash ¤Î¾ì¹ç)
tar xvf *.tar >& out.txt (csh¡¦tcsh ¤Î¾ì¹ç)
¤È¤·¤Þ¤¹¡£¤¿¤À¡¢
> ¤³¤ÎŸ³«¤Ç¤¹¤Ù¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬¤­¤Á¤ó¤ÈŸ³«¤µ¤ì¤¿¤«³Îǧ¤·¤¿¤¤¤Î¤Ç¤¹¡£
¤È¤¤¤¦ÌÜŪ¤Ç¤¢¤ì¤Ð¡¢
      - v ¥ª¥×¥·¥ç¥ó¤ò¤Ä¤±¤Ê¤¤¡£¤³¤ì¤Ç²¿¤«½ÐÎϤµ¤ì¤ì¤Ð
          ¤½¤ì¤Ï¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤Î¤Ï¤º¡£
      - tar ¤Î¥¹¥Æ¡¼¥¿¥¹¥³¡¼¥É ($? ¤ä $status) ¤ò³Îǧ¡£
          ¥¨¥é¡¼¤¬È¯À¸¤·¤Æ¤¤¤ë¤Ê¤é¥¹¥Æ¡¼¥¿¥¹¥³¡¼¥É¤¬ 1 °Ê¾å¤Î¤Ï¤º¡£
¤È¤¤¤¦¼ê¤â¤¢¤ê¤Þ¤¹¡£

>>3944 ¥Ý¥Á¸ø
> ¤½¤ì¤Ç»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¤É¤¦¤â¥í¥°¤ò¸«¤ë¤È
> ÀèƬ¤Î3¹Ô¤¯¤é¤¤¤¬Á´¤Æ¾Êά¤µ¤ì¤Æ¤¤¤ë¤è¤¦¤Ç¤·¤¿¡£
¤¹¤¤¤Þ¤»¤ó¡¢¤Á¤ç¤Ã¤È»þ´Ö¤Èµ¤ÎÏÉÔ­¤Ë¤è¤ê¡¢¥¹¥¯¥ê¥×¥È¤Î
³Îǧ¤Ï¸åÆü¹Ô¤¤¤Þ¤¹¡£¿½¤·Ìõ¤Ê¤¤¤Ç¤¹¡£

¤â¤·Àµ¤·¤¤½ÐÎϤ¬¤Û¤·¤¤¤Ê¤é¡¢tcpdump ¤Î -X ¥ª¥×¥·¥ç¥ó¤ò
»È¤¦¤È¤« (Ethernet ¥Õ¥ì¡¼¥à¤Þ¤Ç½ÐÎϤµ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¤¬)¡¢
ethereal ¤ä ethereal ¤ËÉÕ°¤¹¤ë CUI ¤Î tethereal ¤Î»ÈÍѤò
¸¡Æ¤¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

No. 3946 # 68user 2004/09/02 (ÌÚ) 22:01:41
¡Ö¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁÃÃμ±¡×¤Î¡Ö¥ê¥ó¥¯½¸¡¦»²¹Í½ñÀҡפË
      OpenSSL - °Å¹æ¡¦PKI¡¦SSL/TLS ¥é¥¤¥Ö¥é¥ê¤Î¾ÜºÙ
¤òÄɲä·¤Þ¤·¤¿¡£
      http://X68000.q-e-d.net/~68user/net/link-book.html#4274065731

µîǯº¢¤«¤é¡¢OpenSSL ¤Ë°ìÈ־ܤ·¤¤ÆüËܸì¤Î²òÀâ¤ò½ñ¤¯¤³¤È¤ò
Ìܻؤ·¤Æ¤¬¤ó¤Ð¤Ã¤Æ¤­¤Þ¤·¤¿¤¬¡¢Ì´Çˤì¤Þ¤·¤¿¡£¤³¤ÎËܤ¬¤â¤Ã¤È
Á°¤Ë½Ð¤Æ¤¤¤ì¤Ð¡¢¤¢¤ó¤Ê¤³¤È¤ä¤³¤ó¤Ê¤³¤È¤ÇǺ¤àɬÍפϤʤ«¤Ã¤¿
¤Î¤Ë¡¢¤ÈÍýÉÔ¿Ô¤ÊÅܤꤹ¤é³Ð¤¨¤Þ¤¹¡£

º£¸å¤Ï OpenSSL ¤Ë°ìÈ־ܤ·¤¤ÆüËܸì¤Î¥µ¥¤¥È¤òÌܻؤ¹¤³¤È¤Ë¤·¤Þ¤¹¡£

No. 3947 # ¤À¤ó¤À¤ó 2004/09/05 (Æü) 20:21:01
¤ª½é¤Ç¤¹¡£
ºÇ¶á¤³¤Î£È£Ð¤Ë¤âÂçÊѤªÀ¤ÏäˤʤäƤޤ¹¡£

ÁȤ߹þ¤ßLinux¤Ç¥¯¥ì¥¸¥Ã¥È¥«¡¼¥É¥ê¡¼¥À¡¼¤ò»îºî¤¹¤ë¤³¤È¤Ë¤Ê¤ê¡¢
£Ð£Ð£Ð¤Ç¥¤¥ó¥¿¡¼¥Í¥Ã¥È·Ðͳ¤Ç¥µ¡¼¥Ð¤ÈÄÌ¿®¤¹¤ë¤Ã¤Æ´¶¤¸¤Ç¤¹¡£

¼ê½ç¤½¤Î¾¤Ï»ä¤ËǤ¤»¤é¤ì¤Æ¤¿¤Î¤Ç¡¢Æȼ«¤Î¥×¥í¥È¥³¥ë¤ò¹Í¤¨¤ë¤Î¤¬
ÌÌÅݤÀ¤·¡¢¤æ¤¯¤æ¤¯¤Ï¥»¥­¥å¥ê¥Æ¥£¡¼¤âÂкö¤·¤Ê¤¤¤È¤¤¤±¤Ê¤¤¤Î¤Ç
¥µ¡¼¥Ð¦¤òApache+modssl¤ò»È¤¦¤³¤È¤Ë¤·¤¿¤Î¤Ç¤¹¤¬¡¢¤³¤Î¥µ¥¤¥È¤Î¾ðÊó¤¬
Èó¾ï¤Ë»²¹Í¤Ë¤Ê¤ê¤Þ¤·¤¿¡£¥¯¥é¥¤¥¢¥ó¥È¥½¥Õ¥È¤ò²òÀ⤷¤Æ¤¢¤ë¥µ¥¤¥È¤Ï
Èó¾ï¤Ë¾¯¤Ê¤¤¤Î¤Ç¡¢ÂçÊѽõ¤«¤ê¤Þ¤¹¡£

£Ó£Ó£Ì¥µ¡¼¥Ðǧ¾Ú¤Ê¤·¤Ç¡¢¼Â¸³¥½¥Õ¥È¤¬Æ°ºî¤¹¤ë¤È¤³¤í¤Þ¤Ç¤Ï¹Ô¤­¤Þ¤·¤¿¡ª¡ª

¤Ç¤â»ä¤Î¥«¡¼¥É¤ò»È¤Ã¤Æ¥¤¥ó¥¿¡¼¥Í¥Ã¥È·Ðͳ¤Ã¤Æ¤Î¤Ï¡¢¤Þ¤ÀÉݤ¤¤Î¤Ç¡¢
¥¯¥é¥¤¥¢¥ó¥Èǧ¾Ú¤ËÄ©À路¤¿¤¤¤È»×¤¤¤Þ¤¹¡£

¤½¤ó¤Êµ­»ö¤ò½ñ¤«¤ì¤ë¤´Í½Äê¤Ï¤¢¤ê¤Þ¤»¤ó¤«¡©(^^;
¡Ê¥¯¥é¥¤¥¢¥ó¥È¦¤Ç¥¯¥é¥¤¥¢¥ó¥È¤Î¾ÚÌÀ½ñ¤ò¥ê¥¹¥È¤ËÄɲ乤ë¤À¤±¤Î
¤è¤¦¤Êµ¤¤¬¤·¤Æ¤Þ¤¹¤¬¡¦¡¦¡¦¡Ë

¤³¤ì¤«¤é¤â¤¬¤ó¤Ð¤Ã¤Æ¤¯¤À¤µ¤¤¡£

No. 3948 # 68user 2004/09/05 (Æü) 21:33:31
>>3947 ¤À¤ó¤À¤ó
½ñ¤¯µ¤¤Ï¤¢¤ê¤Þ¤¹¤¬¡¢¤â¤·½ñ¤¯¾ì¹ç¤Ï¡Ö¥¯¥é¥¤¥¢¥ó¥Èǧ¾Ú¤È¤Ï²¿¤«¡×
¤«¤é»Ï¤á¤ë¤Ä¤â¤ê¤Ê¤Î¤Ç¡¢¤¤¤Ä½ñ¤­¤¢¤¬¤ë¤«¤Ï²¿¤È¤â¤¤¤¨¤Þ¤»¤ó¡£

Í×¤Ï SSL_CTX_use_certificate_chain_file() ¤Ê¤É¤ò»È¤Ã¤Æ¥¯¥é¥¤
¥¢¥ó¥È¾ÚÌÀ½ñ¤ò»È¤¨¤Ð¤¤¤¤¤ï¤±¤Ç¤¹¤¬¡¢¾Ü¤·¤¤¤ä¤êÊý¤Ï
>>3946 68user
¤ÎËܤ˽ñ¤¤¤Æ¤¢¤ê¤Þ¤¹¡£

¤Þ¤¿¡¢³µÇ°¤«¤é¤·¤Æ²ø¤·¤¤¾ì¹ç¤Ï¡¢
    - ¼«Á°¤Ç CA (ǧ¾Ú¶É) ¤ò¤¿¤Æ¤ë
    - ¥¯¥é¥¤¥¢¥ó¥È¤¬ CSR (¾ÚÌÀ½ñȯ¹ÔÍ×µá) ¤òºîÀ®¤¹¤ë
    - ¤½¤ì¤ò¼õ¤±¤Æ CA ¤¬¾ÚÌÀ½ñ¤òȯ¹Ô¤¹¤ë
    - IE ¤Ê¤É¤Î¥Ö¥é¥¦¥¶¤Ë¾ÚÌÀ½ñ¤òÁȤ߹þ¤à
¤È¤·¤Æ¤Þ¤ºÍý²ò¤ò¿¼¤á¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹ (¤³¤³¤é¤Ø¤ó¤Î¼ê½ç¤Ï
¸¡º÷¤¹¤ì¤Ð¤¿¤¯¤µ¤ó¸«¤Ä¤«¤ê¤Þ¤¹)¡£

No. 3949 # T.Kobayashi [E-mail] 2004/09/06 (·î) 13:15:25
¤Ï¤¸¤á¤Þ¤·¤Æ¡£

UNIX ¤ÎÉô²° -> ¥³¥Þ¥ó¥É -> cpp ¤Ë¤Æ¡¢
·¿¤ÎÊÌ̾¤ÎÄêµÁÊýË¡¤Ç
typedef MYCHAR_P char *;
¤¬Àµ¤·¤¤¤È¾Ò²ð¤µ¤ì¤Æ¤¤¤Þ¤¹¤¬¡¢¤³¤ì¤Ï
typedef char *MYCHAR_P;
¤Î´Ö°ã¤¤¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©

No. 3950 # 68user 2004/09/07 (²Ð) 09:58:18
>>3949 T.Kobayashi
> typedef char *MYCHAR_P;
> ¤Î´Ö°ã¤¤¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©
¤´¤â¤Ã¤È¤â¤Ç¤¢¤ê¤Þ¤¹¡£½¤Àµ¤·¤Þ¤·¤¿¡£
      http://X68000.q-e-d.net/~68user/unix/pickup?cpp

¤´»ØŦ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

No. 3951 # ¤Û¤ó¤¿¤« 2004/09/07 (²Ð) 11:29:11
¤Ï¤¸¤á¤Þ¤·¤Æ¡£

¤¤¤Ä¤â¥³¥Þ¥ó¥É¤Î»²¹Í¤Ë¤µ¤»¤ÆÌã¤Ã¤Æ¤ª¤ê¤Þ¤¹¡£
ÀâÌÀ¤·¤Æ¤¤¤ë¿ô¤äÎ㤬¤ï¤«¤ê¤ä¤¹¤¯¤Æ½ÅÊõ¤·¤Æ¤Þ¤¹¡£

Â礷¤¿»ö¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¤¬¡¢µ¤¤Ë¤Ê¤Ã¤¿Éôʬ¤ò£²ÅÀ¤Û¤É
¢£¤¤¤º¤ì¤â¡ÚTOP >> UNIX ¤ÎÉô²° >> ¥¸¥ã¥ó¥ëÊÌ¥³¥Þ¥ó¥É°ìÍ÷ >> vi¡Û¤Ë¤Æ
£±¡¥¡Öh 1ʸ»úº¸¤Ë°ÜÆ°¡×¤¬¥ê¥¹¥È¤«¤é¤Ï¤ß½Ð¤Æ¤¤¤Þ¤¹¡£
£²¡¥¡ÖÊÔ½¸¥â¡¼¥ÉÃæ¤Ë"ESC"¡×¡á¡ÖÊÔ½¸¥â¡¼¥É¤Ë°Ü¹Ô¡×
    ¤Ç¤¢¤ì¤Ð¡¢¥ê¥¹¥È¤ËÆþ¤ì¤Æ¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£
¥ê¥¹¥È¤Ë¤¢¤ì¤Ð¡¢±ÜÍ÷£²ÅÙÌܰʹߤοͤϤ½¤ì¤À¤±»²¹Í¤Ë¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¸«¤ä¤¹¤¤¤«¤È¡£
¡Ê¸Ä¿ÍŪ¤Ë¤Ç¤¹¤¬¡Ë

No. 3952 # shima [E-mail] 2004/09/07 (²Ð) 17:04:46
¤Ï¤¸¤á¤Þ¤·¤Æ¡£

¥½¥±¥Ã¥ÈÄÌ¿®¤Ë¤Ä¤¤¤Æ¶µ¤¨¤Æ¤¯¤À¤µ¤¤¡£

Sever¥×¥í¥°¥é¥à¤Ç¥¯¥é¥¤¥¢¥ó¥È¤«¤é
Connect¤·¤Æ¤­¤¿¥¯¥é¥¤¥¢¥ó¥È¤¬Close½èÍý¤ò¹Ô¤Ã¤¿¤«¤ï¤«¤ê¤Þ¤¹¤Ç¤·¤ç¤¦¤«¡©
Connect»þ¤Ï¡¢Àܳ¸µ¤ÎIP¥¢¥É¥ì¥¹¡¦¥Ý¡¼¥È¤¬¤ï¤«¤ë¤È»×¤¤¤Þ¤¹¤¬
¥¯¥é¥¤¥¢¥ó¥È¤¬Close¤ò¹Ô¤Ã¤¿¤«¤É¤¦¤«¤òÃΤꤿ¤¤¤Î¤Ç¤¹¤¬¡©

¤è¤í¤·¤¯¸æ´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

    

No. 3953 # 68user 2004/09/08 (¿å) 02:46:07
>>3951 ¤Û¤ó¤¿¤«
¤´°Õ¸«¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

> £±¡¥¡Öh 1ʸ»úº¸¤Ë°ÜÆ°¡×¤¬¥ê¥¹¥È¤«¤é¤Ï¤ß½Ð¤Æ¤¤¤Þ¤¹¡£
¤³¤ì¤Ï HTML À¸À®¥¹¥¯¥ê¥×¥È¤ÎÉÔ¶ñ¹ç¤Ç¡¢Ç§¼±¤·¤Æ¤¤¤ë¤Î
¤Ç¤¹¤¬¡¢Èþ¤·¤¤Ä¾¤·Êý¤Ï¤Ê¤¤¤«¤Ê¤¡¤È¹Í¤¨¤Æ¤¤¤ë¤È¤³¤í¤Ç¤¹¡£
¤¤¤Þ¤·¤Ð¤é¤¯¤ªÂÔ¤Á¤¯¤À¤µ¤¤¡£

> £²¡¥¡ÖÊÔ½¸¥â¡¼¥ÉÃæ¤Ë"ESC"¡×¡á¡ÖÊÔ½¸¥â¡¼¥É¤Ë°Ü¹Ô¡×
> ¤Ç¤¢¤ì¤Ð¡¢¥ê¥¹¥È¤ËÆþ¤ì¤Æ¤Ï¤¤¤«¤¬¤Ç¤·¤ç¤¦¤«¡£
¤´¤â¤Ã¤È¤â¤Ç¤¹¡£¤½¤Î¤è¤¦¤Ë½¤Àµ¤·¤Þ¤·¤¿¡£
      http://X68000.q-e-d.net/~68user/unix/pickup?vi


>>3952 shima
> Connect¤·¤Æ¤­¤¿¥¯¥é¥¤¥¢¥ó¥È¤¬Close½èÍý¤ò¹Ô¤Ã¤¿¤«¤ï¤«¤ê¤Þ¤¹¤Ç¤·¤ç¤¦¤«¡©
´Êñ¤Ë¸À¤¦¤È (shutdown ¤Î¸ºß¤ò½ü³°¤·¤Æ¸À¤¦¤È)¡¢¥µ¡¼¥Ð¤¬
read ¤·¤Æ¥¯¥é¥¤¥¢¥ó¥È¤«¤é 0 ¤« SIGPIPE ¤¬Ê֤äƤ³¤ì¤Ð¡¢
¥¯¥é¥¤¥¢¥ó¥È¤¬ close ¤ò¹Ô¤Ã¤¿¤«¡¢¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à¤¬
½ªÎ»¤·¤¿ (close or exit or core dump) ¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

¤¿¤À¤·¥¯¥é¥¤¥¢¥ó¥È¤Î¥Þ¥·¥ó¤¬Íî¤Á¤¿¤ê¡¢¥Í¥Ã¥È¥ï¡¼¥¯¥±¡¼¥Ö¥ë¤¬
ÀÚÃǤµ¤ì¤¿¾ì¹ç¤Ï¡Ä read ¤¬ ETIMEOUT ¤òÊÖ¤¹¤ó¤Ç¤·¤¿¤Ã¤±? ¤³¤ÎÊÕ
¤¢¤ä¤Õ¤ä¤Ê¤Î¤Ç¡¢´Ö°ã¤Ã¤Æ¤¿¤é¤´»ØŦ¤¯¤À¤µ¤¤¡äï¤È¤Ê¤¯

No. 3954 # §´¬¤»¤ó¤Ù¤¤ 2004/09/10 (¶â) 21:04:28
½é¤á¤Þ¤·¤Æ¡¢

¤³¤³¤Î¥µ¥¤¥È¤Î¼ç»Ý¤Ë¤¢¤Ã¤¿¼ÁÌ䤫¤É¤¦¤«¤ï¤«¤é¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢
¼ÁÌ䤵¤»¤Æ夭¤Þ¤¹¡£

º£¡¢³«È¯ºî¶È¤ò°Ê²¼¤Î¹½À®¤Ç¼Â»Ü¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢

Web¥µ¡¼¥Ð¡§Netscape-Enterprise/3.6 SP3
¥Ö¥é¥¦¥¶¡§Internet Explorer 5.5 SP2
                    Internet Explorer 6.0
¸À¸ì¡§Server Side JavaScript(Livewire)
          ¢¨¥µ¡¼¥Ð¦¤ÇÆ°ºî¤¹¤ëJavaScript¸À¸ì¤Ç¤¹¡£

Àµ¾ï¤ËHTML²èÌ̤¬É½¼¨¤µ¤ì¤Æ¤¤¤ë¤Î¤Ë¡¢
¥Ñ¥±¥Ã¥È¤ÎºÇ¸å¤Ë¡¢"400 Bad Request"¤¬Æþ¤Ã¤Æ¤·¤Þ¤¤¡¢
¼¡¤Î²èÌ̤ǡ¢
"¤¢¤Ê¤¿¤Î¥Ö¥é¥¦¥¶¤¬¥µ¡¼¥Ð¤ËÁ÷¤Ã¤¿¥ê¥¯¥¨¥¹¥È¤Ï¥µ¡¼¥Ð¤¬Íý²ò¤Ç¤­¤Ê¤¤¥ê¥¯¥¨¥¹¥È¤Ç¤¹"
¤Î¥¨¥é¡¼²èÌ̤¬É½¼¨¤µ¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¤³¤Î¸½¾Ý¤Ïɬ¤ºÈ¯À¸¤¹¤ë¤ï¤±¤Ç¤Ï¤Ê¤¯¡¢
£²¿Í¤Î¤Ò¤È¤¬Æ±»þ¤ËƱ¤¸ºî¶È¤ò¤·¤¿¾ì¹ç¤Ë¤â¡¢
ÊÒÊý¤Î¿Í¤ÏȯÀ¸¤·¡¢¤â¤¦ÊÒÊý¤Î¿Í¤Ë¤ÏȯÀ¸¤·¤Ê¤¤¤³¤È¤¬¤¢¤ê¤Þ¤¹¡£


¡Ê¥Ñ¥±¥Ã¥È¤ÎÎã¡Ë
    ¡§
</HTML>
HTTP/1.1 400 Bad Request
Server: Netscape-Enterprise/3.6 SP3
............


¤¿¤À¡¢¤³¤ÎÌäÂê¤Ï¡¡Netscape Navigater Ver7.1 ¤Ç¤ÏȯÀ¸¤»¤º¡¢
¤Þ¤¿¡¡IE ¤ÎÀßÄê¤ò¡¢
¡ÖHTTP 1.1¤ò»ÈÍѤ¹¤ë¡× ¢ª¡¡¡ÖHTTP 1.1¤ò»ÈÍѤ·¤Ê¤¤¡×
¤ËÊѹ¹¤¹¤ë¤È¤³¤Á¤é¤âÌäÂ꤬ȯÀ¸¤·¤Ê¤¯¤Ê¤ê¤Þ¤¹¡£

¤½¤·¤Æ¡¢telnet¡¡¤ò»ÈÍѤ·¥ê¥¯¥¨¥¹¥È¤·¤¿¾ì¹ç¤Ë¤Ï¡¢
ɬ¤º¤³¤Î·Á¡ÊBad Request¡Ë¤Ç½ÐÎϤµ¤ì¤Æ¤¤¤Þ¤¹¡£

¥×¥í¥È¥³¥ë¤«Netscape¥µ¡¼¥Ð¤¬¸¶°ø¤È¹Í¤¨¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢
¤¦¤Þ¤¯ÌäÂê¤òÀÚ¤êʬ¤±¤ë¤³¤È¤¬¤Ç¤­¤Þ¤»¤ó¡£
¤ï¤«¤ë¤«¤¿¤¬¤¤¤Þ¤·¤¿¤é¡¢¤¹¤ß¤Þ¤»¤ó¤¬¤´¶µ¼ø´ê¤¤¤Þ¤¹¡£

No. 3955 # ¤À¤ó¤À¤ó 2004/09/13 (·î) 23:32:03
> 3948 . 68user
> Í×¤Ï SSL_CTX_use_certificate_chain_file() ¤Ê¤É¤ò»È¤Ã¤Æ¥¯¥é¥¤
> ¥¢¥ó¥È¾ÚÌÀ½ñ¤ò»È¤¨¤Ð¤¤¤¤¤ï¤±¤Ç¤¹¤¬¡¢¾Ü¤·¤¤¤ä¤êÊý¤Ï

¤¢¤Ã¤µ¤êÆ°ºî¤·¤Þ¤·¤¿¡£
¤´»ØŦ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

No. 3956 # 68user 2004/09/15 (¿å) 14:56:26
>>3954 §´¬¤»¤ó¤Ù¤¤
¤½¤¦¤¤¤¦»ö¾Ý¤ÏÃΤé¤Ê¤¤¤Î¤Ç²¿¤È¤â¸À¤¨¤Þ¤»¤ó¤¬¡¢¤È¤ê¤¢¤¨¤º
ethereal ¤Ê¤É¤Ç IE5.5 ¤È NN7.1 ¤Î¤½¤ì¤¾¤ì¤Î¥ê¥¯¥¨¥¹¥È¤È
¥ì¥¹¥Ý¥ó¥¹¤ò´Ñ»¡¤·¤Æ¤ß¤ë¤³¤È¤ò¤ª´«¤á¤·¤Þ¤¹¡£

No. 3957 # ¥Ë¥Ã¥¿¥ó 2004/09/15 (¿å) 21:16:31
¤ªµ×¤·¤Ö¤ê¤Ç¤¹¡£
¤½¤ÎÀá¤Ï¤ªÀ¤Ïäˤʤê¤Þ¤·¤¿¡£
¸½ºß¡¢ºÆ¤ÓSSL¤Î²þ¤¤ËÃå¼ê¤·¤Æ¤¤¤Þ¤¹¡£

OpenSSL¤ò»ÈÍѤ·¤Æ¥¯¥é¥¤¥¢¥ó¥È¤«¤é¥µ¡¼¥Ð¤Ë
HTTP KEEP ALIVE¡Ê¥Ñ¡¼¥·¥¹¥Æ¥ó¥È¥³¥Í¥¯¥·¥ç¥ó¡Ë¤ò¹Ô¤¤¤¿¤¤¤Î¤Ç¤¹¤¬¡¢
¾å¼ê¤¯¹Ô¤­¤Þ¤»¤ó¡£

HTTP¥ê¥¯¥¨¥¹¥È»þ¤Ë
Get¤ÇºÇ½é¤È°Û¤Ê¤ëHTML¥Õ¥¡¥¤¥ë¤ò»ØÄꤷ¡¢
Connection: Keep-Alive
¤òÍ׵ᤷ¤¿¸å¤Ë¡¢
SSL_read()¤ò¤·¤Æ¤â°Û¤Ê¤ëHTML¥Õ¥¡¥¤¥ë
¤òÆɤ߹þ¤à»ö¤¬¤Ç¤­¤Þ¤»¤ó¡£

¤Á¤Ê¤ß¤Ë¡¢Ê¿Ê¸¤Îhttp¤Ç¤ÏÆɤ߹þ¤à»ö¤¬½ÐÍ褿¤Î¤Ç¤¹¤¬¡¢
¤³¤ÎÊÕ¤ê¤Î¾ðÊ󤬳§Ìµ¤Ë¶á¤¯¤Æ¶ìÏ«¤·¤Æ¤¤¤Þ¤¹¡£

OpenSSL¤Î¾ì¹ç¤Ï²¿¤«ÆÃÊ̤ʻö¤ò¹Ô¤Ê¤ï¤Ê¤¤¤È¼ÂÁõ¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©

»²¹ÍURL¤ä½ñÀҤʤɡ¢¤´Â¸ÃΤÊÊý¤¬µï¤é¤ì¤Þ¤·¤¿¤é
¤´¶µ¼ø²¼¤µ¤¤¡£

No. 3958 # 68user 2004/09/16 (ÌÚ) 02:17:13
>>3957 ¥Ë¥Ã¥¿¥ó
> OpenSSL¤Î¾ì¹ç¤Ï²¿¤«ÆÃÊ̤ʻö¤ò¹Ô¤Ê¤ï¤Ê¤¤¤È¼ÂÁõ¤Ç¤­¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©
Æäˤʤ¤¤È»×¤Ã¤Æ¤¤¤Þ¤¹¡£

https://www.rsasecurity.com/ ¤È https://www.rsasecurity.com/solutionsPrimary.asp
¤ò keep-alive ¤ÇÆɤॵ¥ó¥×¥ë¤ò
    http://x68000.q-e-d.net/~68user/tmp/https-client-keep-alive.c
¤ËÃÖ¤­¤Þ¤·¤¿¡£

¤³¤Î¥µ¥ó¥×¥ë¤Ç¤Ï¥ì¥¹¥Ý¥ó¥¹¤Ë </html> ¤¬´Þ¤Þ¤ì¤Æ¤¤¤ì¤Ð¥ì¥¹¥Ý¥ó¥¹¤Î
¼õ¿®¤¬´°Î»¤·¤¿¤â¤Î¤È¤ß¤Ê¤·¤Æ¼¡¤Î¥ê¥¯¥¨¥¹¥È¤òÁ÷¿®¤¹¤ë¡¢¤È¤¤¤¦¼êÈ´¤­½èÍý¤ò
¤·¤Æ¤¤¤Þ¤¹¤¬¡¢ËÜÍè¤Ï Content-Length ¤ÎÃͤʤɤò¸«¤ë¤Ù¤­¤Ç¤¹¡£

No. 3959 # ¥Ð¥ó¥¬¡¼¥É [URL] [E-mail] 2004/09/16 (ÌÚ) 14:27:53
¥Ð¥ó¥¬¡¼¥É¤Ç¤¹¡£

°Ê²¼¤Îµ¡Ç½¤Î¼Â¸½ÊýË¡¤¬Ê¬¤«¤é¤ºº¤¤Ã¤Æ¤¤¤Þ¤¹¡£
--------- rep_file ------------
$SERVER1
$SERVER2
$SERVER3
-------------------------------

¾åµ­¤Î¥Õ¥¡¥¤¥ë¤¬Â¸ºß¤¹¤ë¾õÂ֤ǡ¢°Ê²¼¤ÎÄêµÁ¤ò¹Ô¤¤¤Þ¤¹¡£

-------------------------------
SERVER1="server01"
SERVER2="server02"
SERVER3="server03"
-------------------------------

¤³¤Î¾õÂ֤ǡ¢rep_file¤òÆɤ߹þ¤ß³Æ¹Ô¤¬É½¤¹ÊÑ¿ô¤ÎÃæ¿È¡Êserver01,server02,server03¡Ë
¤òɽ¼¨¤µ¤»¤¿¤¤¡£

°Ê²¼¤Î¥¹¥¯¥ê¥×¥È¤òÁȤó¤Ç¸«¤Þ¤·¤¿¤¬¡¢
--------------------------------
while read REP
do
                echo \$$REP
done < $REP_LIST
--------------------------------
·ë²Ì¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤·¤¿¡£
--------------------------------
$SERVER1
$SERVER2
$SERVER3
--------------------------------

´Ä¶­¤ÏAIX5.2¤Ç¤¹¡£
½ÐÍè¤ì¤Ð¡¢ksh¤Ç¼Â¸½¤·¤¿¤¤¤È¹Í¤¨¤Æ¤¤¤Þ¤¹¡£

No. 3960 # 68user 2004/09/16 (ÌÚ) 14:44:50
>>3959 ¥Ð¥ó¥¬¡¼¥É
> echo \$$REP
eval "echo $REP" ¤È¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£

No. 3961 # ¥Ð¥ó¥¬¡¼¥É [URL] [E-mail] 2004/09/16 (ÌÚ) 16:51:28
>>3960 68user
>eval "echo $REP" ¤È¤·¤Æ¤ß¤Æ¤¯¤À¤µ¤¤¡£
¤¦¤Þ¤¯¹Ô¤­¤Þ¤·¤¿¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

No. 3962 # ¥¿¥³¸«½¬ 2004/09/17 (¶â) 18:14:56
¤Ï¤¸¤á¤Þ¤·¤Æ¡£ºÇ¶áUnix·ÏOS¤ò¤¤¤¸¤ê¤Ï¤¸¤á¤¿¤â¤Î¤Ç¤¹¡£

¤³¤Î¥µ¥¤¥È¤Î¤ª¤«¤²¤Ç¤¹¤´¤¤½õ¤«¤Ã¤Æ¤ë¤¼¡¼¤ÈÎ٤οʹ֤ËÏ䷤Ƥ¤¤¿¤é¡¢
¤½¤¦¤¤¤¦¤Î¤Ï·Ç¼¨ÈĤ˽ñ¤­¹þ¤ó¤À¤Û¤¦¤¬´ÉÍý¼Ô¤Î¿Í¤¬¸µµ¤¤Ë¤Ê¤ë¤è¡¼¡¢¤È
¶µ¤¨¤Æ¤â¤é¤Ã¤¿¤Î¤Ç¡¢´¶¼ÕÊó¹ð½ñ¤­¹þ¤ß¤µ¤»¤Æ¤¯¤À¤µ¤¤¡£

¤³¤ì¤«¤é¤â¥ê¥Õ¥¡¥ì¥ó¥¹¤Î¤ªÀ¤Ïäˤʤꤽ¤¦¤Ê¤Î¤Ç¤Þ¤¿ÍøÍѤµ¤»¤Æ²¼¤µ¤¤¡£
¤ª¼ÙË⤷¤Þ¤·¤¿m(__)m

No. 3963 # §´¬¤»¤ó¤Ù¤¤ 2004/09/18 (ÅÚ) 10:21:30
>>3956 68user
¤´»ØŦ¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¶µ¼ø¤ÎÆâÍƤò»î¹Ô¤µ¤»¤Æ夭¤Þ¤¹¡£

No. 3964 # »øÅá [URL] [E-mail] 2004/09/20 (·î) 03:49:08
½é¤á¤Þ¤·¤Æ¡£
ºÇ¶áC¸À¸ì¤ÇCGI¥×¥í¥°¥é¥ß¥ó¥°¤ò»Ï¤á¤Þ¤·¤¿¡£
¤½¤³¤Ç¡¢crypt´Ø¿ô¤Ë¤è¤ëMD5°Å¹æ²½¤ò¹Ô¤¦(·Ç¼¨ÈĤΤ¿¤á¡¢½ê°â¥È¥ê¥Ã¥×¤Î¤¿¤á)¤³¤È¤Ë¤·¤¿¤Î¤Ç¤¹¤¬¡¢
#include <stdio.h>
#include <unistd.h>

int main(void)
{
    char *salt = "Salt";
    char *pass = "pass";

    printf("Content-type:text/html\n\n");
    crypt_set_format("des");
    printf("DES: %s\n", crypt(pass, salt));
    crypt_set_format("md5");
    printf("MD5: %s\n", crypt(pass, salt));
    crypt_set_format("blf");
    printf("Blowfish: %s\n", crypt(pass, salt));

    return 0;
}
¤È¤¤¤¦¥½¡¼¥¹¤ò¸«¤Ä¤±¤¿¤Î¤Ç¡¢Æ°ºî³Îǧ¤Î¤¿¤ágcc3.2¡¢Kernel2.6.5¤ÎFedoraCore2¥Ç¥£¥¹¥È¥ê´Ä¶­¤Ç¥³¥ó¥Ñ¥¤¥ë¤·¤Æ¤ß¤Þ¤·¤¿¡£
¤·¤«¤·¡¢[-lcrypt]¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æ¤â²ò·è¤·¤Æ¤¤¤Ê¤¤»Ý¤Î¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸¤¬É½¼¨¤µ¤ì¡¢¥³¥ó¥Ñ¥¤¥ë¤Ç¤­¤Þ¤»¤ó¡£
ÇÛÉÛ¤âͽÄꤷ¤Æ¤¤¤ë¤â¤Î¤Ê¤Î¤Ç¡¢httpd¤òľÀܽñ¤­´¹¤¨¤ëÀßÄê¤ÏÉÔ²Äǽ¤Ê¤Î¤Ç¡¢¤É¤Î¤è¤¦¤ËMD5¤Ë»ØÄꤷ¤¿¤é¤è¤¤¤«¡¢²¿Êý¤«¤´¶µ¼ø¤ò¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 3965 # 68user 2004/09/20 (·î) 15:48:43
>>3962 ¥¿¥³¸«½¬
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£´Ö°ã¤¤¤ä¤ï¤«¤ê¤Ë¤¯¤¤É½¸½¤Ê¤É¤¢¤ê¤Þ¤·¤¿¤é¡¢
¤¼¤Ò¤´»ØŦ¤¯¤À¤µ¤¤¡£

>>3964 »øÅá
> ¤È¤¤¤¦¥½¡¼¥¹¤ò¸«¤Ä¤±¤¿¤Î¤Ç¡¢Æ°ºî³Îǧ¤Î¤¿¤ágcc3.2¡¢
> Kernel2.6.5¤ÎFedoraCore2¥Ç¥£¥¹¥È¥ê´Ä¶­¤Ç¥³¥ó¥Ñ¥¤¥ë
> ¤·¤Æ¤ß¤Þ¤·¤¿¡£
http://www.jp.freebsd.org/QandA/HTML/1944.html ¤Ç¤·¤ç¤¦¤«¡£

¤³¤Î crypt(3) ¤ÎÆ°ºî¤òÀÚ¤êÂؤ¨¤ë»ÅÁȤߤϡ¢¤ï¤¿¤·¤ÎÃΤë¸Â¤ê FreeBSD
¤Î¤ß¤Ë¼ÂÁõ¤µ¤ì¤Æ¤¤¤Þ¤¹¡£Linux ¤Ë¤³¤¦¤¤¤¦»ÅÁȤߤ¬¤¢¤ë¤«¤É¤¦¤«¤Ï¤ï¤«¤ê
¤Þ¤»¤ó (¤â¤·¤¢¤Ã¤¿¤È¤·¤Æ¤â¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï°Û¤Ê¤ë²ÄǽÀ­¤¬¹â¤¤¤È»×¤ï¤ì¤Þ¤¹)¡£

OpenSSL ɬ¿Ü¤Ç¤è¤¤¤Ê¤é¡¢EVP_Digest* ¤Ê¤É¤Î»ÅÁȤߤò»È¤¦¤Î¤¬¤è¤¤¤Ç¤·¤ç¤¦¡£

¤½¤ì¤¬¥À¥á¤Ê¤é¡¢*BSD ¤ä RFC1321 ¤Î¥½¡¼¥¹¤òƱº­¤·¤ÆÇÛÉÛ¤¹¤ë¤³¤È¤ò¤ª´«¤á
¤·¤Þ¤¹ (md5 ¤Î¥½¡¼¥¹¤Ï¤½¤ì¤Û¤ÉŤ¯¤Ê¤¤¤Î¤Ç)¡£

No. 3966 # »øÅá [URL] [E-mail] 2004/09/20 (·î) 17:40:20
>>3965 68user
¤¢¡¢¤¢¤é¤é¤é¤é¡¦¡¦¡¦¡¦¡¦¡¦¡¦¤½¤¦¤À¤Ã¤¿¤ó¤Ç¤¹¤«¡¦¡¦¡¦¡¦¡¦
Linux¸ß´¹¤¸¤ã¤Ê¤¤¤È¤ÏÃΤê¤Þ¤»¤ó¤Ç¤·¤¿¡¦¡¦¡¦¡¦¡¦¡¦

¤Ç¤Ï¡¢RFC1321¤Î¥½¡¼¥¹¤Ç¤âõ¤·¤Æ¸«¤Þ¤¹¡¦¡¦¡¦¡¦

No. 3967 # ¤Ç¤Ö 2004/09/23 (ÌÚ) 12:27:57
HP-UX11.00¤Ê¤Î¤Ç¤¹¤¬¡¢telnet¤ärlogin¡¢remsh¤Ê¤É¤Ç¡¢¥ê¥â¡¼¥È¥í¥°¥¤¥ó
¤·¤Æ¤¯¤ë¤¢¤ë¥æ¡¼¥¶¡Ê°ìÈ̥桼¥¶¡Ë¤ò¥í¥°¥¤¥ó¤Ç¤­¤Ê¤¤¤è¤¦¥¢¥¯¥»¥¹¤ÎµñÈÝ
¤ò¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢¼Â¸½²Äǽ¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡£

¾õ¶·¤È¤·¤Æ¤Ï¡¢UNIXƱ»Î¡¢PC¤«¤éUNIX¤È¤¢¤ê¡¢Æ±°ìLAN¾å¤Ë¤¢¤ê¤Þ¤¹¡£

ftp¤Î¥¢¥¯¥»¥¹µñÈݤÈƱ¤¸¤è¤¦¤ËÄêµÁ¥Õ¥¡¥¤¥ë¤¬¤¢¤ê¡¢¥æ¡¼¥¶Ì¾¤òµ­½Ò
¤¹¤ì¤Ð¥¢¥¯¥»¥¹µñÈݤ¬¤Ç¤­¤ë¤Î¤«¤ÈÄ´¤Ù¤Æ¤Ï¤ß¤¿¤Î¤Ç¤¹¤¬¡¢³ºÅö¤¹¤ë
¤è¤¦¤Ê¥Õ¥¡¥¤¥ë¤Ï¤Ê¤¯¡¢¼ÂºÝ¤Ë¤Ï¤É¤¦¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡£

No. 3968 # 68user 2004/09/24 (¶â) 00:27:22
>>3967 ¤Ç¤Ö
> telnet¤ärlogin¡¢remsh¤Ê¤É¤Ç¡¢¥ê¥â¡¼¥È¥í¥°¥¤¥ó¤·¤Æ¤¯¤ë¤¢¤ë
> ¥æ¡¼¥¶¡Ê°ìÈ̥桼¥¶¡Ë¤ò¥í¥°¥¤¥ó¤Ç¤­¤Ê¤¤¤è¤¦¥¢¥¯¥»¥¹¤ÎµñÈÝ
> ¤ò¤·¤¿¤¤
°Ê²¼¤Î¤è¤¦¤Ê°Æ¤Ç¤É¤¦¤Ç¤·¤ç¤¦¤«¡£

- telnetd ¤ä remshd ¤ò»ß¤á¤ë
    (Á´¥æ¡¼¥¶¤¬ÍøÍÑÉÔ²Ä)
- ¤½¤Î¥æ¡¼¥¶¤Î¥Ñ¥¹¥ï¡¼¥É¤ä¥í¥°¥¤¥ó¥·¥§¥ë¤òÊѹ¹¤¹¤ë
    (su ¤Ë¤âÍ­¸ú¡£¼ÂÁõ¤Ë¤è¤ë¤«¤â¤·¤ì¤Ê¤¤¤¬ ftp ¤¬»È¤¨¤Ê¤¯¤Ê¤ë¤«¤â)
- .login ¤ä .profile ¤Ë logout ¤È½ñ¤¤¤Æ¤ª¤¯
    (¥¿¥¤¥ß¥ó¥°¤è¤¯ Ctrl-c ¤ò²¡¤»¤Ð¤è¤¤¤Î¤Çµ¤µÙ¤áÄøÅÙ¡£su ¤Ë¤Ï¸ú¤«¤Ê¤¤)

No. 3969 # ÅÄ [E-mail] 2004/09/28 (²Ð) 13:22:32
UNIX¾å¤ÎC¸À¸ì¤ÇCGI¤òºî¤Ã¤Æ¤¤¤Þ¤¹¡¢Ê£¿ô¤Î¥Ç¡¼¥¿¤ò²èÌ̤Ëɽ¼¨¤¹¤ë¡£
Âô»³¥Ç¡¼¥¿¤¢¤ë¤Î¤Ç¡¢²þ¥Ú¡¼¥¸¤Îµ¡Ç½¤â¤¢¤ê¤Þ¤¹
£±¤ÄǺ¤ß¤¬¤¢¤ê¤Þ¤¹¡£
¥Ú¡¼¥¸¤òÊѤï¤ë¤È¡¢¥¿¥¤¥È¥ë¤Îɽ¼¨°ÌÃÖ¤âÊѤ¨¤Æ¤·¤Þ¤¦¡£
¥¿¥¤¥È¥ë¤ÏTPL¥Õ¥¡¥¤¥ë¤ÇÄêµÁ¤·¤Æ¤¤¤Þ¤¹¡¢°Ê²¼¤Î¤è¤¦¤Ë
        <HR width=98%>
        <TABLE width=98% cellpadding="2" cellspacing="0" border="0">
            <TR>
                <TH width="30">ÁªÂò</TH>
                <TH width="170">¥µ¡¼¥Ó¥¹Ì¾</TH>
   <TH width="170">¥°¥ë¡¼¥×̾</TH>
   <TH width="170">¥³¥ó¥Æ¥ó¥Ä<BR>¥¿¥¤¥È¥ë̾</TH>
                <TH width="170">¥³¥ó¥Æ¥ó¥Ä<BR>¥Õ¥¡¥¤¥ë̾</TH>
                <TH width="100">¥Õ¥¡¥¤¥ë<BR>¥µ¥¤¥º<BR>(byte)</TH>
                <TH width="50">¹¹¿·Æü»þ</TH>
                <TH width="58">̵½þ¥Õ¥é¥°</TH>
    </TR>

¥Ç¡¼¥¿½ÐÎϤÏC¸À¸ì¤Ç½ñ¤¤¤Æ¤¤¤Þ¤¹¡¢°Ê²¼¤Î¤è¤¦¤Ë
printf("<TR bgcolor=%s><TD align=\"center\" width=\"30\">",html_work2);
printf("<INPUT type=\"radio\" name=\"CONTENT_ID\" %s value=\"%s%s%s\">\n",html_work1,recode.my_content_id.arr,recode.my_service_id,recode.my_group_id);
printf("</TD><TD width=\"170\">%s</TD><TD width=\"170\">%s</TD><TD width=\"170\">%s</TD><TD width=\"170\">%s</TD><TD width=\"100\">%s</TD><TD width=\"53\">%s</TD><TD width=\"58\">%s</TD>\n",
                service_name,
                group_name,
                recode.my_content_title.arr,
                recode.my_content_filename.arr,
                recode.my_file_size,
                recode.my_update_date.arr,
                html_work3);

width¤Ï%¤Î·Á¤ÇÄêµÁ¤·¤Æ¸«¤¿¡¢¤½¤ì¤Ç¤â¥Ú¡¼¥¸¤òÊѤï¤ë¤È¡¢¥¿¥¤¥È¥ë¤Îɽ¼¨°ÌÃÖ¤ò¤º¤ì¤Æ¤·¤Þ¤¦¡£
狼¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡©

No. 3970 # 68user 2004/09/28 (²Ð) 14:31:00
>>3969 ÅÄ
CGI ¤¬½ÐÎϤ·¤¿ HTML ¤Î¥½¡¼¥¹¤ò»²¾È¤· (IE ¤Ê¤é¡Öɽ¼¨->¥½¡¼¥¹¡×)¡¢
°Ê²¼¤Î HTML ¤ÈÈæ³Ó¤·¤Æ¡¢¤ª¤«¤·¤¤¤È¤³¤í¤Ï¤Ê¤¤¤«Ä´¤Ù¤Æ¤ß¤Æ²¼¤µ¤¤
(Î㤨¤Ð </TR> ¤¬È´¤±¤Æ¤¤¤Ê¤¤¤«¡¢¤Ê¤É)¡£

<HTML><BODY>
<HR width="98%">
<TABLE width="98%" cellpadding="2" cellspacing="0" border="0">
    <TR>
        <TH width="30">ÁªÂò</TH>
        <TH width="170">¥µ¡¼¥Ó¥¹Ì¾</TH>
        <TH width="170">¥°¥ë¡¼¥×̾</TH>
        <TH width="170">¥³¥ó¥Æ¥ó¥Ä<BR>¥¿¥¤¥È¥ë̾</TH>
        <TH width="170">¥³¥ó¥Æ¥ó¥Ä<BR>¥Õ¥¡¥¤¥ë̾</TH>
        <TH width="100">¥Õ¥¡¥¤¥ë<BR>¥µ¥¤¥º<BR>(byte)</TH>
        <TH width="50">¹¹¿·Æü»þ</TH>
        <TH width="58">̵½þ¥Õ¥é¥°</TH>
    </TR>
    <TR>
        <TD align="center" width="30">
            <INPUT type="radio" name="CONTENT_ID" value="xxx">
        </TD>
        <TD width="170">a</TD> <TD width="170">b</TD> <TD width="170">c</TD> <TD width="170">d</TD>
        <TD width="100">e</TD> <TD width="53">f</TD> <TD width="58">g</TD>
    </TR>
    <TR>
        <TD align="center" width="30">
            <INPUT type="radio" name="CONTENT_ID" value="xxx">
        </TD>
        <TD width="170">A</TD> <TD width="170">B</TD> <TD width="170">C</TD> <TD width="170">D</TD>
        <TD width="100">E</TD> <TD width="53">F</TD> <TD width="58">G</TD>
    </TR>
</TABLE></BODY></HTML>

No. 3971 # µÈ 2004/09/28 (²Ð) 15:52:46
¤³¤ó¤Ë¤Á¤Ï¡£
º£¤¢¤ë¥×¥í¥°¥é¥à¤ÎÉÔ¶ñ¹çÄ´ºº¤ò¤·¤Æ¤ª¤ê¤Þ¤·¤Æ¡¢
RAND_add() ¤¬¥­¡¼¤È¤Ê¤Ã¤¿ÉÔ¶ñ¹ç¤¬È¯À¸¤·¤Æ¤ª¤ê¤Þ¤¹¡£

¤È¤Æ¤â¾ð¤±¤Ê¤¤¼ÁÌä¤Ë¤Ê¤ë¤Î¤Ç¤¹¤¬¡¢
RAND_add ¤È¤Ï²¿¤ò¹Ô¤Ã¤Æ¤¤¤ë´Ø¿ô¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡£

No. 3972 # ÅÄ [E-mail] 2004/09/28 (²Ð) 17:45:52
£¶£¸USERÍÍ¡§µ®½Å¤ÊÄó°Æ¤ò¤¤¤¿¤À¤­¤Þ¤·¤¿¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
»î¤·¤Æ¸«¤Þ¤·¤¿¤¬¡¢ÌäÂê²ò·è¤Þ¤À¤Ç¤­¤Þ¤»¤ó

No. 3973 # ÅÄ [E-mail] 2004/09/28 (²Ð) 17:50:07
<HTML>
<HEAD>
<TITLE>¡¦¥¦¡¦ó¥¥Ë¡¦ó¥¥È¥¯¡£¥³÷·¡¦¥Õ¥¤ðÎ¥Õ</TITLE>
<META http-equiv="Content-Style-Type" content="text/css">
<META http-equiv="Content-Script-Type" content="text/javascript">
<Script Language = "JavaScript" SRC="./js-lib/comfunc.js"></Script>
<Script language ="JavaScript">
<!--
    function disp(){
    parent.buttonFrame.location="Pscc_content_infobutton.cgi";
    }

//-->
</SCRIPT>
</HEAD>

<BODY bgcolor="#FFFFFF">
<CENTER>
    <IMG src="../images/title_contentsSearch.gif" width="175" height="27">
    <FORM NAME="CONTSHOW" METHOD="POST" ACTION="Pscc_content_infobody.cgi" TARGET="_self">
        <HR width=98%>
        <TABLE width=98% cellpadding="2" cellspacing="0" border="0">
            <TR>
                <TH width="30">¥Á¥§¥Ä¡¦/TH>
                <TH width="170">¡¦¥ª¡£¥·¡¦¥â¡¦¥±¥Õ¥»</TH>
   <TH width="170">¡¦¡¼¡¦¡¦¥·¡¦¥é¥Õ¥»</TH>
   <TH width="170">¡¦¥¦¡¦ó¥¥Ë¡¦ó¥¥È<BR>¡¦¥½¡¦¡¢¡¦¥Í¡¦¡¦¥»</TH>
                <TH width="170">¡¦¥¦¡¦ó¥¥Ë¡¦ó¥¥È<BR>¡¦¥æ¡¦¡£¡¦¡¢¡¦¡¦¥»</TH>
                <TH width="100">¡¦¥æ¡¦¡£¡¦¡¢¡¦¡¦BR>¡¦¥ª¡¦¡¢¡¦¥³<BR>(byte)</TH>
                <TH width="50">¥±¥±¥½¥­¥Ë¡¦þ</TH>
                <TH width="58">ŽÌŽµŽ½þŽ¥ŽÕŽ¥ò§Ž°</TH>
    </TR>
<TR bgcolor=#FFCC99><TD align="center" width="30"><INPUT type="radio" name="CONTENT_ID" checked value="0000100050001">
</TD><TD width="170"> </TD><TD width="170"> </TD><TD width="170">premium</TD><TD width="170">ez.amc</TD><TD width="100"> 67,269 </TD><TD width="53">2023/10/03 00:00:00</TD><TD width="58">Ž¤ŽÊŽ¤Ž·</TD>
</TR>
<TR bgcolor= ><TD align="center" width="30"><INPUT type="radio" name="CONTENT_ID" value="0000100060001">
</TD><TD width="170"> </TD><TD width="170"> </TD><TD width="170">abc</TD><TD width="170">ez.amc</TD><TD width="100"> 67,269 </TD><TD width="53">2024/08/04 00:00:00</TD><TD width="58">Ž¤ŽÊŽ¤Ž·</TD>
</TR>
<TR bgcolor=#FFCC99><TD align="center" width="30"><INPUT type="radio" name="CONTENT_ID" value="0000100070001">
</TD><TD width="170"> </TD><TD width="170"> </TD><TD width="170">ST_KC_EZŽ¡ŽÊŽ£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼Ž¡ŽË</TD><TD width="170">ez.amc</TD><TD width="100"> 67,269 </TD><TD width="53">2019/08/04 00:00:00</TD><TD width="58">Ž¤ŽÊŽ¤Ž·</TD>
</TR>
<TR bgcolor= ><TD align="center" width="30"><INPUT type="radio" name="CONTENT_ID" value="0000100110001">
</TD><TD width="170"> </TD><TD width="170"> </TD><TD width="170">ST_PRE_EZŽ¡ŽÊŽ£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼Ž¡ŽË</TD><TD width="170">ez.amc</TD><TD width="100"> 67,269 </TD><TD width="53">2013/11/03 00:00:00</TD><TD width="58">Ž¤ŽÊŽ¤Ž·</TD>
</TR>
<TR bgcolor=#FFCC99><TD align="center" width="30"><INPUT type="radio" name="CONTENT_ID" value="0000100170001">
</TD><TD width="170"> </TD><TD width="170"> </TD><TD width="170">ST_MUSYO_EZŽ¡ŽÊEZŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼Ž¡ŽË</TD><TD width="170">ez.amc</TD><TD width="100"> 67,269 </TD><TD width="53">2015/11/03 00:00:00</TD><TD width="58">Ž¤ŽÊŽ¤Ž·</TD>
</TR>
<input type="hidden" name="TOTAL_PAGE" value ="2">
<input type="hidden" name="SERVICE_ID" value ="">
<input type="hidden" name="GROUP_ID" value ="">
<input type="hidden" name="CON_TITLE" value ="">
<input type="hidden" name="CON_FILE" value ="">
<input type="hidden" name="DATA_TYPE" value ="">
<input type="hidden" name="CUR_PAGE" value ="2">
<input type="hidden" name="CONTENT_ID" value ="">
<input type="hidden" name="MOTO" value ="S">
<Script Language = "JavaScript" SRC="./js-lib/comfunc.js"></Script>
<Script language ="JavaScript">
<!--
disp()
//-->
</SCRIPT>
</TABLE><BR>
</FORM></CENTER></BODY></HTML>

ÀÖ¿§¤Îʸ»ú¤Ï ¡ÖWindows µ¡¼ï°Í¸ʸ»ú¡×¤«¡¢¤¤¤ï¤æ¤ë¡ÖȾ³Ñ¥«¥Ê¡×¤Ç¤¹¡£ ¤³¤Î·Ç¼¨ÈĤǤϼ«Æ°ÊÑ´¹¤µ¤ì¤Þ¤¹¤¬¡¢º£¸å¤Ï»ÈÍѤ·¤Ê¤¤¤Ç²¼¤µ¤¤

No. 3974 # ÅÄ [E-mail] 2004/09/28 (²Ð) 17:59:17
¥½¡¼¥¹É½¼¨¤¹¤ë¤È¤­¡¢Ê¸»ú²½¤±¤Ë¤Ê¤Ã¤¿¡¢ÀßÄê¤Î»ÅÊý¤¬¤ï¤«¤é¤Ê¤¯¤Æ¡¢¤½¤Î¤Þ¤Þ²¼¤ËŽ¤ê¤Þ¤¹

No. 3975 # 68user 2004/09/28 (²Ð) 19:02:28
>>3973 ÅÄ
ʸ»ú²½¤±Éôʬ¤òŬÅö¤Ëľ¤·¤Æ IE6 ¤Ç¸«¤Æ¤ß¤Þ¤·¤¿¤¬¡¢Æä˥ơ¼¥Ö¥ë¹½À®¤¬Êø¤ì¤ë¤³¤È¤Ï
¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¥Ö¥é¥¦¥¶Ì¾¤È¥Ð¡¼¥¸¥ç¥ó¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£¤Þ¤¿¡¢3973 ¤ÇÄ󼨤·¤¿
HTML ¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤ò¥Ö¥é¥¦¥¶¤Ç³«¤­¡¢ËÜÅö¤Ë¥Æ¡¼¥Ö¥ë¹½À®¤¬Êø¤ì¤ë
¤«¤É¤¦¤«¤ò³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£

>>3971 µÈ
¤Þ¤º
    http://X68000.q-e-d.net/~68user/net/ssl-1.html
¤òÆɤó¤Ç¡¢RAND_seed() ¤¬¡ÖPRNG ¤ËÍð¿ô¤Î¼ï¤È¤Ê¤ë¥é¥ó¥À¥à¥Ç¡¼¥¿¤òÃßÀѤ¹¤ë¤¿¤á¤Î¤â¤Î¡×
¤Ç¤¢¤ë¤³¤È¤òÍý²ò¤·¤Æ¤¯¤À¤µ¤¤¡£

RAND_seed() ¤Ï
      ¡Ö10 ¥Ð¥¤¥È¤Î¥Ç¡¼¥¿¤òÍð¿ô¤Î¼ï¤È¤·¤ÆÃßÀÑ¡×
¤È¤¤¤¦¤³¤È¤·¤«¤Ç¤­¤Þ¤»¤ó¡£

¤·¤«¤· RAND_add() ¤Ï
      ¡Ö10 ¥Ð¥¤¥È¤Î¥Ç¡¼¥¿¤òÍð¿ô¤Î¼ï¤È¤·¤ÆÃßÀѤ¹¤ë¤¬¡¢ËÜÅö¤Ë¥é¥ó¥À¥à¤ÊÉôʬ¤Ï 5¥Ð¥¤¥Èʬ¤·¤«¤Ê¤¤¡×
¤Ê¤É¤È¡¢¥é¥ó¥À¥à¤µ¤ò»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£¤½¤ì°Ê³°¤Ë RAND_seed() ¤È RAND_add() ¤Î
°ã¤¤¤Ï¤¢¤ê¤Þ¤»¤ó¡£

No. 3976 # ÅÄ [E-mail] 2004/09/29 (¿å) 09:52:52
68userÍÍ¡§µ®½Å¤Ê½õ¸À¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
¤¤¤Þ»ä¤Ï»È¤Ã¤Æ¤¤¤ë¥Ö¥é¥¦¥¶Ì¾¤È¥Ð¡¼¥¸¥ç¥ó¤Ï
¥Ö¥é¥¦¥¶¡§Microsoft Internet Explorer
¥Ð¡¼¥¸¥ç¥ó¡§4.0 (compatible; MSIE 6.0; Windows NT 5.0)
¤Ç¤¹¡¢
3973 ¤ÇÄ󼨤·¤¿
HTML ¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤ò¥Ö¥é¥¦¥¶¤Ç³«¤­¡¢ËÜÅö¤Ë¥Æ¡¼¥Ö¥ë¹½À®¤¬Êø¤ì¤ë
¤«¤É¤¦¤«¤ò³Îǧ¤·¤Þ¤·¤¿¡£Ê¸»ú²½¤±°Ê³°¡¢°Û¾ï¤¬¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿

No. 3977 # 68user 2004/09/29 (¿å) 18:55:21
>>3976 ÅÄ
> ¥Ö¥é¥¦¥¶¡§Microsoft Internet Explorer
> ¥Ð¡¼¥¸¥ç¥ó¡§4.0 (compatible; MSIE 6.0; Windows NT 5.0)
¤³¤ì¤Ï IE6 ¤Î¤³¤È¤ò»Ø¤·¤Þ¤¹¡£¥Ö¥é¥¦¥¶¤Î¥á¥Ë¥å¡¼¥Ð¡¼¤Î
    ¥Ø¥ë¥×->¥Ð¡¼¥¸¥ç¥ó¾ðÊó
¤Ç³Îǧ¤¹¤ë¤Î¤¬³Î¼Â¤Ç¤¹¡£

> 3973 ¤ÇÄ󼨤·¤¿
> HTML ¤ò¥Õ¥¡¥¤¥ë¤ËÊݸ¤·¡¢¤½¤Î¥Õ¥¡¥¤¥ë¤ò¥Ö¥é¥¦¥¶¤Ç³«¤­¡¢ËÜÅö¤Ë¥Æ¡¼¥Ö¥ë¹½À®¤¬Êø¤ì¤ë
> ¤«¤É¤¦¤«¤ò³Îǧ¤·¤Þ¤·¤¿¡£Ê¸»ú²½¤±°Ê³°¡¢°Û¾ï¤¬¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤¿
¤½¤â¤½¤â >>3973 ¤ÇÄ󼨤·¤¿ HTML ¤Ï¡¢¼ÂºÝ¤Ëɽ¼¨¤¬Êø¤ì¤Æ¤¤¤ë HTML ¤Î
¥½¡¼¥¹¤òɽ¼¨¤·¤¿·ë²Ì¤Ç¤¹¤«?

ɽ¼¨¤¬Êø¤ì¤Æ¤¤¤Ê¤¤ HTML ¤Î¥½¡¼¥¹¤Ç¤¢¤ì¤Ð¡¢ÅöÁ³¤Ê¤¬¤é HTML ¤ò¸«¤Æ¤â¸¶°ø¤Ï
¤ï¤«¤ê¤Þ¤»¤ó¡£

ɽ¼¨¤¬Êø¤ì¤Æ¤¤¤ë HTML ¤Î¥½¡¼¥¹¤Ç¤¢¤ì¤Ð¡¢Javascript ¤¬°­¤µ¤ò¤·¤Æ¤¤¤ë¤Î¤«¤â
¤·¤ì¤Þ¤»¤ó¤¬¡¢¸½Êª¤¬¤Ê¤¤¤³¤È¤Ë¤Ï²¿¤È¤â¤¤¤¨¤Þ¤»¤ó¡£¾¯¤·¤º¤Ä½ÐÎϤ¹¤ë¥¿¥°¤ò
ºï¤Ã¤Æ¤¤¤­¡¢¸¶°ø¤¬¤É¤³¤Ë¤¢¤ë¤Î¤«Ä´¤Ù¤Þ¤·¤ç¤¦¡£

No. 3978 # ¤â¤ÎÃΤ餺¡© 2004/10/01 (¶â) 11:05:41
AIX¤Ç¤Îcsh¼Â¹Ô¤Ç¤è¤¯Ê¬¤«¤é¤Ê¤¤ÅÀ¤¬¤¢¤ê¡¢½é¤á¤ÆÅê¹Æ¤µ¤»¤Æ夭¤Þ¤·¤¿¡£

AIX5.2¤Ç°Ê²¼¤Îcsh¤ò¼Â¹Ô¤¹¤ë¤È¥¨¥é¡¼¤Ïµ¯¤­¤Þ¤»¤ó¡£

        #!/bin/csh
        if ( '07' >= '01' ) then
        endif
        exit

¤·¤«¤·¡¢ifʸÆâ¤Î'07'¤ò'08'or'09'¤Ë¤¹¤ë¤È
    ¡Öif¡§¿ôÃͤηÁ¼°¤¬Àµ¤·¤¯¤¢¤ê¤Þ¤»¤ó.¡×
¤È¥¨¥é¡¼¤Ë¤Ê¤ê¤Þ¤¹¡£
¡Ê'10'¤ä'11'¤Ê¤É¤Ç¤ÏÌäÂꤢ¤ê¤Þ¤»¤ó¡£¡Ë

HP-UX¤Ç¤Ï¥¨¥é¡¼¤Ë¤Ê¤é¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢Íýͳ¤¬¤ªÊ¬¤«¤ê¤Ë¤Ê¤ëÊý¤¬
¤¤¤é¤Ã¤·¤ã¤Ã¤¿¤é¸æ¶µ¤¨¤¯¤À¤µ¤¤¡£

No. 3979 # 68user 2004/10/01 (¶â) 12:23:06
>>3978 ¤â¤ÎÃΤ餺¡©
¤ª¤½¤é¤¯¡¢>= ¤ÏξÊÕ¤ò¿ôÃͤȤ·¤ÆÈæ³Ó¤¹¤ë¤¿¤á¡¢0 ¤«¤é»Ï¤Þ¤ëʸ»úÎó¤Ï
8¿Ê¿ô¤È²ò¼á¤µ¤ì¤Æ¤·¤Þ¤¦¤Î¤Ç¤·¤ç¤¦¡£

¤â¤· /bin/test ¤¬Â¸ºß¤¹¤ë¤Ê¤é
    test '07' -ge '01'
    if ( $status == 0 ) then
        ½èÍý
    endif
¤È¤«
    test '07' -ge '01' && ½èÍý
¤Ê¤É¤È¤¹¤ë¼ê¤¬¤¢¤ê¤Þ¤¹¡£

No. 3980 # ¤â¤ÎÃΤ餺¡© 2004/10/01 (¶â) 12:30:24
>>3979 68user
68user¤µ¤ó¡£Áᮤθæ²òÅúÍ­Æñ¤¦¸æºÂ¤¤¤Þ¤·¤¿¡£
8¿Ê¿ô¤È¤·¤Æ²ò¼á¤µ¤ì¡¢8¿Ê¿ô¤Ë09¤Ê¤É¤È¤¤¤¦¿ôÃͤ¬
¸ºß¤·¤Ê¤¤¤Î¤Ç¥¨¥é¡¼¤È¤Ê¤Ã¤¿¤È¤¤¤¦¤³¤È¤Ç¤¹¤Í¡£
ÂçÊÑÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤·¤¿¡£

No. 3981 # ¤È¤ª¤ë¡£ [URL] 2004/10/05 (²Ð) 15:13:50
¤Ï¤¸¤á¤Þ¤·¤Æ¡£
¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î¤³¤È¤ò¸¡º÷¤¹¤ë¤È¡¢¤¤¤Ä¤â¤³¤Á¤é¤Î¥Ú¡¼¥¸¤¬¥Ò¥Ã¥È¤¹¤ë¤Î¤Ç¡¢
¤¤¤í¤¤¤í¤ÈÊÙ¶¯¤µ¤»¤Æ¤¤¤¿¤À¤¤¤Æ¤Þ¤¹¡£

¤µ¤Æ¡¢¢­¤Î UDP ¤ÎÀâÌÀ¤Ç¤¹¤¬¡¢
http://x68000.q-e-d.net/~68user/net/udp-2.html
¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à¤Î¥ê¥ó¥¯¤Ï¤¢¤ë¤Î¤Ë¡¢¥µ¡¼¥Ð¤ÎÊý¤¬¤Ê¤¤(?)¤è¤¦¤Ç¤¹¡£

¤Ç¡¢¤â¤·¤«¤·¤¿¤é¤È»×¤Ã¤Æ¢­¤³¤Î URL ¤ò³«¤¤¤Æ¤ß¤¿¤éÅö¤¿¤ê¤Þ¤·¤¿(¾Ð)¡£
http://x68000.q-e-d.net/~68user/net/sample/udp-server-1.pl
¤Ê¤Î¤Ç¡¢¤³¤Á¤é¤ÎÊý¤âËÜʸ¤«¤é¤Î¥ê¥ó¥¯¤¬¤¢¤ë¤È¤ï¤«¤ê¤ä¤¹¤¤¤«¤Ê¤È»×¤¤¤Þ¤¹¡£

No. 3982 # 68user 2004/10/05 (²Ð) 19:16:47
>>3981 ¤È¤ª¤ë¡£
¥ê¥ó¥¯¤ÎÄ¥¤ê˺¤ì¤Ç¤¹¤Î¤Ç¡¢¤µ¤Ã¤½¤¯¥ê¥ó¥¯¤òÄɲ䤤¿¤·¤Þ¤·¤¿¡£
¤´»ØŦ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

No. 3983 # ÅÄ [E-mail] 2004/10/06 (¿å) 16:57:42
68userÍÍ¡§µ®½Å¤Ê½õ¸À¡¢¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£
ºÇ¶á¼ê¤Ï²ó¤é¤Ê¤¯¤Æ¡¢ÊÖ»ö¤òÃÙ¤ì¤Æ¡¢¤¹¤ß¤Þ¤»¤ó¡£
¤¤¤Þ»ä¤Ï»È¤Ã¤Æ¤¤¤ë¥Ö¥é¥¦¥¶Ì¾¤È¥Ð¡¼¥¸¥ç¥ó¤Ï
¥Ö¥é¥¦¥¶¡§Microsoft Internet Explorer
Version:6.0.2800.1106

¥Ç¡¼¥¿¤È´ØÏ¢¤·¤Æ¤¤¤ë¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¡¢£´¥Ú¡¼¥¸¤«¤é£µ¥Ú¡¼¥¸Á«°Ü¤¹¤ë¤È¤­¡¢ÌäÂê¤Ê¤¤¡¢£µ¥Ú¡¼¥¸¤«¤é£¶¥Ú¡¼¥¸Á«°Ü¤¹¤ë¤È¤­ÌäÂ꤬µ¯¤­¤ë

°Ê²¼¤Ï£µ¥Ú¡¼¥¸É½¼¨¤·¤Æ¤¤¤ë¤È¤­¤Î¥½¡¼¥¹

<HTML>
<HEAD>
<TITLE>¡¦¥¦¡¦ó¥¥Ë¡¦ó¥¥È¥¯¡£¥³÷·¡¦¥Õ¥¤ðÎ¥Õ</TITLE>
<META http-equiv="Content-Style-Type" content="text/css">
<META http-equiv="Content-Script-Type" content="text/javascript">
<Script Language = "JavaScript" SRC="./js-lib/comfunc.js"></Script>
<Script language ="JavaScript">
<!--
    function disp(){
    parent.buttonFrame.location="Pscc_content_infobutton.cgi";
    return true;
    }

//-->
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" Onload="return disp()">

<CENTER>
    <IMG src="../images/title_contentsSearch.gif" width="175" height="27">
    <FORM NAME="CONTSHOW" METHOD="POST" ACTION="Pscc_content_infobody.cgi" TARGET="_self">
        <HR width=98%>
        <TABLE width=98% cellpadding="2" cellspacing="0" border="0">
            <TR>
                <TH width=3%>¥Á¥§¥Ä¡¦/TH>
                <TH width="14%">¡¦¥ª¡£¥·¡¦¥â¡¦¥±¥Õ¥»</TH>
   <TH width="14%">¡¦¡¼¡¦¡¦¥·¡¦¥é¥Õ¥»</TH>
   <TH width="14%">¡¦¥¦¡¦ó¥¥Ë¡¦ó¥¥È<BR>¡¦¥½¡¦¡¢¡¦¥Í¡¦¡¦¥»</TH>
                <TH width="14%">¡¦¥¦¡¦ó¥¥Ë¡¦ó¥¥È<BR>¡¦¥æ¡¦¡£¡¦¡¢¡¦¡¦¥»</TH>
                <TH width="13%">¡¦¥æ¡¦¡£¡¦¡¢¡¦¡¦BR>¡¦¥ª¡¦¡¢¡¦¥³<BR>(byte)</TH>
                <TH width="13%">¥±¥±¥½¥­¥Ë¡¦þ</TH>
                <TH width="8%">
                    <CENTER>
                        ŽÌŽµŽ½þ<BR>Ž¥ŽÕŽ¥ò§Ž°
                    </CENTER>
                </TH>
    </TR>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" checked value="0000909630002">
</TD><TD width="14%">ŽÌü·¡¦ </TD><TD width="14%">baseballgrpdir2 </TD><TD width="14%">base2-9 </TD><TD width="14%">cameratuika.gif </TD><TD width="13%"> 1,794 </TD><TD width="13%">2004/09/16 11:36:11 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000810110001">
</TD><TD width="14%">00001 </TD><TD width="14%">00001 </TD><TD width="14%">8 </TD><TD width="14%">cameratuika.gif </TD><TD width="13%"> 1,794 </TD><TD width="13%">2004/10/05 19:01:42 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0001009630002">
</TD><TD width="14%">ŽÌü·¡¦ </TD><TD width="14%">baseballgrpdir2 </TD><TD width="14%">base2-10 </TD><TD width="14%">cancel.gif </TD><TD width="13%"> 1,529 </TD><TD width="13%">2004/09/16 11:36:23 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000910110001">
</TD><TD width="14%">00001 </TD><TD width="14%">00001 </TD><TD width="14%">9 </TD><TD width="14%">cancel.gif </TD><TD width="13%"> 1,529 </TD><TD width="13%">2004/10/05 19:02:18 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000106410001">
</TD><TD width="14%">aaaa </TD><TD width="14%">aaaa </TD><TD width="14%">aaaa </TD><TD width="14%">chekouttest.txt </TD><TD width="13%"> 41 </TD><TD width="13%">2004/05/14 13:32:57 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000509630002">
</TD><TD width="14%">ŽÌü·¡¦ </TD><TD width="14%">baseballgrpdir2 </TD><TD width="14%">base2-5 </TD><TD width="14%">close_new.gif </TD><TD width="13%"> 1,351 </TD><TD width="13%">2004/09/16 11:35:17 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0001010110001">
</TD><TD width="14%">00001 </TD><TD width="14%">00001 </TD><TD width="14%">10 </TD><TD width="14%">close_new.gif </TD><TD width="13%"> 1,351 </TD><TD width="13%">2004/10/05 19:02:33 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0001308020001">
</TD><TD width="14%">EZŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼ </TD><TD width="14%">ez_grp </TD><TD width="14%">sdfafasaasd </TD><TD width="14%">config.gif </TD><TD width="13%"> 1,163 </TD><TD width="13%">2004/08/24 18:37:39 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0001908020001">
</TD><TD width="14%">EZŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼ </TD><TD width="14%">ez_grp </TD><TD width="14%">syu_test </TD><TD width="14%">contract_change.gif </TD><TD width="13%"> 1,175 </TD><TD width="13%">2004/09/14 17:17:44 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000300020001">
</TD><TD width="14%">test </TD><TD width="14%">test </TD><TD width="14%">sdsa </TD><TD width="14%">dec.amc </TD><TD width="13%"> 130,749 </TD><TD width="13%">2003/12/12 12:26:18 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<input type="hidden" name="TOTAL_PAGE" value ="28">
<input type="hidden" name="MOTO" value ="S">
    <input type="hidden" name="SERVICE_ID" value ="">
     <input type="hidden" name="GROUP_ID" value ="">
     <input type="hidden" name="CON_TITLE" value ="">
     <input type="hidden" name="CON_FILE" value ="">
     <input type="hidden" name="DATA_TYPE" value ="">
     <input type="hidden" name="CUR_PAGE" value ="5">

</TABLE><BR>
</FORM></CENTER></BODY></HTML>


°Ê²¼¤Ï£¶¥Ú¡¼¥¸É½¼¨¤·¤Æ¤¤¤ë¤È¤­¤Î¥½¡¼¥¹
<HTML>
<HEAD>
<TITLE>Ž¥Ž³Ž¥ó¥ŽÆŽ¥ó¥ŽÄŽ¸Ž¡Žº÷·¡¦ŽÌŽ²ðÎŽÌ</TITLE>
<META http-equiv="Content-Style-Type" content="text/css">
<META http-equiv="Content-Script-Type" content="text/javascript">
<Script Language = "JavaScript" SRC="./js-lib/comfunc.js"></Script>
<Script language ="JavaScript">
<!--
    function disp(){
    parent.buttonFrame.location="Pscc_content_infobutton.cgi";
    return true;
    }

//-->
</SCRIPT>
</HEAD>
<BODY bgcolor="#FFFFFF" text="#000000" Onload="return disp()">

<CENTER>
    <IMG src="../images/title_contentsSearch.gif" width="175" height="27">
    <FORM NAME="CONTSHOW" METHOD="POST" ACTION="Pscc_content_infobody.cgi" TARGET="_self">
        <HR width=98%>
        <TABLE width=98% cellpadding="2" cellspacing="0" border="0">
            <TR>
                <TH width=3%>ŽÁŽªŽÂ¡¦/TH>
                <TH width="14%">Ž¥ŽµŽ¡Ž¼Ž¥ŽÓŽ¥Ž¹ŽÌŽ¾</TH>
   <TH width="14%">Ž¥Ž°Ž¥¡¦Ž¼Ž¥Ž×ŽÌŽ¾</TH>
   <TH width="14%">Ž¥Ž³Ž¥ó¥ŽÆŽ¥ó¥ŽÄ<BR>Ž¥Ž¿Ž¥Ž¤Ž¥ŽÈŽ¥¡¦Ž¾</TH>
                <TH width="14%">Ž¥Ž³Ž¥ó¥ŽÆŽ¥ó¥ŽÄ<BR>Ž¥ŽÕŽ¥Ž¡Ž¥Ž¤Ž¥¡¦Ž¾</TH>
                <TH width="13%">Ž¥ŽÕŽ¥Ž¡Ž¥Ž¤Ž¥¡¦BR>Ž¥ŽµŽ¥Ž¤Ž¥Žº<BR>(byte)</TH>
                <TH width="13%">Ž¹Ž¹Ž¿Ž·ŽÆ¡¦þ</TH>
                <TH width="8%">
                    <CENTER>
                        ŽÌŽµŽ½þ<BR>Ž¥ŽÕŽ¥ò§Ž°
                    </CENTER>
                </TH>
    </TR>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" checked value="0000409510001">
</TD><TD width="14%">Ž¥Ž³Ž¥ó¥ŽÆŽ¥ó¥ŽÄŽ¥ŽÆŽ¥Ž¹Ž¥ŽÈ(Ž£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼) </TD><TD width="14%">content_ezmovie_grp </TD><TD width="14%">02.3.14-005-6_title </TD><TD width="14%">dlcsv.gif </TD><TD width="13%"> 1,483 </TD><TD width="13%">2004/09/02 20:45:25 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000509510001">
</TD><TD width="14%">Ž¥Ž³Ž¥ó¥ŽÆŽ¥ó¥ŽÄŽ¥ŽÆŽ¥Ž¹Ž¥ŽÈ(Ž£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼) </TD><TD width="14%">content_ezmovie_grp </TD><TD width="14%">2.3.14-007_title </TD><TD width="14%">dllimit.gif </TD><TD width="13%"> 1,410 </TD><TD width="13%">2004/08/31 14:07:51 </TD><TD width="8%">Ž¤Ž¢Ž¤¡¦/TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0001509510001">
</TD><TD width="14%">Ž¥Ž³Ž¥ó¥ŽÆŽ¥ó¥ŽÄŽ¥ŽÆŽ¥Ž¹Ž¥ŽÈ(Ž£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼) </TD><TD width="14%">content_ezmovie_grp </TD><TD width="14%">0902_title </TD><TD width="14%">dummy.html </TD><TD width="13%"> 53 </TD><TD width="13%">2004/09/02 20:47:46 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000109780002">
</TD><TD width="14%">grp_test </TD><TD width="14%">grp_test </TD><TD width="14%">grp_test </TD><TD width="14%">dummy.html </TD><TD width="13%"> 53 </TD><TD width="13%">2004/09/16 13:43:11 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000200020001">
</TD><TD width="14%">test </TD><TD width="14%">test </TD><TD width="14%">abc </TD><TD width="14%">ez.amc </TD><TD width="13%"> 67,269 </TD><TD width="13%">2004/05/25 17:43:13 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000100050001">
</TD><TD width="14%">premiumPPV </TD><TD width="14%">ppv </TD><TD width="14%">premium </TD><TD width="14%">ez.amc </TD><TD width="13%"> 67,269 </TD><TD width="13%">2003/10/23 10:51:38 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000100060001">
</TD><TD width="14%">kccsppv </TD><TD width="14%">a </TD><TD width="14%">abc </TD><TD width="14%">ez.amc </TD><TD width="13%"> 67,269 </TD><TD width="13%">2004/08/24 10:58:05 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000100110001">
</TD><TD width="14%">ST_PRE_EZŽ¡ŽÊŽ£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼Ž¡ŽË </TD><TD width="14%">ST_PRE_EZŽ¡ŽÊŽ£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼Ž¡ŽË </TD><TD width="14%">ST_PRE_EZŽ¡ŽÊŽ£ŽÅŽ£ŽÚŽ¥à£Ž¼Ž¥ŽÓŽ¡Ž¼Ž¡ŽË </TD><TD width="14%">ez.amc </TD><TD width="13%"> 67,269 </TD><TD width="13%">2003/11/13 18:00:54 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor=#FFCC99><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000100840001">
</TD><TD width="14%">ppv_EZmovie_pre </TD><TD width="14%">ppv_EZmovie_pre </TD><TD width="14%">ppv_EZmovie_pre </TD><TD width="14%">ez.amc </TD><TD width="13%"> 67,269 </TD><TD width="13%">2003/11/16 16:52:26 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<TR bgcolor= ><TD align="center" width="3%"><INPUT type="radio" name="CONTENT_ID" value="0000102520001">
</TD><TD width="14%">ŽÏŽ¢Ž·ŽÈŽ¡ŽÊEZMOVIE_PREM_PPV) </TD><TD width="14%">ŽÏŽ¢Ž·ŽÈŽ¡ŽÊEZMOVIE_PREM_PPV) </TD><TD width="14%">ŽÏŽ¢Ž·ŽÈŽ¡ŽÊEZMOVIE_PREM_PPV) </TD><TD width="14%">ez.amc </TD><TD width="13%"> 67,269 </TD><TD width="13%">2003/11/18 20:42:19 </TD><TD width="8%">Ž¤ŽÊŽ¤Ž·</TD>
<input type="hidden" name="TOTAL_PAGE" value ="28">
<input type="hidden" name="MOTO" value ="S">
    <input type="hidden" name="SERVICE_ID" value ="">
     <input type="hidden" name="GROUP_ID" value ="">
     <input type="hidden" name="CON_TITLE" value ="">
     <input type="hidden" name="CON_FILE" value ="">
     <input type="hidden" name="DATA_TYPE" value ="">
     <input type="hidden" name="CUR_PAGE" value ="6">

</TABLE><BR>
</FORM></CENTER></BODY></HTML>


ÌäÂê¤ò¸«¤Ä¤«¤é¤Ê¤¤¤Ç¤¹¡£

ÀÖ¿§¤Îʸ»ú¤Ï ¡ÖWindows µ¡¼ï°Í¸ʸ»ú¡×¤«¡¢¤¤¤ï¤æ¤ë¡ÖȾ³Ñ¥«¥Ê¡×¤Ç¤¹¡£ ¤³¤Î·Ç¼¨ÈĤǤϼ«Æ°ÊÑ´¹¤µ¤ì¤Þ¤¹¤¬¡¢º£¸å¤Ï»ÈÍѤ·¤Ê¤¤¤Ç²¼¤µ¤¤

No. 3984 # akuro 2004/10/07 (ÌÚ) 18:57:29
akuro¤È¿½¤·¤Þ¤¹¡£
MAC¤Î²þ¹Ô¥³¡¼¥É(CR)¤Î°·¤¤¤Ë¤Ä¤¤¤Æ¤ª¤¦¤«¤¬¤·¤¿¤¤¤³¤È¤¬¤´¤¶¤¤¤Þ¤¹¡£

RedHat8.0¾å¥³¥Þ¥ó¥É¥é¥¤¥ó¤è¤ê¡¢

vi lunux.txt
-------------
aiueo
kakikukeko
sasisuseso

¤È¤¤¤¦¥Õ¥¡¥¤¥ë¤òºîÀ®¤·¡¢¤³¤ì¤Î²þ¹Ô¥³¡¼¥É¤ò¡ïr¢ª¡ïn¤ËÊÑ´¹¤·¤Þ¤·¤¿¡£
perl -pe 's/¡ïn/¡ïr/' linux.txt > mac.txt

¤³¤Î¥Õ¥¡¥¤¥ë¤òWindows2000¥¯¥é¥¤¥¢¥ó¥ÈPC¤ËDL¤·¥á¥âÄ¢¤Çɽ¼¨¤·¤¿¤È¤³¤í¡£

--------
aiueo¢£kakikukeko¢£sasisuseso¢£

(¼ÂºÝ¤Ï¢£¤ÏȾʬ¤¯¤é¤¤¤ÎÂ礭¤µ¤Ç¤¹)

¤È¤Ê¤ê¡¢¡ïr¤¬Â¸ºß¤¹¤ë»ö¤¬³Îǧ¤Ç¤­¤Þ¤¹¡£
¼«Æ°¤Ç²þ¹Ô¥³¡¼¥É¤òǧ¼±¤¹¤ë¥¨¥Ç¥£¥¿¤Çɽ¼¨¤µ¤»¤ë¤È²þ¹Ô¤µ¤ì¤Æɽ¼¨¤µ¤ì¤Þ¤¹¡£
(¥µ¥¯¥é¥¨¥Ç¥£¥¿»ÈÍÑ)

¤³¤Î½èÍý¤ò¡¢Vine2.6R4¾å¤Ç¼Â¹Ô¤·¡¢¥á¥âÄ¢¡¢¥µ¥¯¥é¥¨¥Ç¥£¥¿¤Ç¸«¤¿¤È¤³¤í

-------
aiueokakikukekosasisuseso

¥Ç¥£¥¿¤Ç¤ß¤Æ¤â¤³¤Î¤è¤¦¤Ë¤Ê¤Ã¤Æ¤ª¤ê¤Þ¤·¤¿¡£
¤¿¤À¡¢¡ïr¼«ÂΤϸºß¤¹¤ë¤è¤¦¤Ê¤Î¤Ç¤¹¤¬¡¢¤¦¤Þ¤¯È¿±Ç¤µ¤ì¤Ê¤¤¤Î¤Ç¤¹¡£
(¤³¤Î·ë²Ì¤ÏFreeBSD5.2¤Ç¤âƱÍͤǤ·¤¿¡£)


¿§¡¹¤È¤³¤Î¸½¾Ý¤Ë¤Ä¤¤¤ÆÄ´¤Ù¤Æ¤Ï¤¤¤ë¤Î¤Ç¤¹¤¬¡¢¸¶°øÉÔÌÀ¤Ç¤¹¡£
¤É¤Ê¤¿¤«¤ª¤ï¤«¤ê¤ÎÊý¤¬¤¤¤é¤Ã¤·¤ã¤¤¤Þ¤·¤¿¤é¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

¤½¤ì¤È¡¢¾ðÊó¤¬Â­¤ê¤Ê¤¤ÅÀ¤¬¤¢¤ê¤Þ¤·¤¿¤é¤´»ØŦ¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

No. 3985 # 68user 2004/10/08 (¶â) 00:54:06
>>3983 ÅÄ
¤³¤Á¤é¤Î´Ä¶­¤Ç¤Ï¤¤¤º¤ì¤âÀµ¾ï¤Ëɽ¼¨¤µ¤ì¤¿¤Î¤Ç¡¢²ò·èÊýË¡¤Ï
¤ï¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£¾¯¤·¤º¤Ä½ÐÎϤòºï¤ê¡¢¤É¤³¤¬¤Þ¤º¤¤¤Î¤«
Ä´¤Ù¤Þ¤·¤ç¤¦¡£

¤â¤·Â¾¤Î·Ç¼¨ÈĤǼÁÌ䤹¤ë¾ì¹ç¤Ï¡¢¤³¤ì¤Þ¤Ç¤Ë½Ò¤Ù¤¿´Ä¶­¤Ë
²Ã¤¨¡¢¥Æ¡¼¥Ö¥ë¤Î¤É¤ÎÉôʬ¤¬¤É¤¦¤¤¤¦¤Õ¤¦¤ËÊø¤ì¤ë¤Î¤«¤ò
½ñ¤¯¤È¤è¤¤¤Ç¤·¤ç¤¦¡£

>>3984 akuro
¤Þ¤º¤ÏÌäÂ꤬ȯÀ¸¤·¤Æ¤¤¤ë²Õ½ê¤òÀÚ¤êʬ¤±¤Þ¤·¤ç¤¦¡£

perl ¼Â¹Ô¸å¤Ë od -cx ¤Ê¤É¤Ç¥Õ¥¡¥¤¥ë¤ÎÆâÍƤò³Îǧ¤·¤Þ¤·¤ç¤¦¡£
\r ¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ê¤é¡¢Windows ¦¤«¥Õ¥¡¥¤¥ëžÁ÷»þ¤ÎÌäÂê¤Ç¤¹¡£
\r ¤Ë¤Ê¤Ã¤Æ¤¤¤Ê¤¤¤Ê¤é¡¢Linux ¦¤ÎÌäÂê¤Ç¤¹¡£

No. 3986 # akuro 2004/10/08 (¶â) 14:36:02
>>3985 68user

ÊÖ¿®¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£

Áᮥե¡¥¤¥ë¤ò³Îǧ¤·¤Æ¤ß¤Þ¤·¤¿¤È¤³¤í¡¢
(Vine,redhat8.0¤Ç¤Î³Îǧ)
¢ªFREEBSD¤ÎÊý¤Ïº£µ¯Æ°¤Ç¤­¤Ê¤¤¤¿¤á¸å¤Ç¥Æ¥¹¥È¤·¤Æ¤ß¤Þ¤¹¡£

0000000 a i u e o \r k a k i k u k e k o
                6961 6575 0d6f 616b 696b 756b 656b 6f6b
0000020 \r s a s i s u s e s o \r
                730d 7361 7369 7375 7365 0d6f
0000034

¤ÈƱ¤¸·ë²Ì¤È¤Ê¤ê¡¢¡ïr¤Ï¸ºß¤¹¤ë»ö¤¬È½ÌÀ¤·¤Þ¤·¤¿¡£
¤È¤¤¤¦»ö¤Ï¡¢¡ÉWindows ¦¤«¥Õ¥¡¥¤¥ëžÁ÷»þ¡É¤ÎÌäÂê¤Î¤è¤¦¤Ç¤¹¡£

¥Õ¥¡¥¤¥ë¤Î¼èÆÀÊýË¡¤ÏRedHat¤âVine¤âWinSCP¤ò»ÈÍѤ·¤Æ¼õ¤±¤È¤ê¤Þ¤·¤¿¡£
¼õ¤±¼è¤Ã¤¿¥¯¥é¥¤¥¢¥ó¥ÈPC¤ÏƱ¤¸¤Ê¤Î¤Ç¸¶°ø¤ÏžÁ÷»þ¤Îµ¤¤¬¤·¤Þ¤¹¡£
¤È¤Ê¤ë¤È¡¢SSH¤ÎÀßÄ꤫¤â¤·¤ì¤Ê¤¤¤Ç¤¹¡£

¤Þ¤À¡¢¸¶°ø¤Ï¤ï¤«¤ê¤Þ¤»¤ó¤¬°ú¤­Â³¤­Ä´ºº¤·¤Æ¤ß¤Þ¤¹¡£

No. 3987 # akuro 2004/10/12 (²Ð) 19:08:09
>>3986 akuro

¸¶°ø¤Ï¡¢WinSCP¤Ç¤ÎžÁ÷Ãæ¤Ë¥Õ¥¡¥¤¥ë¤¬²Ã¹©¤µ¤ì¤Æ¤¤¤¿¤¿¤á¤Ç¤·¤¿¡£

°ìÅÙ¥í¡¼¥«¥ë¤ËDL¤·¤¿¸å¤Ë¡¢ºÆÅÙ¥µ¡¼¥Ð¡¼¤ØUP¤·¤¿¤È¤³¤í
¥Õ¥¡¥¤¥ë¤Î¥À¥ó¥×¥Ç¡¼¥¿¤¬°Û¤Ê¤ê¤Þ¤·¤¿(¥Õ¥¡¥¤¥ë¥µ¥¤¥º¤â)¡£

0000000 a i u e o \r k a k i k u k e k o
                6961 6575 0d6f 616b 696b 756b 656b 6f6b
0000020 \r s a s i s u s e s o \r
                730d 7361 7369 7375 7365 0d6f

¢­DL¡¢UP¸å

0000000 a i u e o k a k i k u k e k o s
                6961 6575 6b6f 6b61 6b69 6b75 6b65 736f
0000020 a s i s u s e s o \0
                7361 7369 7375 7365 006f
0000031

sshd_config¤òÄ´¤Ù¤Æ¤ß¤Æ¤â¡¢Å¾Á÷¥â¡¼¥É¤é¤·¤­¤â¤Î¤Ï¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤Ê¤Ë¤«¤è¤¤ÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡£
(FTP¤Ç¥Ð¥¤¥Ê¥ê¥â¡¼¥É¤Ë¤¹¤ë¤·¤«¤Ê¤¤¤Î¤Ç¤·¤ç¤¦¤«)
FTP¤ò»ÈÍѤ·¤Æ¥Ð¥¤¥Ê¥êžÁ÷¤·¤¿¤È¤³¤í¡¢ÌäÂê¤Ê¤¯Å¾Á÷¤Ç¤­¤Þ¤·¤¿¡£

No. 3988 # 68user 2004/10/12 (²Ð) 19:37:59
>>3987 akuro
WinSCP ¤ÏÃΤê¤Þ¤»¤ó¤¬¡¢
      http://itc.sfc.keio.ac.jp/ml/
¤Î¡Ö2-6. žÁ÷¥â¡¼¥É¤Ç[¥Æ¥­¥¹¥È(T)] ¤òÁªÂò¤·¤Þ¤¹¡×¤È¤¤¤¦ÀßÄê²èÌ̤Ç
¥â¡¼¥ÉÀÚÂؤò¹Ô¤Ê¤¨¤ë¤è¤¦¤Ë¸«¤¨¤Þ¤¹¡£

> sshd_config¤òÄ´¤Ù¤Æ¤ß¤Æ¤â¡¢Å¾Á÷¥â¡¼¥É¤é¤·¤­¤â¤Î¤Ï¸«¤Ä¤«¤ê¤Þ¤»¤ó¤Ç¤·¤¿¡£
¤ï¤¿¤·¤ÎÃΤë¸Â¤ê¡¢UNIX Ū¤Ê ssh¡¦scp ¤Ï²þ¹Ô¥³¡¼¥ÉÃÖ´¹¤Ï¹Ô¤Ê¤¤¤Þ¤»¤ó¡£
WinSCP Æȼ«¤Î¤ª¤»¤Ã¤«¤¤¤Êµ¡Ç½¤Ç¤·¤ç¤¦¡£

No. 3989 # akuro 2004/10/12 (²Ð) 19:55:35
>>>3987

akuro¤È¿½¤·¤Þ¤¹¡£¤Ê¤ó¤É¤â¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£

Àè¤Û¤É¤Ï¡¢²þ¹Ô¥³¡¼¥É¤ò¡ï£î¢ª¡ï£òÊÑ´¹¤·¤Þ¤·¤¿¤¬¡£
¡ï£î¤Î¤Þ¤Þ¤Ç¤â¥Õ¥¡¥¤¥ë¤Ë°Û¾ï¤¬À¸¤¸¤ë¤«¥Æ¥¹¥È¤·¤Æ¤ß¤Þ¤·¤¿½ê¡¢
¡ï£î¤Î¾ì¹ç¤ÏÌäÂê¤Ê¤¯Å¾Á÷¤Ç¤­¤Þ¤·¤¿¡£

No. 3990 # akuro 2004/10/12 (²Ð) 20:07:26
>>3988 68user
ÊÖ¿®¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤¹¡£akuro¤Ç¤¹¡£

ÌäÂê²ò·è¤¤¤¿¤·¤Þ¤·¤¿¡£

¤´»ØŦ¤¤¤¿¤À¤¤¤¿WinSCP¤ÎžÁ÷¤ò¥Ð¥¤¥Ê¥ê¤Ë¤·¤¿¤È¤³¤í
ÌäÂê¤Ê¤¯Å¾Á÷¤Ç¤­¤Þ¤·¤¿¡£

¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

No. 3991 # sugimoto 2004/10/14 (ÌÚ) 18:28:40
sugimoto¤È¿½¤·¤Þ¤¹¡£
OpenSSL¤ÈRSA°Å¹æ¤òÄ´¤Ù¤Æ¤¤¤Æ¤³¤³¤Ëé¤ê¤Ä¤­¤Þ¤·¤¿¡£
¤¢¤ë¥æ¡¼¥¶ÍͤÈCGI¤ò²ð¤·¤Æ¥Ç¡¼¥¿ÄÌ¿®¤ò¹Ô¤ª¤¦¤È¤·¤Æ¤¤¤ë¤Î¤Ç¤¹¤¬¡¢¥æ¡¼¥¶
ÍͤλØÄê¤Ç¡¢¥Ç¡¼¥¿¤ÏRFC2313¤Ë½àµò¤·¤¿RSA°Å¹æ²½¤·¤ÆÁ÷¤ë¤È¤¤¤¦»ö¤Ë¤Ê¤Ã¤Æ
¤Þ¤¹¡£
°Å¹æ²½/Éü¹æ¤Ë¤Ä¤¤¤Æ¤Ï68userÍͤΥͥåȥ¥¯¥×¥í¥°¥é¥ß¥ó¥°¤Î´ðÁäò»²¹Í
¤Ëºî¤ì¤½¤¦¤Ê¤Î¤Ç¤¹¤¬¡¢Í£°ì²ò·è¤Ç¤­¤Ê¤¤ÌäÂ꤬¤¢¤ê¤Þ¤·¤Æ¡¢¤³¤³¤Ë¼ÁÌ䤷¤Æ
¤ª¤ê¤Þ¤¹¡£
¡ÚÌäÂêÅÀ¡Û
    ¥æ¡¼¥¶Íͤ«¤éÄ󼨤µ¤ì¤¿»ÅÍͤˤϰŹ沽¥­¡¼/Éü¹æ¥­¡¼¤¬¤½¤ì¤¾¤ì£±¤Ä¤·¤«
̵¤¤¡£
    RSA¤Ï¥â¥¸¥å¥é¥¹¤È»äÍ­»Ø¿ô¡¤¸ø³«»Ø¿ô¤Ç°Å¹æ²½/Éü¹æ¤ò¹Ô¤¨¤ë¤È¤¤¤¦Íý²ò¤Ê
¤Î¤Ç¤¹¤¬¡¢¥æ¡¼¥¶ÍͤλÅÍͤǤϥ⥸¥å¥é¥¹¤Ë³ºÅö¤¹¤ë»ÅÍͤ¬Ìµ¤¤¤Î¤Ç¤¹¡£
    RSA¤Ë¤ª¤¤¤Æ¡¢¤³¤Î¤è¤¦¤Ê»ö¤Ï²Äǽ¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡©
    Î㤨¤Ð¡¢opessl genrsa¥³¥Þ¥ó¥É¤ÇºîÀ®¤·¤¿RSA¥­¡¼¤Ê¤é¡¢´Ø¿ô¤ò»È¤¨¤Ð»Ø¿ô
¤È¥â¥¸¥å¥é¥¹¤Ëʬ³ä¤Ç¤­¤ë¤è¡£¤Ê¤É¾ðÊ󤬤¢¤ê¤Þ¤·¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£
¢¨¥æ¡¼¥¶ÍͤˤâÌ䤤¹ç¤ï¤»Ãæ¤Ê¤Î¤Ç¤¹¤¬¡¢¥ì¥¹¥Ý¥ó¥¹¤ÎÌäÂ꤬¤¢¤ê¤Þ¤·¤Æ¡¢
¤³¤Á¤é¤Ë¤â¼ÁÌ䤷¤¿¼¡Âè¤Ç¤¹¡£
    ¤è¤í¤·¤¯¤ª´ê¤¤¤¤¤¿¤·¤Þ¤¹¡£

No. 3992 # 68user 2004/10/14 (ÌÚ) 18:59:49
>>3991 sugimoto
> RSA¤Ï¥â¥¸¥å¥é¥¹¤È»äÍ­»Ø¿ô¡¤¸ø³«»Ø¿ô¤Ç°Å¹æ²½/Éü¹æ¤ò¹Ô¤¨¤ë¤È¤¤¤¦Íý²ò¤Ê
> ¤Î¤Ç¤¹¤¬
¤½¤Î¤È¤ª¤ê¤Ç¤¹¡£

> ¥æ¡¼¥¶ÍͤλÅÍͤǤϥ⥸¥å¥é¥¹¤Ë³ºÅö¤¹¤ë»ÅÍͤ¬Ìµ¤¤¤Î¤Ç¤¹¡£
¤³¤ì¤ÏÄêµÁ¤ÎÌäÂê¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«? »ÅÍͤˤ¢¤ë¡Ö°Å¹æ²½¥­¡¼¡×¤Ï¡¢
¼Â¤Ï¡Ö¥â¥¸¥å¥é¥¹¤È¸ø³«»Ø¿ô¡×¤ò°ÕÌ£¤¹¤ë¡¢¤È¤¤¤¦¤³¤È¤Ï¤Ê¤¤¤Ç¤¹¤«?

# ¡Ö°Å¹æ²½¥­¡¼/Éü¹æ¥­¡¼¡×¤¬¶ñÂÎŪ¤Ë²¿¤ò»Ø¤¹¤Î¤«¤è¤¯¤ï¤«¤é¤Ê¤¤
# ¤Î¤Ç²¿¤È¤â¤¤¤¨¤Ê¤¤¤Î¤Ç¤¹¤¬¡£

> Î㤨¤Ð¡¢opessl genrsa¥³¥Þ¥ó¥É¤ÇºîÀ®¤·¤¿RSA¥­¡¼¤Ê¤é¡¢´Ø¿ô¤ò»È¤¨¤Ð
> »Ø¿ô¤È¥â¥¸¥å¥é¥¹¤Ëʬ³ä¤Ç¤­¤ë¤è¡£¤Ê¤É¾ðÊ󤬤¢¤ê¤Þ¤·¤¿¤é¶µ¤¨¤Æ²¼¤µ¤¤¡£
genrsa ¤Ç½ÐÎϤµ¤ì¤ë¥Ç¡¼¥¿¤Ë¤Ï¡¢¥â¥¸¥å¥é¥¹¡¦¸ø³«»Ø¿ô¡¦Èó¸ø³«»Ø¿ôÁ´¤Æ¤¬
´Þ¤Þ¤ì¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢²Äǽ¤Ç¤¹ (openssl genrsa ¤ÇÀ¸À®¤·¤¿¥Ç¡¼¥¿¤òÆɤ߹þ¤ß¡¢
openssl rsa -pubout ¤Ç¸ø³«¸°¤ò½ÐÎϤǤ­¤ë¤ï¤±¤Ê¤Î¤Ç)¡£

»î¤·¤Æ¤Þ¤»¤ó¤¬¡¢genrsa ¤ÇÀ¸À®¤·¤¿ PEM ¥Õ¥¡¥¤¥ë¤ò
    http://www.openssl.org/docs/crypto/pem.html
¤Ê¤É¤ÇÆɤ߹þ¤ß¡¢RSA ¹½Â¤ÂΤò»²¾È¤¹¤ì¤Ð¤è¤¤¤Î¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«¡£

No. 3993 # sugimoto 2004/10/14 (ÌÚ) 19:50:18
>>3992 68user
ÁÇÁᤤ²óÅú¤É¤¦¤âÍ­Æñ¤¦¤´¤¶¤¤¤Þ¤¹¡£¡ä 68UserÍÍ
> > ¥æ¡¼¥¶ÍͤλÅÍͤǤϥ⥸¥å¥é¥¹¤Ë³ºÅö¤¹¤ë»ÅÍͤ¬Ìµ¤¤¤Î¤Ç¤¹¡£
> ¤³¤ì¤ÏÄêµÁ¤ÎÌäÂê¤Ç¤Ï¤Ê¤¤¤Ç¤·¤ç¤¦¤«? »ÅÍͤˤ¢¤ë¡Ö°Å¹æ²½¥­¡¼¡×¤Ï¡¢
> ¼Â¤Ï¡Ö¥â¥¸¥å¥é¥¹¤È¸ø³«»Ø¿ô¡×¤ò°ÕÌ£¤¹¤ë¡¢¤È¤¤¤¦¤³¤È¤Ï¤Ê¤¤¤Ç¤¹¤«?
    ¥æ¡¼¥¶¤«¤é¤Î²óÅú¤È¤·¤Æ¡¢¾åµ­¤¬Íè¤ë»ö¤ò¿´ÂÔ¤Á¤Ë¤·¤Æ¤¤¤ë½ê¤Ç¤¹¡£

  PEM¥Õ¥¡¥¤¥ë¤«¤é¥â¥¸¥å¥é¥¹¤òÈ´¤­½Ð¤¹½èÍý¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥æ¡¼¥¶¤«¤é¤Î²ó
Åú¤òÂԤäƤ«¤é¤Ë¤·¤è¤¦¤È»×¤Ã¤Æ¤ª¤ê¤Þ¤¹¤¬¡¢É¬Íפˤʤ俾ì¹ç¤Ï´èÄ¥¤Ã¤Æ
¤ß¤Þ¤¹¡£¤³¤Î½èÍý¤ò¹Ô¤¤¤Þ¤·¤¿¤é¤Þ¤¿Êó¹ð¤·¤Þ¤¹¡£

No. 3994 # sugimoto 2004/10/15 (¶â) 18:53:17
>>3993 sugimoto
sugimoto¤Ç¤¹¡£
·ë¶ÉPEM¥Õ¥¡¥¤¥ë¤«¤éÈëÌ©»Ø¿ô/¸ø³«»Ø¿ô¤È¥â¥¸¥å¥é¥¹¤òÈ´¤­½Ð¤¹»ö¤Ë¤·¤Þ¤·¤¿¡£
¥×¥é¥¤¥Ù¡¼¥È¸°¥Õ¥¡¥¤¥ë¤«¤é¤ÎÆɤ߹þ¤ß¤Ï
PEM_read_RSAPrivateKey()¤È¤¤¤¦´Ø¿ô¤òÍøÍѤ¹¤ë»ö¤Ç¾å¼ê¤¯¹Ô¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢
¥Ñ¥Ö¥ê¥Ã¥¯¥­¡¼¤ÎÆɤ߹þ¤ß¤Ë¼ºÇÔ¤·¤Æ¤¤¤ë¾õÂ֤Ǥ¹¡£
°Ê²¼¤¬Æɤ߹þ¤ß¥×¥í¥°¥é¥à
RSA *ReadPublicKey(char *keyfile)
{
    FILE *fp = fopen (keyfile, "r");
    RSA *pkey;
    if (!fp) return NULL;
    pkey = PEM_read_RSAPublicKey(fp,NULL,NULL,NULL);
    fclose (fp);
    if (pkey == NULL)
          ERR_print_errors_fp (stderr);
    return pkey;
}
¤³¤Î´Ø¿ô¤ò¼Â¹Ô¤¹¤ë¤È¡¢°Ê²¼¤Î¥¨¥é¡¼¤¬½Ð¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
=== ¤³¤³¤«¤é ===
5563:error:0906D06C:PEM routines:PEM_read_bio:no start line:pem_lib.c:669:Expect
ing: RSA PUBLIC KEY
Error: can't load public key
=== ¤³¤³¤Þ¤Ç ===
ÅϤ·¤Æ¤¤¤ë¥Õ¥¡¥¤¥ë¤Ï
openssl rsa -in private.key -pubout -out public.key
¤ÇºîÀ®¤·¤¿¡¢public.key¤Ë¤Ê¤ê¤Þ¤¹¡£
¤Á¤Ê¤ß¤Ë¡¢private.key¤ÎÆɤ߹þ¤ß¤Ï¾åµ­´Ø¿ô¤ÎPEM_read_RSAPublicKey¤ò
PEM_read_RSAPrivateKey¤ËÊѤ¨¤¿Êª¤Ç¡¢ÌäÂê̵¤¯Æ°ºî¤·¤Þ¤¹¡£
¤É¤Ê¤¿¤«¡¢private.key¤ÎÆɤ߹þ¤ß¤ò¹Ô¤Ã¤¿Êý¤¬µï¤Þ¤·¤¿¤é¡¢½õ¸À¤ò¤ª´ê¤¤
¤¤¤¿¤·¤Þ¤¹¡£

No. 3995 # 68user 2004/10/15 (¶â) 19:02:13
>>3994 sugimoto
º£¼Â¹Ô´Ä¶­¤¬¤Ê¤¤¤Î¤Ç¤ï¤«¤ê¤Þ¤»¤ó¤¬¡¢¤È¤ê¤¢¤¨¤ºµ¤¤Ë¤Ê¤Ã¤¿¤È¤³¤í¤À¤±¡£

> ¥×¥é¥¤¥Ù¡¼¥È¸°¥Õ¥¡¥¤¥ë¤«¤é¤ÎÆɤ߹þ¤ß¤Ï
> PEM_read_RSAPrivateKey()¤È¤¤¤¦´Ø¿ô¤òÍøÍѤ¹¤ë»ö¤Ç¾å¼ê¤¯¹Ô¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢
¤³¤ì¤Ç RSA ¹½Â¤ÂΤˡÖÈëÌ©»Ø¿ô/¸ø³«»Ø¿ô¤È¥â¥¸¥å¥é¥¹¡×¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤«?

¤¢¤È¡¢ÌÜŪ¤¬¤è¤¯¤ï¤«¤é¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢PEM ¥Õ¥¡¥¤¥ë¤Ï郎ºî¤ë¤Î¤Ç¤¹¤«? (¼«Ê¬? Áê¼ê?)
¤Ê¤¼¡ÖÈëÌ©»Ø¿ô/¸ø³«»Ø¿ô¤È¥â¥¸¥å¥é¥¹¡×¤òÈ´¤­½Ð¤¹É¬Íפ¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«?

No. 3996 # sugimoto 2004/10/15 (¶â) 20:12:28
>>3995 68user
> > ¥×¥é¥¤¥Ù¡¼¥È¸°¥Õ¥¡¥¤¥ë¤«¤é¤ÎÆɤ߹þ¤ß¤Ï
> > PEM_read_RSAPrivateKey()¤È¤¤¤¦´Ø¿ô¤òÍøÍѤ¹¤ë»ö¤Ç¾å¼ê¤¯¹Ô¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢
> ¤³¤ì¤Ç RSA ¹½Â¤ÂΤˡÖÈëÌ©»Ø¿ô/¸ø³«»Ø¿ô¤È¥â¥¸¥å¥é¥¹¡×¤¬¥»¥Ã¥È¤µ¤ì¤Æ¤¤¤Þ¤»¤ó¤«?

¤Ï¤¤¡£¥»¥Ã¥È¤µ¤ì¤Þ¤¹¡£
Æ°ºî¤Î³Îǧ¤Î¤¿¤á¡¢¥Ñ¥Ö¥ê¥Ã¥¯¸°¥Õ¥¡¥¤¥ë¤âÆɤ߹þ¤ß¤¿¤«¤Ã¤¿¤Î¤Ç¤¹¡£

> ¤¢¤È¡¢ÌÜŪ¤¬¤è¤¯¤ï¤«¤é¤Ê¤¤¤Î¤Ç¤¹¤¬¡¢PEM ¥Õ¥¡¥¤¥ë¤Ï郎ºî¤ë¤Î¤Ç¤¹¤«? (¼«Ê¬? Áê¼ê?)
  PEM¤Ï¼«Ê¬¤ÇºîÀ®¤·¤Æ¡¢°ìÊý¤òÁê¼ê¤ËÅϤ·¤Þ¤¹¡£

> ¤Ê¤¼¡ÖÈëÌ©»Ø¿ô/¸ø³«»Ø¿ô¤È¥â¥¸¥å¥é¥¹¡×¤òÈ´¤­½Ð¤¹É¬Íפ¬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«?
    PEM¥Õ¥¡¥¤¥ë¤Î¸°¤ò»È¤Ã¤Æ°Å¹æ²½¤ÈÉü¹æ¤ò¹Ô¤¤¤¿¤¤¤«¤é¤Ç¤¹¡£

    ¤Ç¡¢Åö½é¤ÎÌäÂê¤Ç¤¢¤Ã¤¿¥Ñ¥Ö¥ê¥Ã¥¯¸°¤ÎÆɤ߹þ¤ß¤Ç¤¹¤¬¡¢
    PEM_read_RSA_PUBKEY() ¤È¤¤¤¦´Ø¿ô¤ò»È¤Ã¤¿¤È¤³¤í¾å¼ê¤¯¹Ô¤­¤Þ¤·¤¿¡£
    ¿§¡¹¤´½õ¸À¤¤¤¿¤À¤­Í­Æñ¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

No. 3997 # 68user 2004/10/15 (¶â) 20:19:42
>>3996 sugimoto
> PEM¥Õ¥¡¥¤¥ë¤Î¸°¤ò»È¤Ã¤Æ°Å¹æ²½¤ÈÉü¹æ¤ò¹Ô¤¤¤¿¤¤¤«¤é¤Ç¤¹¡£
PEM ¥Õ¥¡¥¤¥ë¤ò¥í¡¼¥É¤·¤¿¤é RSA ¹½Â¤ÂΤ¬À¸À®¤µ¤ì¤ë¤ï¤±¤Ç¤¹¤«¤é¡¢
¤½¤ì¤ò»È¤Ã¤Æ OpenSSL ¤Î´Ø¿ô¤Ç RFC2313 (PKCS#1) ¤Ê¥Ç¡¼¥¿¤òÀ¸À®
¤¹¤ë¤Î¤Ï¥À¥á¤Ê¤Î¤Ç¤¹¤«?

¡Ä¤È¼ÁÌ䤷¤è¤¦¤«¤È»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¤ª¤½¤é¤¯¡Ö¤½¤¦¤¤¤¦»ÅÍͤǤ¢¤ë¡×¤¬
Åú¤¨¤Ê¤è¤¦¤Êµ¤¤¬¤·¤Þ¤¹¤Î¤Ç¤ä¤á¤Æ¤ª¤­¤Þ¤¹¡£

No. 3998 # 68user 2004/10/15 (¶â) 20:29:31
>>3997 68user
¤¢¡¼¡¢¸ø³«»Ø¿ô¤È¥â¥¸¥å¥é¥¹¤À¤± (Æȼ«¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç Áê¼ê¦¤ËÁ÷¤ê¤¿¤¤¡¢
¤È¤¤¤¦°Õ¿Þ¤«¤Ê¡£

No. 3999 # sugimoto 2004/10/15 (¶â) 21:01:45
>>3998 68user
¤ä¤ê¤¿¤¤»ö¤ò¾å¼ê¤¯ÅÁ¤¨¤ë»ö¤¬¤Ç¤­¤Ê¤¤¤¯¤Æ¡¢¤¹¤ß¤Þ¤»¤ó¡£
Á÷¿®¼Ô¤Ïʿʸ¤òPEM·Á¼°¤Î¥Ñ¥Ö¥ê¥Ã¥¯¸°¤Ç°Å¹æ²½¤·¡¢
¼õ¿®¼Ô¤ÏPEM·Á¼°¤Î¥×¥é¥¤¥Ù¡¼¥È¸°¤ÇÉü¹æ¤¹¤ë¡£
¤È¤¤¤¦»ö¤ò¼Â¸½¤·¤¿¤«¤Ã¤¿¤À¤±¤Ê¤Î¤Ç¤¹¡£
°Å¹æ²½/Éü¹æ¤ÎºÝ¤Ë¤ÏPEM·Á¼°¥Õ¥¡¥¤¥ëÆâ¤Î»Ø¿ô¤È¥â¥¸¥å¥é¥¹¤òÈ´¤­½Ð¤¹
ɬÍפ¬¤¢¤Ã¤Æ¡¦¡¦¡¦¤È¤¤¤¦ÏäǤ¹¡£
¤È¡¢¤³¤³¤Þ¤Ç½ñ¤¤¤Æ»×¤Ã¤¿¤Î¤Ç¤¹¤¬¡¢¤â¤·¤«¤·¤ÆPEM·Á¼°¤Î¸°¤ò¤½¤Î¤Þ¤Þ
»È¤Ã¤ÆRSA°Å¹æ²½¤¹¤ë´Ø¿ô¤¬Â¸ºß¤¹¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¤È¤¹¤ì¤Ð¡¢²¿¤Æ̵Â̤ʻö¤ò¤·¤Æ¤¤¤ë¤ó¤À¡¦¡¦¡¦¡£¤È¤¤¤¦´¶¤¸¤Ç¤¹¡£

No. 4000 # nira 2004/10/15 (¶â) 22:11:58
¤Ï¤¸¤á¤Þ¤·¤Æ¡£
¡ÖHTTP¥¯¥é¥¤¥¢¥ó¥È¤òºî¤Ã¤Æ¤ß¤è¤¦¡×¤Ë´Ø¤·¤Æ¼ÁÌ䤵¤»¤Æ¤¯¤À¤µ¤¤¡£

°ìÈÌŪ¤ÊHP¤Ê¤é¡ÖHTTP¥¯¥é¥¤¥¢¥ó¥È¤òºî¤Ã¤Æ¤ß¤è¤¦(2)¡×¤Î¥½¡¼¥¹¤Ç¡¢»ØÄꤵ¤ì¤¿URL¤Îhtml¥Õ¥¡¥¤¥ë
¤Î¥½¡¼¥¹¤òÆɤ߹þ¤à¤³¤È¤¬¤Ç¤­¤Þ¤¹¤¬¡¢Opera¥Ö¥é¥¦¥¶¤Ç¥ª¡¼¥È¥ê¥À¥¤¥ì¥¯¥È¤òÍ­¸ú¤Ë¤·¤Æ¤¤¤Ê¤¤¾ì¹ç
¤Ëɽ¼¨¤µ¤ì¤Ê¤¤¤è¤¦¤ÊURL¤ò»ØÄꤹ¤ë¤È

<head><title>Object moved</title></head>
<body><h1>Object Moved</h1>This object may be found <a HREF="">here</a>.</body>

¤Î¤è¤¦¤Êhtml¥½¡¼¥¹¤ò½¦¤Ã¤Æ¤­¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¥ê¥À¥¤¥ì¥¯¥ÈÀè¤Îhtml¥½¡¼¥¹¤ò½¦¤Ã¤Æ¤¯¤ë¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡¢¤É¤Î¤è¤¦¤Ë¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤·¤ç¤¦¤«¡£

¤è¤í¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 4001 # 68user 2004/10/15 (¶â) 23:27:56
>>3999 sugimoto
> Á÷¿®¼Ô¤Ïʿʸ¤òPEM·Á¼°¤Î¥Ñ¥Ö¥ê¥Ã¥¯¸°¤Ç°Å¹æ²½¤·¡¢
¤Þ¤º¤³¤Îɽ¸½¤¬Èù̯¤ËÊѤǤ¹¡£PEM ¤Ï¥Õ¥©¡¼¥Þ¥Ã¥È¤Î¤Ò¤È¤Ä¤Ç¤·¤«¤¢¤ê¤Þ¤»¤ó¡£
¡ÖÁ÷¿®¼Ô¤Ï PEM·Á¼°¤ÇÊݸ¤µ¤ì¤Æ¤¤¤ë¸ø³«¸°¤ò»È¤Ã¤Æ°Å¹æ²½¤·¡×¤Ê¤é¤ï¤«¤ê¤Þ¤¹¡£

# ¤ï¤«¤Ã¤Æ¤¤¤ë¿Í¤¬½ñ¤¤¤¿Ê¸¾Ï¤Ç¤¢¤ì¤Ð¤¢¤Þ¤êµ¤¤Ë¤Ê¤ê¤Þ¤»¤ó¤¬¡¢º£²ó¤Ï
# ¤É¤¦¤âÍý²ò¤¬¤¢¤ä¤·¤¤¤Î¤Ç¤Ï¤Ê¤¤¤«¤È¤¤¤¦µ¤¤¬¤·¤Þ¤¹¡£

PEM ·Á¼°¤Ç¥Õ¥¡¥¤¥ë¤ËÊݸ¤µ¤ì¤Æ¤¤¤ë¸°¤ò»È¤Ã¤Æ RSA ¤Ç°Å¹æ²½¤¹¤ë¤Î¤Ç¤¢¤ì¤Ð¡¢
PEM_read_RSAPrivateKey ¤Ç¥Õ¥¡¥¤¥ë¤«¤é¸°¤òÆɤ߹þ¤ß¡¢RSA ¹½Â¤ÂΤËŬÀÚ¤Ê
¥Ç¡¼¥¿¤ò¥»¥Ã¥È¤·¤Æ¡¢
    http://X68000.q-e-d.net/~68user/net/rsa-1.html
¤Î¤è¤¦¤Ë RSA_private_encrypt ¤ò»È¤¨¤Ð¤¹¤ß¤Þ¤¹¡£¥â¥¸¥å¥é¥¹¤Ê¤É¤ò»²¾È¤¹¤ë
ɬÍפϤ¢¤ê¤Þ¤»¤ó¡£

¥³¥Þ¥ó¥É¥é¥¤¥ó¤«¤é¹Ô¤¦¤Ê¤é openssl rsautl -encrypt ¤Ç¤âƱ¤¸·ë²Ì¤Ë¤Ê¤ë¤È
»×¤ï¤ì¤Þ¤¹¡£

¤Ê¤ª¡¢PKCS#1 ¤Ç¤Ï¸°¤¬ k ¥ª¥¯¥Æ¥Ã¥È¤Î¤È¤­¡¢ºÇÂç¤Ç¤â k-11 ¥ª¥¯¥Æ¥Ã¥È¤Î¥Ç¡¼¥¿
¤·¤«°Å¹æ²½¤Ç¤­¤Þ¤»¤ó¤¬¡¢¤½¤ì¤Ï¤è¤¤¤Î¤Ç¤¹¤«?

>>4000 nira
> ¥ê¥À¥¤¥ì¥¯¥ÈÀè¤Îhtml¥½¡¼¥¹¤ò½¦¤Ã¤Æ¤¯¤ë¤è¤¦¤Ë¤·¤¿¤¤¤Î¤Ç¤¹¤¬
Location ¥Ø¥Ã¥À¤ò¸«¤Æ¡¢ºÆÅ٥ꥯ¥¨¥¹¥È¤òÁ÷¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
    http://X68000.q-e-d.net/~68user/net/http-4.html#3
¤ò¤É¤¦¤¾¡£

No. 4002 # ¥¢¥ó¥É¥í¥á¥À 2004/10/18 (·î) 13:51:43
¤Ï¤¸¤á¤Þ¤·¤Æ¡ª¡ª
¤ª¤·¤¨¤Æ¤¯¤À¤µ¤¤¡£
£Õ£Î£É£Ø¡Ê£È£Ð¡Ë¤Î¥µ¡¼¥Ð¡¼´Ö¤Ç¥Õ¥¡¥¤¥ë¤òÂçÎÌ¥³¥Ô¡¼¤¹¤ëºî¶È¤¬¤¢¤ê¤Þ¤¹¡£
rcp -pr ¥³¥Þ¥ó¥É¤ò»ÈÍѤ·¤¿¤È¤³¤í¡¢¥í¥°¥¤¥ó¤·¤¿¥æ¡¼¥¶Ì¾¤ÇÁ´¤Æ¤Î¥Õ¥¡¥¤¥ë¤¬°ÜÆ°¤µ¤ì¤Æ
¤·¤Þ¤¤¤Þ¤¹¡£
Îã¡Ëuser1 file0001¡¡¡¡¥³¥Ô¡¼¸å¢Í¡¡user1 file0001
        root file0002 user1 file0002

½êÍ­¼Ô¤òÊѹ¹¤»¤º¤Ë¥³¥Ô¡¼¤Ç¤­¤ëÊýË¡¤¬¤¢¤ì¤Ð
¤É¤Ê¤¿¤«¤´¶µ¼ø´ê¤¤¤Þ¤¹¡£
µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹<m(__)m>

No. 4003 # 68user 2004/10/18 (·î) 17:29:15
>>4002 ¥¢¥ó¥É¥í¥á¥À
root ¤Ç¼Â¹Ô¤·¤Æ¤â¥À¥á¤Ç¤¹¤«? ¤â¤·¥À¥á¤Ê¤é tar ¤Ç¸Ç¤á¤Æ¤½¤ì¤ò rcp ¤·¡¢
tar xfp ¤ÇŸ³«¤¹¤ë¤È¤è¤¤¤Ç¤·¤ç¤¦¡£

No. 4004 # ¤È¡¼¤ê¤¹¤¬¤ê 2004/10/19 (²Ð) 01:37:52
>>4002 ¥¢¥ó¥É¥í¥á¥À
rcp¤Î-p¥ª¥×¥·¥ç¥ó¤Ï¥Ñ¡¼¥ß¥Ã¥·¥ç¥ó¤ÏÊÝ»ý¤µ¤ì¤Þ¤¹¤¬
¥Õ¥¡¥¤¥ë¤Î¥ª¡¼¥Ê¡¼¤ÏÊѤï¤Ã¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
(Solaris¡¢AIX¤Ç¤âƱÍÍ)

Â礶¤Ã¤Ñ¤Ç¤¹¤¬¡¢¤³¤ó¤Ê´¶¤¸¤Ç...
tar cfp - ./from_dir | rsh to_server "cd to_dir; tar xfp -"

No. 4005 # ¥¢¥ó¥É¥í¥á¥À 2004/10/19 (²Ð) 15:15:24
¤ß¤Ê¤µ¤ó¥¢¥É¥Ð¥¤¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£
tar¤Ç¤Þ¤È¤á¤Æ¥ê¥â¡¼¥È¥³¥Ô¡¼¤¹¤ëÊýË¡¤Ç¥Æ¥¹¥È¤·¤¿¤È¤³¤í
¤¦¤Þ¤¯¤Ç¤­¤Þ¤·¤¿¡£
¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£¡À(^O^)¡¿

No. 4006 # ¤¯¤í 2004/10/21 (ÌÚ) 23:18:25
¤Ï¤¸¤á¤Þ¤·¤Æ¡¢¤¯¤í¤È¿½¤·¤Þ¤¹¡£

¤³¤³¤Î¥µ¥¤¥È¤Î¥Í¥Ã¥È¥ï¡¼¥¯¥×¥í¥°¥é¥ß¥ó¥°[ SSL/TLS ¤Ç¥¢¥¯¥»¥¹¤·¤Æ¤ß¤è¤¦ (1) ]¤Î
¥µ¥ó¥×¥ë¤ò¸µ¤Ë¡¢httpsÀܳ¤Ç¡¢¥á¥½¥Ã¥É¤òGET¤Ç¤Ï¤Ê¤¯POST¤Ç¡¢¥Ç¡¼¥¿¤òÁ÷¿®¤·¤¿¤È¤³¤í
HTTP¥¹¥Æ¡¼¥¿¥¹[400 Bad Request]¤¬Ìá¤Ã¤Æ¤­¤Æ¤·¤Þ¤¤¤Þ¤¹¡£

¥ê¥¯¥¨¥¹¥È¤Î¥Ø¥Ã¥À¡¼¤¬¤ª¤«¤·¤¤¤Î¤«¤Ê¡©¤È»×¤¤¡¢²¼µ­¤Î¤è¤¦¤Ë¤·¤¿¤Î¤Ç¤¹¤¬¡¢
POST ¥×¥í¥°¥é¥à̾ HTTP/1.0
User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 5.0)
Content-Length: 270
Content-type: text/xml; charset=utf-8

¾å¼ê¤¯¤¤¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£¡Ê²þ¹Ô¥³¡¼¥É¤Ï¡¢\r\n¤Ç¤¹¡Ë

¤³¤Î¥¹¥Æ¡¼¥¿¥¹¤¬Ìá¤Ã¤Æ¤¯¤ë¸¶°ø¤È¤·¤Æ¡¢Â¾¤Ë¤É¤ó¤Ê¤³¤È¤¬¹Í¤¨¤é¤ì¤Þ¤¹¤Ç¤·¤ç¤¦¤«¡©
ÀµÄ¾¡¢º£¤Î»ä¤Ë¤Ï¤³¤³¤Þ¤Ç¸Â³¦¤Ç¡¦¡¦¡¦

¤É¤Ê¤¿¤«¤´Â¸ÃΤÎÊý¤¬¤¤¤é¤Ã¤·¤ã¤¤¤Þ¤·¤¿¤é¡¢¶µ¤¨¤Æ¤¤¤¿¤À¤±¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡©

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

No. 4007 # 68user 2004/10/22 (¶â) 01:39:07
>>4006 ¤¯¤í
> POST ¥×¥í¥°¥é¥à̾ HTTP/1.0
¥×¥í¥°¥é¥à̾¤Ã¤Æ²¿¤Ç¤¹¤«? https ¤Ç¤Ê¤¯ http ¤Ê¤é¤¦¤Þ¤¯¤¤¤¯¤ó¤Ç¤¹¤«?
POST ¤Ç¤Ê¤¯ GET ¤Ê¤é¤¦¤Þ¤¯¤¤¤¯¤ó¤Ç¤¹¤«?

POST ¤ò¼õ¤±¤Æ¤¯¤ì¤ë SSL/TLS ¥µ¡¼¥Ð¤¬¼ê¸µ¤Ë¤Ê¤¤¤Î¤Ç¡¢
        https://www.rsasecurity.com/solutionsPrimary.asp
¤ËÂФ·¤Æ°Ê²¼¤Î¥ê¥¯¥¨¥¹¥È¤òÁ÷¿®¤·¤Æ¤ß¤Þ¤·¤¿¤¬¡¢Àµ¾ï¤Ê¥ì¥¹¥Ý¥ó¥¹¤ò
¼èÆÀ¤Ç¤­¤Þ¤·¤¿¡£

        POST /solutionsPrimary.asp HTTP/1.0
        Host: www.rsasecurity.com
        Content-Length: 2

        ab

No. 4008 # ¤¯¤í 2004/10/22 (¶â) 13:47:15
>>4007 68user

ÀâÌÀ¤Ë»ê¤é¤Ê¤¤ÅÀ¤¬¤¢¤Ã¤¿¤ß¤¿¤¤¤Ç¡¢¤¹¤ß¤Þ¤»¤ó¡£

>¥×¥í¥°¥é¥à̾¤Ã¤Æ²¿¤Ç¤¹¤«?
¤³¤ì¤Ï¡¢POST¤ò¤¹¤ë¥×¥í¥°¥é¥à̾¤ò»Ø¤·¤Æ¤¤¤Þ¤¹¡£

¶µ¤¨¤Æ夤¤¿URL¤Ë¡¢POST¤·¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢
¥µ¡¼¥Ð¡¼¤«¤é¤Î¥ì¥¹¥Ý¥ó¥¹¤È¤·¤Æ¡¢¡ÖHTTP/1.1 400 Bad Request¡×
¤¬Ìá¤Ã¤Æ¤­¤Þ¤·¤¿¡£¡£¡£

68user¤µ¤ó¤Ç¤Ï¡¢¾å¼ê¤¯¤¤¤Ã¤Æ¤¤¤ë¤è¤¦¤Ê¤Î¤Ç¡¢
»ä¤Î¥×¥í¥°¥é¥à¤ÎÌäÂê¤Î¤è¤¦¤Ç¤¹¤Í¡£¡£¡£

´û¤Ë£¶Æü´Ö¤â°­Àï¶ìÆ®¤·¤Þ¤¹¤Î¤Ç¡¢
¤Ê¤Ë¤«½õ¸À¤Ê¤É¤¢¤ê¤Þ¤·¤¿¤é¡¢¤ª¼ê¿ô¤Ç¤¹¤¬µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 4009 # 68user 2004/10/22 (¶â) 13:54:22
>>4008 ¤¯¤í
> ¤³¤ì¤Ï¡¢POST¤ò¤¹¤ë¥×¥í¥°¥é¥à̾¤ò»Ø¤·¤Æ¤¤¤Þ¤¹¡£
¤À¤«¤é¥×¥í¥°¥é¥à̾¤Ã¤Æ¶ñÂÎŪ¤Ë²¿¤Ç¤¹¤«?
      POST hoge HTTP/1.0
¤È¤«¤·¤Æ¤¿¤ê¤·¤Þ¤»¤ó¤«? ¤Á¤ã¤ó¤È
      POST /hoge HTTP/1.0
¤È¤·¤Æ¤¤¤Þ¤¹¤«?

¤ó¤Ê¤³¤¿¤ï¤«¤Ã¤È¤ë¤È»×¤ï¤ì¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¤¬¡¢¤¢¤Ê¤¿¤Î¥ì¥Ù¥ë¤¬
¤ï¤«¤é¤Ê¤¤¤Î¤Ç¡¢¤³¤¦¤¤¤¦¤È¤³¤í¤«¤é³Îǧ¤·¤Æ¤¤¤ë¤ó¤Ç¤¹¤è¡£

No. 4010 # 68user 2004/10/22 (¶â) 14:08:46
>>4008 ¤¯¤í
> ¶µ¤¨¤Æ夤¤¿URL¤Ë¡¢POST¤·¤Æ¤ß¤¿¤Î¤Ç¤¹¤¬¡¢
> ¥µ¡¼¥Ð¡¼¤«¤é¤Î¥ì¥¹¥Ý¥ó¥¹¤È¤·¤Æ¡¢¡ÖHTTP/1.1 400 Bad Request¡×
> ¤¬Ìá¤Ã¤Æ¤­¤Þ¤·¤¿¡£¡£¡£
¤¢¤¢¡¢¤³¤ì¤ò¸«Íî¤È¤·¤Æ¤¤¤Þ¤·¤¿¡£

¤Ç¤Ï¥ê¥¯¥¨¥¹¥È¤Î¤ä¤êÊý¤¬°­¤¤¤Î¤Ç¤·¤ç¤¦¡£¥½¡¼¥¹¤òÄ󼨤·¤Æ¤¯¤À¤µ¤¤¡£

No. 4011 # ¤¯¤í 2004/10/22 (¶â) 15:14:32
>>4010 68user

¤´ÌÂÏǤò¤ª³Ý¤±¤·¤Þ¤·¤Æ¡¢ÂçÊÑ¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£
¥×¥í¥°¥é¥à̾¤Ç¤¹¤¬¡¢[POST hoge HTTP/1.0] ¤È¤¤¤¦´¶¤¸¤Ç¡¢
ÀßÄꤷ¤Æ¤ª¤ê¤Þ¤¹¡£

°Ê²¼¤¬¥½¡¼¥¹¤Ë¤Ê¤ê¤Þ¤¹¡£

¡Ü¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ü
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <netdb.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <unistd.h>

#include <openssl/crypto.h>
#include <openssl/x509.h>
#include <openssl/pem.h>
#include <openssl/ssl.h>
#include <openssl/err.h>

#define EXT_OK 0
#define EXT_ERR -1
#define LINE_MAX_LEN 512
#define FILE_PATH_LEN 256
#define SEND_XML_LEN 640
#define RECV_VAL_LEN 256

#define SEND_VALUE "xml=Á÷¿®¥Ç¡¼¥¿"

int main(int argc ,char *argv[])
{
    int ierr = 0;
    int isockt = 0;
    int read_size = 0;
    struct hostent *servhost; // ¥µ¡¼¥Ð¾ðÊó¹½Â¤ÂÎ
    struct sockaddr_in server; // ¥½¥±¥Ã¥È¹½Â¤ÂÎ
    struct servent *service; // ¥µ¡¼¥Ó¥¹¹½Â¤ÂÎ
    
    SSL *ssl;
    SSL_CTX *ctx;
    
    char *str;
    char send_buf[SEND_XML_LEN + 1]; // Á÷¿®¥Ç¡¼¥¿
     char request[SEND_XML_LEN + 1]; // ¥Ø¥Ã¥À¡¼
    char total_buf[RECV_VAL_LEN + SEND_XML_LEN + 1]; // Á÷¿®¥Ç¡¼¥¿(¥Ø¥Ã¥À¡¼ + ¥Ç¡¼¥¿)
    char *host = "ÀܳÀè¥Û¥¹¥È̾"; // ¥µ¡¼¥Ð̾¥»¥Ã¥È
    char *path = "CGI¥Ñ¥¹"; // CGI̾¥»¥Ã¥È
    char buf[RECV_VAL_LEN];
    
    memset(send_buf,'\0',sizeof(send_buf));
    memset(request,'\0',sizeof(request));
    memset(total_buf,'\0',sizeof(total_buf));
    
    servhost = gethostbyname(host);
    
    if ( servhost == NULL )
    {
        fprintf(stderr, "[%s] ¤«¤é IP ¥¢¥É¥ì¥¹¤Ø¤ÎÊÑ´¹¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£\n", host);
        
        exit( EXT_ERR );
    }
    
    bzero((char *)&server, sizeof(server));
    
    server.sin_family = AF_INET;
    
    bcopy(servhost->h_addr, (char *)&server.sin_addr, servhost->h_length);
    
    service = getservbyname("https", "tcp"); // ¥Ý¡¼¥ÈÈÖ¹æ¼èÆÀ
    
     if ( service != NULL )
    {
         server.sin_port = service->s_port;
    }
    else
    {
         server.sin_port = htons(443); // ¼èÆÀ¤Ç¤­¤Ê¤«¤Ã¤¿¤é¡¢¥Ý¡¼¥ÈÈÖ¹æ¤ò 443 ¤Ë·è¤áÂǤÁ
    }
    
     isockt = socket(AF_INET, SOCK_STREAM, 0);
    
    if ( isockt < 0 )
    {
         fprintf(stderr, "¥½¥±¥Ã¥È¤ÎÀ¸À®¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£\n");
        
        exit( EXT_ERR );
    }
    
    if ( connect(isockt, (struct sockaddr*) &server, sizeof(server)) == -1 )
    {
         fprintf(stderr, "connect ¤Ë¼ºÇÔ¤·¤Þ¤·¤¿¡£\n");
        
        exit( EXT_ERR );
    }
    
    SSL_library_init(); // SSL¤Î¥é¥¤¥Ö¥é¥ê¤ò½é´ü²½
    
    SSL_load_error_strings(); // SSL¥¨¥é¡¼¥á¥Ã¥»¡¼¥¸ Catch
    
    ctx = SSL_CTX_new(SSLv23_client_method()); // SSLv2¤ò»ÈÍÑ
    
    ssl = SSL_new(ctx);
    
    SSL_set_fd(ssl, isockt); // SSL¤È¥½¥±¥Ã¥È¤Î´ØÏ¢ÉÕ¤±
    
    ierr = SSL_connect(ssl);
    
    sprintf(send_buf,"%s",SEND_VALUE);
    
    sprintf(request, "POST %s.cgi HTTP/1.0\r\n"
                "User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows NT 5.0)\r\n"
                "Content-Length: %d\r\nContent-type: text/xml; "
                "charset=utf-8\r\n\r\n",argv[0],strlen(send_buf));
    
    sprintf(total_buf,"%s%s",request,send_buf);
    
    ierr = SSL_write(ssl, total_buf, strlen(total_buf));
    
    printf("¥µ¡¼¥Ð¤«¤é¤Î¥ì¥¹¥Ý¥ó¥¹\n");
    
    while (1)
    {
        memset(buf,'\0',sizeof(buf));
        
        read_size = 0;
        
         read_size = SSL_read(ssl, buf, sizeof(buf)-1);
        
        buf[read_size] = '\0';
        
        if ( read_size > 0 )
        {
            write(1, buf, read_size);
        }
        else
        {
             break;
         }
     }
    
    SSL_shutdown(ssl);
    
     close(isockt); // ¥½¥±¥Ã¥È¥¯¥í¡¼¥º
    
    SSL_free(ssl);
    
    SSL_CTX_free(ctx);
    
     exit( EXT_OK );
}
¡Ü¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ý¡Ü

¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¤¬¡¢¤´¶µ¼ø¤¯¤À¤µ¤¤¡£
µ¹¤·¤¯¤ª´ê¤¤¤·¤Þ¤¹¡£

No. 4012 # 68user 2004/10/25 (·î) 10:06:59
>>4011 ¤¯¤í
SSL/TLS °ÊÁ°¤ÎÌäÂê¤Ë¸«¤¨¤Þ¤¹¡£http://X68000.q-e-d.net/~68user/net/ ¤Î
    HTTP ¥¯¥é¥¤¥¢¥ó¥È¤òºî¤Ã¤Æ¤ß¤è¤¦(1)¡Á(4)
¤òÆɤó¤Ç¤¯¤À¤µ¤¤¡£

No. 4013 # ¤¯¤í 2004/10/25 (·î) 17:16:29
>>4012 68user

¤´»ØŦ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

¤Ê¤ó¤ÈÀܳ¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤·¤¿¡£
¤´ÌÂÏǤò¤ª³Ý¤±¤·¤Þ¤·¤Æ¡¢¿½¤·Ìõ¤¢¤ê¤Þ¤»¤ó¡£

No. 4014 # ¤É¤ó¤° 2004/10/25 (·î) 20:25:48
´Ä¶­ÊÑ¿ô¤Ë¥»¥Ã¥È¤¹¤ëÃͤòConfigFile¤«¤éÆɤ߹þ¤à»ÅÍͤΥ·¥§¥ë¤¬¤¢¤ê¤Þ¤¹¡£

¤·¤«¤·º£¤½¤Î´Ä¶­ÊÑ¿ô¤ÎÃͤ˥¹¥Ú¡¼¥¹¤¬¤¢¤ë¾ì¹ç¤Ë¤¦¤Þ¤¯Æ°¤­¤Þ¤»¤ó¡£

¶ñÂÎŪ¤Ë¤Ï

configFileÆâ¤Ë
T_DATE=`date +'%Y%m%d%H%M%S'`

¤Èµ­½Ò¤·¤Æ¼ÂºÝ¤ÎB¥·¥§¥ë¤ÎÃæ¤Ç
for var in `cat ${CONFIG}`
do
export $var

done
¤È¤·¤Æ¤¤¤Þ¤¹¡£

ÁÛÄê¤È¤·¤Æ¤Ï
export T_DATE=`date +'%Y%m%d%H%M%S'`
¤È¤Ê¤Ã¤Æ¤Û¤·¤¤¤Î¤Ç¤¹¤¬

¼ÂºÝ¤Ë¤Ï
export T_DATE=`date

export +'%Y%m%d%H%M%S'`=+'%Y%m%d%H%M%S'`
¤È¤¤¤¦£²¤Ä¤ÎÊÑ¿ô¤È¤·¤Æ°·¤ï¤ì¤Æ¤·¤Þ¤¤¤Þ¤¹¡£
¤³¤ì¤ò²óÈò¤¹¤ëÊýË¡¤Ï¤¢¤ê¤Þ¤»¤ó¤Ç¤·¤ç¤¦¤«¡£
»ÈÍѤ·¤Æ¤¤¤ë´Ä¶­¤ÏHP-UX B.11.11 ¤Ç¤¹¡£

No. 4015 # 68user 2004/10/25 (·î) 21:35:35
>>4014 ¤É¤ó¤°
while read line; do
    eval $line
done < ${CONFIG}

¤Æ¤Ê´¶¤¸¤Ç¤É¤¦¤Ç¤·¤ç¤¦¤«¡£

No. 4016 # Lococo 2004/10/26 (²Ð) 10:33:08
Vacancies in SUN China
In 1982 Sun Microsystems created a business vision named ¡ÈThe Network is the Computer¡É. In the same year Sun initiated R&D on Java Technology. Today Sun is recognized by all as the Premier Network Enterprise Computing Vendor and have a global presence in over 100 countries. In 1987, Sun entered China market and has been dedicated to the technology and customer solution development in China.

Customer Solution Center in Beijing expand repidly to provide technical hot line suppot to mission critical customers. We invite top nortch engineers to join our champion team in Beijing to provide world-class customer services.

Solution Center Engineer (GC0201938) (53 Vacancies)
UNIX generalist responsible for providing system support that includes hardware, software, software applications, and networking to customers via telephone support. Incumbent must be university graduate in Computer Science / Electronic Engineering, knowledgable in O/S like Unix, Linux or Solaris systems, fluent in written and spoken Japanese and with minimum 3 years of Unix Sever Support, System Integration or internal MIS support of Unix Sever.

Solution Center Manager (GC0201941) (2 Vacancies)
Manages and directs the activities of the Solution Center teams to provide customer facing technical post sales support of both hardware and software issues. Accountable for meeting operational excellence, customer satisfaction and people management goals of Solution Center. Liaise closely with the product technical support group for technical escalation as well as the local field operations. Incumbent must be Universtiy graduate in Computer Science / Electronics Engineering, 10 years customer support experience with 5 years in managerial capacity and fluent in written and spoken Japanese, good English is a plus.


To apply this position, Please send your resume in English, Mandarin or Japanese and marked with position code to Lisa.wu@multimage.com.cn.
Contact:
Tel: +86 10-65057881-17 Lisa
                              84580901-17 Lisa
Mob: 13501160969
Fax: +86 10-65057880/84583069

No. 4017 # ¤µ¤¤¤µ¤ó 2004/10/26 (²Ð) 20:42:17
du¥³¥Þ¥ó¥É¤Ç¡¢¥Ç¥£¥¹¥¯¤Î»ÈÍÑΨ¤ò¥Ð¥¤¥È¤Çɽ¼¨¤·¤è¤¦¤È°Ê²¼¤Î
¥³¥Þ¥ó¥É¤ò¼Â»Ü¤·¤¿¤Î¤Ç¤¹¤¬¡¢¥µ¥¤¥º¤È¥Ç¥£¥ì¥¯¥È¥ê̾¤È¤Î´Ö¤Ë
²þ¹Ô¤¬Æþ¤ê¡¢°ì¹Ô¤Çɽ¼¨¤Ç¤­¤Þ¤»¤ó¡£
¥µ¥¤¥º¤È¥Ç¥£¥ì¥¯¥È¥ê̾¤ò°ì¹Ô¤Çɽ¼¨¤·¡¢¤½¤Î¸å¡¢²þ¹Ô¤·¤¿¤¤¤Î
¤Ç¤¹¤¬¤É¤¦¤¹¤ì¤Ð¤è¤¤¤Ç¤¹¤«¡£

5295104
        .
2594816
        ./tmp1
1864704
        ./tmp2
821248
        ./tmp3
10240
        ./tmp4
      
¢­
5295104 .
2594816 ./tmp1
1864704 ./tmp2
  821248 ./tmp3
    10240 ./tmp4

¤È¤·¤¿¤¤¤Î¤Ç¤¹¤¬¡£

du -k $1 | sort -n -r | awk '{ system("echo "$1"*1024 | bc"); printf(" %s\n", $2) }'

No. 4018 # 68user 2004/10/26 (²Ð) 21:05:45
>>4017 ¤µ¤¤¤µ¤ó
> du -k $1 | sort -n -r | awk '{ system("echo "$1"*1024 | bc"); printf(" %s\n", $2) }'
²þ¹Ô¥³¡¼¥É¤¬Í¾Ê¬¤Ê¤ï¤±¤Ê¤Î¤Ç
    du -k | sort -nr | awk '{ system("echo "$1"*1024 | bc | tr -d \\\\n"); printf(" %s\n", $2) }'
    du -k | sort -nr | awk '{ system("echo -n `echo "$1"*1024 | bc`"); printf(" %s\n", $2) }'
¤È¤«¡£

¤ï¤¿¤·¤Ê¤é¡Ö¤ï¤«¤ê¤Å¤é¤¤¡×¡Ö̵ÂÌ¤Ê¥×¥í¥»¥¹À¸À®¤¬·ù¡×¤È¤¤¤¦Íýͳ¤«¤é¡¢
    du -k | sort -nr | awk '{ printf("%6d %s\n",$1*1024,$2)}'
¤Ê¤É¤È¤·¤Þ¤¹¡£

No. 4019 # ¤µ¤¤¤µ¤ó 2004/10/26 (²Ð) 23:04:36
>>4018 68user

>du -k | sort -nr | awk '{ printf("%10d %s\n",$1*1024,$2)}'
¤ÈºÇ½é¤Ï¤ä¤Ã¤Æ¤¤¤¿¤Î¤Ç¤¹¤¬¡¢$1¤ËÀßÄꤵ¤ì¤ë¥Ö¥í¥Ã¥¯¥µ¥¤¥º¤¬Â礭¤¤
¤È¡Ö$1*1024¡×¤Ç¥ª¡¼¥Ð¡¼¥Õ¥í¡¼¤òµ¯¤³¤·¡¢Àµ¤·¤¤·×»»¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç
system¤Ç¡¢bc¤Ç·×»»¤ò¤¹¤ë¤è¤¦¤Ê¤³¤È¤Ë

No. 4020 # NL 2004/10/26 (²Ð) 23:08:07
>>4017 ¤µ¤¤¤µ¤ó
>>4018 68user

>du -k | sort -nr | awk '{ system("echo -n `echo "$1"*1024 | bc`"); printf(" %s\n", $2) }'

¥µ¡¼¥Ð¤È¤«OS¤Î¥Ð¡¼¥·¥ç¥ó¤È¤«µ­½Ò¤µ¤ì¤Æ¤Þ¤»¤ó¤Ç¤·¤¿¤±¤É¡¢
¡Öecho -n¡×¤Ï¡¢°Í¸¤·¤Þ¤»¤ó¤Ç¤·¤¿¤«¡£

No. 4021 # ¤µ¤¤¤µ¤ó 2004/10/27 (¿å) 09:50:10
>>4107 68user

>>4018 68user
>du -k | sort -nr | awk '{ system("echo -n `echo "$1"*1024 | bc`"); printf(" %s\n", $2) }'

sh¤«csh¤Ç°Û¤Ê¤ë¤ß¤¿¤¤¤Ç¤¹¡£

¥Ð¡¼¥¯¥ì¥¤ÈǤǤϡ¢¡Ö\c¡× ¥¨¥¹¥±¡¼¥×¤ò¡Ö-n¡×¥ª¥×¥·¥ç¥ó¤ÇÂåÍѤ¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£
echo ¤¬ csh(1) ¤ÎÁȤ߹þ¤ß´Ø¿ô¤È¤·¤ÆÍѤ¤¤é¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¥Ð¡¼¥¯¥ì¥¤Êý¼°¤Ë
½¾¤Ã¤Æ¤¤¤Þ¤¹¡£

#du -k $1 | sort -nr | awk '{ system("echo `echo "$1"*1024 | bc` \\\\c"); printf(" %s\n", $2) }'
¤Ç¡¢¤Ç¤­¤Þ¤·¤¿¡£

No. 4022 # ken [URL] [E-mail] 2004/10/27 (¿å) 23:42:33
¤³¤ó¤Ë¤Á¤Ï

ken¤È¤¤¤¤¤Þ¤¹¡£

Winsock¤ò»È¤Ã¤Æ¥Í¥Ã¥È¥ï¡¼¥¯¤ÎÊÙ¶¯¤·¤Æ¤Þ¤·¤ÆÂçÊÑÊÙ¶¯¤Ë¤Ê¤ê¤Þ¤·¤¿¡£
¥½¥±¥Ã¥È¥×¥í¥°¥é¥ß¥ó¥°¤ò¿Ê¤á¤Æ¤¤¤¯¤¦¤Á¤Ë¤É¤¦¤·¤Æ¤â¤ï¤«¤é¤Ê¤¤ÅÀ¤¬È¯À¸
¤·¤¿¤Î¤Ç¡¢¤â¤·¤è¤í¤·¤±¤ì¤Ð¤È¤ª¤â¤¤¥á¡¼¥ë¤·¤Þ¤·¤¿¡£

ÌäÂê¤ÏSend()/Recv()¤Ç¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤òĶ¤¨¤ë¥Ç¡¼¥¿¤òϢ³¤Ç
Á÷¼õ¿®¤µ¤»¤¿¤¤¤Î¤Ç¤¹¡£
¥Ñ¥±¥Ã¥È¤òĶ¤¨¤ëÁ÷¿®¤ò¤¹¤ë¤Ë¤Ïsend()¤Î°ú¿ô¤Ë¥Ð¥Ã¥Õ¥¡¡¢¥µ¥¤¥º¤ò
¤½¤Î¤Þ¤Þ¤Î¤Ã¤±¤ì¤Ð¡¢¼«Æ°¤Ç¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤ËÀÚ¤êʬ¤±¤ÆÁ÷¿®¤·¤Æ¤ë
¤Î¤ò³Îǧ¤·¤Þ¤·¤¿¡£¤Ç¤¹¤¬¡¢¼õ¿®½ªÎ»¤ò¼¨¤¹ÊÖ¤êÃͤÎlengs=0¤ò¼õ¿®
¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£¤É¤¦¤âÁ÷¤Ã¤Æ¤Ê¤¤¤è¤¦¤Ç¤¹¡£http¥µ¡¼¥Ð¡¼¤ËÀܳ¤·¤Æ
¼õ¿®¤ò¤¿¤á¤·¤¿¤Î¤Ç¤¹¤¬¡¢lengs¡á0¤ò³Îǧ¤Ç¤­Ï¢Â³¤Ç¼õ¿®¤¹¤ë¤³¤È¤¬¤Ç¤­¤Þ¤·¤¿¡£
recv()¤Ç¤Î¼õ¿®lengs:0¤Ï¥·¥ã¥Ã¥È¥À¥¦¥ó¤ò°ÕÌ£¤¹¤ë¤È¤Îµ­½Ò¤â¸«¤Ä¤±¤¿¤Î¤Ç¤¹¤¬¡¢
shutdown()¤Ç¤ÏÁ÷¿®Éüµ¢¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¡¢»È¤¨¤Þ¤»¤ó¡£

¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤òĶ¤¨¤ë¥Ç¡¼¥¿¤òϢ³¤ÇÁ÷¿®¤·¼õ¿®¤¹¤ë»þ¡¢
¼õ¿®¥Ç¡¼¥¿¤Î½ªÎ»¤òÁ÷¿®¤·¤¿¤ê¡¢¼õ¿®¤¹¤ë¤Ë¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç
¤·¤ç¤¦¤«¡©
¥µ¡¼¥Ð¡¼¤¬¥Õ¥¡¥¤¥ë¤Î½ªÎ»¤ò¼¨¤¹leng=0¤òÁ÷¿®¤¹¤ë¤Î¤Ï
¤Ê¤Ë¤«Ì¿Î᤬¤¢¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©
¥½¥±¥Ã¥È¤ò¥·¥ã¥Ã¥È¥À¥¦¥ó¤¹¤ë¤Èleng=0¤òÁ÷¿®¤Ç¤­¤Þ¤¹¤¬
¥·¥ã¥Ã¥È¥À¥¦¥ó¤òÉüµ¢¤Ç¤­¤Ê¤¤¤Ï¤º¤Ç¤¹¤¬¤·¤Æ¤ë¤Î¤Ç¤·¤ç¤¦¤«¡©

¤è¤«¤Ã¤¿¤é¥ì¥¹¤ª´ê¤¤¤·¤Þ¤¹m(__)m
page:homepage3.nifty.com/MIDI-EDITOR/
mail:NQD00781@nifty.com
ken

No. 4023 # 68user 2004/10/28 (ÌÚ) 03:18:37
>>4022 ken
TCP ¤Ç¤¹¤«? ¤½¤ì¤È¤â UDP ¤Ç¤¹¤«?

> ¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤òĶ¤¨¤ë¥Ç¡¼¥¿
¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤Ã¤Æ¶ñÂÎŪ¤Ë²¿¤Î¤³¤È¤ò»Ø¤·¤Æ¤¤¤Þ¤¹¤«?

> ¼õ¿®½ªÎ»¤ò¼¨¤¹ÊÖ¤êÃͤÎlengs=0¤ò¼õ¿®¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£
Á÷¿®Â¦¤Ç close ¤« shutdown ¤·¤Þ¤·¤¿¤«?

> shutdown()¤Ç¤ÏÁ÷¿®Éüµ¢¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¡¢»È¤¨¤Þ¤»¤ó¡£
Á÷¿®Éüµ¢¤Ã¤Æ²¿¤Ç¤¹¤«?

No. 4024 # ¤É¤Ã¤«¤ó 2004/10/28 (ÌÚ) 13:12:28
sed¤ò»ÈÍѤ·¤ÆÀèƬ£±¹ÔÌܤΤßÃÖ´¹¤ò¹Ô¤¤¡¢
¤¹¤Ù¤Æ¤ò½ÐÎϤµ¤»¤¿¤¤¤Î¤Ç¤¹¤¬¡¢¤É¤¦¤¹¤ì¤Ð
¤è¤¤¤Ç¤¹¤«¡£

sed 's/o=test$/o=honban/g'
¤È¤¹¤ë¤ÈÃÖ´¹¤Ï¹Ô¤ï¤ì¤Þ¤¹¤¬¡¢ÀèƬ£±¹ÔÌܤΤß
¤À¤±¤·¤¿¤¤¤Î¤Ç¤¹¡£

CM1: id=00001,nm=test,o=aaa,o=test
CM2: mod
CM3: option
-
CM4: ftp
CM5: get

¢­
CM1: id=00001,nm=test,o=aaa,o=honban
CM2: mod
CM3: option
-
CM4: ftp
CM5: get

No. 4025 # ken 2004/10/28 (ÌÚ) 16:41:37
>TCP ¤Ç¤¹¤«? ¤½¤ì¤È¤â UDP ¤Ç¤¹¤«?
TCP¤Ç¤¹¡£

>> ¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤òĶ¤¨¤ë¥Ç¡¼¥¿
>¥Ñ¥±¥Ã¥È¥µ¥¤¥º¤Ã¤Æ¶ñÂÎŪ¤Ë²¿¤Î¤³¤È¤ò»Ø¤·¤Æ¤¤¤Þ¤¹¤«?
send()/recv()¤Ç¤ÎÁ÷¿®¡¢¼õ¿®¥ì¥ó¥°¥¹¤Ç¤¹¡£
¤³¤Î¾ì¹ç¤Ç¤Ï¡¢Recv»þ¤Î¥ì¥ó¥°¥¹¤Ç¤¹¡£

>> ¼õ¿®½ªÎ»¤ò¼¨¤¹ÊÖ¤êÃͤÎlengs=0¤ò¼õ¿®¤Ç¤­¤Þ¤»¤ó¤Ç¤·¤¿¡£
>Á÷¿®Â¦¤Ç close ¤« shutdown ¤·¤Þ¤·¤¿¤«?
¥µ¡¼¥Ð¡¼Â¦¤Ç¥Ç¡¼¥¿¤òÁ÷¿®¤·¡¢½ªÎ»¤·¤¿¤éshutdown/close¤ò¹Ô¤¦¤Ù¤­
¤Ê¤Î¤Ç¤·¤ç¤¦¤«¡©¡¡³Î¤«¤Ë¥ì¥ó¥°¥¹£°¤ò¼õ¿®¤Ç¤­¤Þ¤¹¤¬¡¢¤½¤Î¸å¤Ë
Á÷¼õ¿®¤òɬÍפʾì¹ç¤Ï¤É¤¦¤¹¤ì¤Ð¤¤¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©
http¥µ¡¼¥Ð¡¼¤Ë¥¢¥¯¥»¥¹¤·¤¿»þ¤Ï¥ì¥ó¥°¥¹£°¤¬µ¢¤Ã¤Æ¤­¤¿¤Î¤Ç¤¹¤¬¡¢
shutdown¤·¤Æ¤¤¤¿¤Î¤Ç¤·¤ç¤¦¤«¡©


>> shutdown()¤Ç¤ÏÁ÷¿®Éüµ¢¤¬¤Ç¤­¤Ê¤¤¤Î¤Ç¡¢»È¤¨¤Þ¤»¤ó¡£
>Á÷¿®Éüµ¢¤Ã¤Æ²¿¤Ç¤¹¤«?
Á÷¿®¤Î½ªÎ»¤ò¼¨¤¹¡¢¥ì¥ó¥°¥¹£°¤òÁ÷¤ë¤¿¤á¤Ëclose/shutdown¤ò»È¤¦¤È¡¢
¤½¤Î¸å¤Ë¥¢¥¯¥»¥¹¤¬¤Ç¤­¤Ê¤¯¤Ê¤ë¡£
shutodown¤·¤¿¥½¥±¥Ã¥È¤òºÆ»ÈÍÑ¤Ï´í¸±¤È£Í£Ó£Ä£Î¤Ë¤Ç¤Æ¤Þ¤¹¡£

No. 4026 # zsh 2004/10/28 (ÌÚ) 18:59:37
>>4024 ¤É¤Ã¤«¤ó
sed -e '1s/o=test$/o=honban/'

No. 4027 # 68user 2004/10/28 (ÌÚ) 19:21:13
>>4025 ken
Íפϡ¢¥Ô¥¢¤¬Á÷¿®¤·¤¿¥Ç¡¼¥¿¤¬Á´ÉôÆϤ¤¤¿¤³¤È¤ò³Îǧ¤·¤¿¤¤¤Î¤Ç¤¹¤«?
¤½¤ì¤Ê¤é¤Ð¡¢TCP/IP ¤Î¥ì¥Ù¥ë¤Ç¤Ï¤Ê¤¯¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥×¥í¥È¥³¥ë
¥ì¥Ù¥ë¤Ç¼Â¸½¤¹¤ë¤Î¤¬ÉáÄ̤Ǥ¹¡£

Îã:
    - Á÷¿®Â¦¤Ï¡Ö¥Ç¡¼¥¿Ä¹ + ¥Ç¡¼¥¿¡×¤òÁ÷¿®¡£¼õ¿®Â¦¤ÏºÇ½é¤Ë¼õ¤±¼è¤Ã¤¿
        ¥Ç¡¼¥¿Ä¹¤Îʬ¤À¤±¥Ç¡¼¥¿¤ò¼õ¿®¤·¤¿¤é¡¢Á´¥Ç¡¼¥¿ÅþÃå¤È¤ß¤Ê¤¹¡£
    - ²þ¹Ô¥³¡¼¥É¤ò¥×¥í¥È¥³¥ë¤Î¤Ò¤È¤Þ¤È¤Þ¤ê¤È¤ß¤Ê¤¹¡£Á÷¿®Â¦¤Ï
        ¥Ç¡¼¥¿¤ÎËöÈø¤Ë²þ¹Ô¥³¡¼¥É¤ò¤Ä¤±¤ÆÁ÷¿®¡£¼õ¿®Â¦¤Ï²þ¹Ô¥³¡¼¥É¤ò
        ¼õ¤±¼è¤Ã¤¿¤éÁ´¥Ç¡¼¥¿¼õ¿®¤È¤ß¤Ê¤¹¡£

üŪ¤Ë¸À¤¦¤È¡¢
    recv ¤ÎÌá¤êÃͤ¬ 0 ¡á FIN ¤¬ÆϤ¤¤¿¤È¤­
¤Ç¤¹ (¥Î¥ó¥Ö¥í¥Ã¥­¥ó¥°¥â¡¼¥É¤Ê¤É¤ÎÎã³°¤Ï¤¢¤ë¤«¤È»×¤¤¤Þ¤¹¤¬)¡£

¤Ç¡¢FIN ¤òÅꤲ¤ë¤Ë¤Ï close ¤« shutdown ¤¹¤ëɬÍפ¬¤¢¤ë¤È¤¤¤¦¤³¤È¤Ç¤¹¡£

No. 4028 # ken 2004/10/29 (¶â) 11:47:04
¥ì¥¹¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡££í¡Ê¡²¡²¡Ë£í
¡äÍפϡ¢¥Ô¥¢¤¬Á÷¿®¤·¤¿¥Ç¡¼¥¿¤¬Á´ÉôÆϤ¤¤¿¤³¤È¤ò³Îǧ¤·¤¿¤¤¤Î¤Ç¤¹¤«?
¤Ï¤¤¡£
¡ä¤½¤ì¤Ê¤é¤Ð¡¢TCP/IP ¤Î¥ì¥Ù¥ë¤Ç¤Ï¤Ê¤¯¥¢¥×¥ê¥±¡¼¥·¥ç¥ó¤Î¥×¥í¥È¥³¥ë
¡ä¥ì¥Ù¥ë¤Ç¼Â¸½¤¹¤ë¤Î¤¬ÉáÄ̤Ǥ¹¡£
http¥µ¡¼¥Ð¡¼¤Ë¤Ä¤Ê¤²¤Æ£è£ô£í£ì¤ò¼õ¿®¤·¤¿¾ì¹ç¤Ë¼õ¿®½ªÎ»»þ¤Ërecv()Ìá¤êÃͤ¬
0¤òÁ÷¤Ã¤Æ¤¤¤¿¤Î¤Ï¡¢shutdown()¤¬¤«¤«¤Ã¤Æ¤¤¤¿¤ÈȽÃǤ·¤Æ¤¤¤¤¤Î¤Ç¤·¤ç¤¦¤«¡©
¤À¤È¤¹¤ì¤Ð¡¢ºÆÅÙhtml¤ò¼õ¿®¤¹¤ë¾ì¹ç¤Ï¡¢ºÆÅÙaccept¤Çsocket¤òºîÀ®¤·¤Æ¼õ¿®
³«»Ï¤¹¤ëɬÍפ¬¤¢¤ë¤Î¤«¥Æ¥¹¥È¤¹¤ëɬÍפò´¶¤¸¤Þ¤·¤¿¡£

²¿ÅÙ¤â¥ì¥¹¤¤¤¿¤À¤­¤Þ¤·¤Æ¤¢¤ê¤¬¤È¤¦¤´¤¶¤¤¤Þ¤·¤¿¡£

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