/usr/share/doc/HOWTO/ja-html/Firewall-Piercing-4.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Firewall Piercing mini-HOWTO: ²ò·è¤¹¤ë¤Ë¤Ï</TITLE>
<LINK HREF="Firewall-Piercing-5.html" REL=next>
<LINK HREF="Firewall-Piercing-3.html" REL=previous>
<LINK HREF="Firewall-Piercing.html#toc4" REL=contents>
</HEAD>
<BODY>
<A HREF="Firewall-Piercing-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Firewall-Piercing-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Firewall-Piercing.html#toc4">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s4">4. ²ò·è¤¹¤ë¤Ë¤Ï</A></H2>
<P>
<P>
<H2><A NAME="ss4.1">4.1 ¸¶Íý</A>
</H2>
<P><CODE>fwprc</CODE>¤¬¥Õ¥¡¥¤¥¢¡¼¥¦¥©¡¼¥ë¤Ë·ê¤ò³«¤±¤ë¥×¥í¥°¥é¥à¤Ç¤¹¡£¡Ötty ¥×¥í¥¯¥·¡×
¤È¤·¤Æµ¡Ç½¤¹¤ë<CODE>cotty</CODE>¤òÍøÍѤ·¤Æ¤¤¤Þ¤¹¡£¤³¤ì¤Ï²¾ÁÛŪ¤Ë 2 ¤Ä¤Î tty
¥Ç¥Ð¥¤¥¹¤ò³«¤¤Þ¤¹¡£¤½¤ì¤¾¤ì¤Î¥Ç¥Ð¥¤¥¹¾å¤Ç¥³¥Þ¥ó¥É¤ò¼Â¹Ô¤¹¤ë¤È¡¢¤½¤Î½ÐÎϤ¬
¤½¤Î¤Þ¤Þ¥³¥Ô¡¼¤µ¤ì¤Æ¡¢Áê¼ê¤Ø¤Î¥³¥Þ¥ó¥É¤ÎÆþÎϤȤ·¤Æ tty ¤ËÅϤµ¤ì¤Þ¤¹¡£
¥³¥Þ¥ó¥É¤Ï¡¢¥ê¥â¡¼¥È¦¤Ø telnet Àܳ¤òÄ̤¸¤ÆÅϤµ¤ì¡¢Áê¼ê¦¤Ï¡¢¥í¡¼¥«¥ë¤Î pppd
¤¬¼õ¤±¼è¤ê¤Þ¤¹¡£¤½¤³¤Ç pppd ¤Ï Ä̾ï¤Î¥Á¥ã¥Ã¥È¡¦¥¹¥¯¥ê¥×¥È¤ò°·¤¦¾ì¹ç¤ÈƱ¤¸¤è¤¦
¤Ë¡¢telnet ¥»¥Ã¥·¥ç¥ó¤ò³«¤¤¤Æ¡¢À©¸æ¤ò¹Ô¤¨¤ë¤è¤¦¤Ë¤Ê¤ê¤Þ¤¹¡£
<P>
<H2><A NAME="ss4.2">4.2 fwprc</A>
</H2>
<P>»ä¤¬¡¢¥Õ¥¡¥¤¥¢¡¼¥¦¥©¥ë¤Ë·ê¤ò¤¢¤±¤ë¥¹¥¯¥ê¥×¥È <CODE>fwprc</CODE> ¤ò½ñ¤¤Þ¤·¤¿¡£
¥¹¥¯¥ê¥×¥È¤Î¥»¥ë¥Õ¡¦¥É¥¥å¥á¥ó¥È²½¤â¤¤Á¤ó¤È¤·¤Æ¤¢¤ê¤Þ¤¹¡£<CODE>cotty</CODE>
(<CODE>fwprc</CODE> 0.2 °Ê¾å¤Î¥Ð¡¼¥¸¥ç¥ó¤ÇɬÍפˤʤê¤Þ¤¹)¤È¤¢¤ï¤»¤Æ¡¢»ä¤Î¥µ¥¤¥È
¤Ç¤¢¤ë
<A HREF="http://www.tunes.org/~fare/files/fwprc/">http://www.tunes.org/~fare/files/fwprc/</A>¤«¤éÍ¤³¤È¤¬¤Ç¤¤Þ¤¹¡£
¤³¤Î¥É¥¥å¥á¥ó¥È¤ò½ñ¤¤¤Æ¤¤¤ë»þÅÀ¤Ç¤ÎºÇ¿·¥Ð¡¼¥¸¥ç¥ó¤Ï¡¢ <CODE>fwprc</CODE> 0.3a ¤È
<CODE>cotty</CODE> 0.3a ¤Ç¤¹¡£
<P>¡Öfwprc¡×¤È¤¤¤¦Ì¾Á°¤Ï¤¢¤¨¤ÆÆɤߤŤ餯¡¢¤«¤Äȯ²»¤·¤Ë¤¯¤¯¤·¤Þ¤·¤¿¡£¤½¤¦¤¹¤ì¤Ð
¥Õ¥¡¥¤¥¢¡¼¥¦¥©¡¼¥ë¤Î·ï¤ÇÆüº¢¥¤¥é¥¤¥é¤µ¤»¤é¤ì¤Æ¤¤¤ë¡¢ÌµÇ½¤ÇÊм¹Åª¤Ê´ÉÍý¼Ô¤ò
º®Í𤵤»¤ë¤³¤È¤¬¤Ç¤¤ë¤«¤é¤Ç¤¹(¤â¤Á¤í¤óÍý¤Ë¤«¤Ê¤Ã¤¿¥Õ¥¡¥¤¥¢¡¼¥¦¥©¡¼¥ë¤â¸ºß
¤·¤Þ¤¹¤·¡¢¤½¤ì¤é¤Ï̵¤¯¤Æ¤Ï¤Ê¤é¤Ê¤¤¤â¤Î¤Ç¤¹¡£
¥»¥¥å¥ê¥Æ¥£¤Ï¡¢<EM>ÀµÅö¤Ê</EM> ´Ä¶ÀßÄê¤Î°ìÉô¤Ç¤¹¤«¤é)¡£
À¼¤ò½Ð¤·¤Æ¡Öfwprc¡×¤òÆɤޤʤ±¤ì¤Ð¤Ê¤é¤Ê¤¤»þ¤Ë¤Ï¡¢»×¤¤ÉÕ¤¯Ãæ¤Ç°ìÈÖÉÔ²÷¤Ë´¶¤¸¤ë
ÆɤßÊý¤òÁª¤ó¤Ç¤¯¤À¤µ¤¤¡£
<P><B>¥³¥ó¥Æ¥¹¥È¡ª</B> »ä¤Ë¡Öfwprc¡×¤ÎÆɤßÊý¤ò <CODE>.au</CODE> ·Á¼°¤ÇÏ¿²»¤µ¤ì¤¿
¥ª¡¼¥Ç¥£¥ª¡¦¥Õ¥¡¥¤¥ë¤Ë¤·¤ÆÁ÷¤Ã¤Æ¤¯¤À¤µ¤¤¡£ºÇ¤âÉÔ²÷¤Ê¤â¤Î¤Ë¤Ï¡¢¥Õ¥ê¡¼¤Ç¥¢¥Ã¥×
¥°¥ì¡¼¥É¤Ç¤¤ë¸¢Íø¤òº¹¤·¾å¤²¡¢fwprc 1.0 ¤Î¥Ú¡¼¥¸¤Ë¤ªÌ¾Á°¤ò·ÇºÜ¤·¤Þ¤¹¡ª
<P>¤¤¤¯¤Ä¤«¤ÎÀßÄê¤Ç¤³¤Î¥×¥í¥°¥é¥à¤ò¥Æ¥¹¥È¤·¤Þ¤·¤¿¡£¤¤¤º¤ì¤â¥ê¥½¡¼¥¹¡¦¥Õ¥¡¥¤¥ë
¤ò¤¤¤¸¤Ã¤ÆÀßÄꤷ¤Þ¤·¤¿¡£¤·¤«¤·¤ä¤Ï¤ê¥Þ¡¼¥Õ¥£¡¼¤Îˡ§¤Ë¤ÏµÕ¤é¤¨¤º¡¢¤¢¤Ê¤¿¤Ï
º¤¤Ã¤¿¾õ¶·¤Ë´Ù¤ë¤«¤â¤·¤ì¤Þ¤»¤ó¡£¤½¤ó¤Ê»þ¤Ë¤Ï¡¢¤´¼«Í³¤Ë²þÎɤò¤·¤Æ¤¤¤¿¤À¤¤¤Æ
·ë¹½¤Ç¤¹¡£
¤½¤¦¤¹¤ì¤Ð¡¢¤³¤ì¤«¤éÀßÄꤹ¤ë¤³¤È¤Ë¤Ê¤ë¾¤Î¤ß¤Ê¤µ¤ó¤Ï¡¢¤è¤ê´Êñ¤ËÍøÍѤǤ¤ë
¤è¤¦¤Ë¤Ê¤ë¤Ç¤·¤ç¤¦¤«¤é¡£
<P>
<H2><A NAME="ss4.3">4.3 .fwprcrc</A>
</H2>
<P><CODE>fwprc</CODE> ¤Ï¡¢<CODE>.fwprcrc</CODE> ¥Õ¥¡¥¤¥ë¤ò»È¤Ã¤Æ¥«¥¹¥¿¥Þ¥¤¥º¤·¤Þ¤¹¤Î¤Ç¡¢
¥Õ¥¡¥¤¥¢¡¼¥¦¥©¡¼¥ë¤ÎÇƱ¤¸¤è¤¦¤ÊÀßÄê¥Õ¥¡¥¤¥ë¤òºî¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£
°Û¤Ê¤ë¤¤¤¯¤Ä¤«¤ÎÀßÄê¤ò»È¤¤Ê¬¤±¤ë¤³¤È¤â¤â¤Á¤í¤ó²Äǽ¤Ç¤¹¤¬(<EM>»ä¤Ï</EM> ¤½¤¦¤·¤Æ¤¤¤Þ¤¹)¡¢
¤½¤ì¤ÏÆɼԤÎÊý¤Ø¤Î½ÉÂê¤È¤·¤Æ¤ª¤¤Þ¤·¤ç¤¦¡£
<P>¤Þ¤º <CODE>fwprc</CODE> ¤Î³ºÅö¤¹¤ëÉôʬ¤ò¥³¥Ô¡¼¤·¤Æ¡¢<CODE>.fwprcrc</CODE> ¤È¤¤¤¦Ì¾Á°
¤Î¥Õ¥¡¥¤¥ë¤ò¥Û¡¼¥à¡¦¥Ç¥£¥ì¥¯¥È¥ê¤Ëºî¤Ã¤Æ¤¯¤À¤µ¤¤¡£
¼¡¤Ë¡¢¤¢¤Ê¤¿¤Î´Ä¶¤Ë¤¢¤Ã¤¿ÀßÄê¤Ë¤Ê¤ë¤è¤¦¤Ë¡¢ÊÑ¿ô¤ÎÃͤòÊѹ¹¤·¤Þ¤¹¡£
ºÇ¸å¤Ë¤½¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤òÁê¼ê¦¤Î¥Û¥¹¥È¤Ë¥³¥Ô¡¼¤·¤Æ¡¢¥Æ¥¹¥È¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>¥Ç¥Õ¥©¥ë¥È¤ÎÀßÄê¤Ç¤Ï¡¢pppd ¤ò¥í¡¼¥«¥ë¤Ç»ÈÍѤ·¤Æ¡¢¥ê¥â¡¼¥È¤Ç¤Ï slirp ¤ò»È¤¦
¤è¤¦¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤Î¤Ç¡¢²¼µ¤Î¤è¤¦¤ËŬÀڤ˺ÆÀßÄꤷ¤Æ¤¯¤À¤µ¤¤¡£
<BLOCKQUOTE><CODE>
remote_IP_emu () { remote_pppd }
</CODE></BLOCKQUOTE>
<P>SLiRP ¤Ï pppd ¤è¤ê°ÂÁ´À¤¬¹â¤¯¡¢Áê¼ê¦¤Ë¥¢¥¯¥»¥¹¤¹¤ëÊýË¡¤â´Êñ¤Ç¤¹¡£¤Ê¤¼¤Ê¤é¡¢
¥ê¥â¡¼¥È¦¤Î¥Þ¥·¥ó¤Ç root ¤Î¸¢¸Â¤òɬÍפȤ·¤Ê¤¤¤«¤é¤Ç¤¹¡£°ÂÁ´¤ÊÍýͳ¤Ï¤Þ¤À¤¢¤ê
¤Þ¤¹¡£Àܳ¤µ¤ì¤Æ¤¤¤ë¥Þ¥·¥ó¤«¤éľÀܤ¯¤ë¥Ñ¥±¥Ã¥È°Ê³°¤Ï¡¢¤Þ¤Ã¤¿¤¯¼õ¤±¤Ä¤±¤Ê¤¤¤¿¤á
¤Ç¤¹(¥Þ¥¹¥«¡¼¥ì¡¼¥Ç¥£¥ó¥°¤Ç¥µ¥Ö¥Í¥Ã¥È¤Î¥ë¡¼¥Æ¥£¥ó¥°¤ò¤¹¤ë¤È¤³¤Î¥á¥ê¥Ã¥È¤Ï¤Ê¤¯
¤Ê¤ê¤Þ¤¹)¡£
SLiRP ¤Î´ðËܵ¡Ç½¤Ï¤¦¤Þ¤¯Æ°¤¤Þ¤¹¤¬¡¢¤Þ¤À¤Þ¤À¤³¤ì¤«¤é¤Îµ¡Ç½(Î㤨¤Ð¥é¥ó¥¿¥¤¥à¤Ê
À©¸æ)¤â¤¢¤ê¤Þ¤¹¡£
¤â¤Á¤í¤ó¥Õ¥ê¡¼¥½¥Õ¥È¤Ç¤¹¤«¤é¡¢¥½¡¼¥¹¤ò¥Ï¥Ã¥¯¤·¤Æ¡¢É¬Íפʵ¡Ç½¤ò¤É¤ó¤É¤ó¥¤¥ó¥×¥ê
¥á¥ó¥È¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>
<P>
<HR>
<A HREF="Firewall-Piercing-5.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Firewall-Piercing-3.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Firewall-Piercing.html#toc4">Ìܼ¡¤Ø</A>
</BODY>
</HTML>
|