XFWP(1) | General Commands Manual | XFWP(1) |
̾Á°¶
xfwp - X ¤Î¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¥×¥í¥¥·
½ñ¼°¶
xfwp [option ...]
¥ª¥×¥·¥ç¥ó¶
¤Ë»ØÄê¤Ç¤¤ë¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó¤ò°Ê²¼¤Ë¼¨¤¹:
- -cdt num_secs
- ¥¢¥¯¥Æ¥£¥Ö¤Ç¤Ê¤¤ xfwp ¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ¹¤ë¥Ç¡¼¥¿Àܳ(xfwp ¤¬´û¤Ë X ¥× ¥í¥È¥³¥ë¤òÃæ·Ñ¤·¤Æ¤¤¤ëÀܳ)¤òÊĤ¸¤ë¤Þ¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¤Î»þ´Ö(604800ÉÃ)¤ò ¾å½ñ¤»ØÄꤹ¤ë¡£
- -clt num_secs
- xfwp ¥¯¥é¥¤¥¢¥ó¥ÈÂÔ¤Á¤Î¥Ý¡¼¥È¤òÊĤ¸¤ë¤Þ¤Ç¤Î¥Ç¥Õ¥©¥ë¥È¤Î»þ´Ö(86400ÉÃ)¤ò ¾å½ñ¤»ØÄꤹ¤ë(¤³¤Î¥Ý¡¼¥È¤Ï¡¢X ¥¯¥é¥¤¥¢¥ó¥È¤¬ X ¥µ¡¼¥Ð¤ËÀܳ¤·¤è¤¦¤È¤¹ ¤ë¤È¤¤ËºÇ½é¤ËÀܳ¤¹¤ëxfwp ¤Î¥Ý¡¼¥È¤Ç¤¢¤ë)¡£
- -pdt num_secs
- ¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã¤ËÂФ¹¤ë¥¢¥¯¥Æ¥£¥Ö¤Ç¤Ê¤¤Àܳ¤òÊĤ¸¤ë¤Þ¤Ç¤Î¥Ç¥Õ¥©¥ë¥È ¤Î»þ´Ö(3600ÉÃ)¤ò¾å½ñ¤»ØÄꤹ¤ë¡£
- -config file_name
- ÀßÄê¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¡£
- -pmport port_number
- ¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã¤¬Àܳ¤¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥Ý¡¼¥ÈÈÖ¹æ(4444)¤ò¾å½ñ¤»ØÄꤹ ¤ë¡£
- -verify
- ¤½¤ì¤¾¤ì¤Î¥µ¡¼¥Ó¥¹¥ê¥¯¥¨¥¹¥È¤Ë¥Þ¥Ã¥Á¤¹¤ëÀßÄê¥Õ¥¡¥¤¥ëµ¬Â§¤òɽ¼¨¤¹¤ë¡£
- -logfile file_name
- ´Æºº¾ðÊó¤¬¥í¥°¤È¤·¤ÆµÏ¿¤¹¤ë¥Õ¥¡¥¤¥ë¤Î̾Á°¤ò»ØÄꤹ¤ë¡£ ¥í¥°¤Î½ñ¼°¤Ï ¡Ö»þ¹ï; ¥¤¥Ù¥ó¥È¥³¡¼¥É; IP ¤Î»ÏÅÀ¥¢¥É¥ì¥¹; IP ¤Î½ªÅÀ¥¢¥É¥ì¥¹;ÀßÄ구§ÈÖ¹æ¡× ¤Ç¤¢¤ë¡£ ¥¤¥Ù¥ó¥È¥³¡¼¥É¤ÏÀܳÀ®¸ù»þ¤Ë "0", ÀßÄ구§¤Ë¤è¤Ã¤ÆÀܳ¤¬µñÈݤµ¤ì¤¿¾ì¹ç¤Ë "1", ǧ¾Ú¼ºÇԤˤè¤êÀܳ¤¬µñÈݤµ¤ì¤¿¾ì¹ç¤Ë "2" ¤È¤Ê¤ë¡£ ¥¤¥Ù¥ó¥È¥³¡¼¥É¤¬ "1" ¤Ç¤¢¤ê¡¢¤«¤ÄÀßÄê¥Õ¥¡¥¤¥ë¤¬»È¤ï¤ì¤Æ¤¤¤ë¾ì¹ç¡¢ µ¬Â§¤¬¥Þ¥Ã¥Á¤·¤¿ÀßÄê¥Õ¥¡¥¤¥ë¤Î¹ÔÈֹ椬ÀßÄ구§ÈÖ¹æ¤È¤Ê¤ë(¾Ü¤·¤¯ ¤Ï¡ÖÀßÄê¥Õ¥¡¥¤¥ë¡×¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È)¡£ ¥¤¥Ù¥ó¥È¥³¡¼¥É¤¬ "1" ¤Ç¤Ê¤¤¤«¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤¬»È¤ï¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢ ÀßÄ구§ÈÖ¹æ¤Ï "-1" ¤È¤Ê¤ë¡£ ¤È¤Ê¤ë¡£
- -loglevel {0,1}
- ¥í¥°¤ËµÏ¿¤¹¤ë´Æºº¾ðÊó¤Î¾Ü¤·¤µ¤ò»ØÄꤹ¤ë¡£ "0" ¤Î¾ì¹ç¤ÏÁ´¤Æ¤ÎÀܳ¤¬µÏ¿¤µ¤ì¤ë¡£ "1" ¤Î¾ì¹ç¤Ï¼ºÇÔ¤·¤¿Àܳ¤¬µÏ¿¤µ¤ì¤ë¡£
- -max_pm_conns num_connections
- ¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã¤ÎºÇÂçÀܳ¿ô¤ò»ØÄꤹ¤ë¡£ ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 10 ¤Ç¤¢¤ë¡£
- -max_pm_conns num_connections
- X ¥µ¡¼¥Ð¤ÎºÇÂçÀܳ¿ô¤ò»ØÄꤹ¤ë¡£ ¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 100 ¤Ç¤¢¤ë¡£
ÀâÌÀ¶
X ¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¥×¥í¥¥·(xfwp)¤Ï¡¢¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë±Û¤·¤Ë X ¤ÎÄÌ¿®¤ò žÁ÷¤¹¤ë¤¿¤á¤Ë¡¢¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¥Û¥¹¥È¾å¤ÇÆ°ºî¤µ¤»¤ë¥¢¥× ¥ê¥±¡¼¥·¥ç¥óÁؤΥ²¡¼¥È¥¦¥§¥¤¥×¥í¥¥·¤Ç¤¢¤ë¡£ X ¥µ¡¼¥Ð¥»¥¥å¥ê¥Æ¥£µ¡Ç½³ÈÄ¥¤ª¤è¤Óǧ¾Ú¥Á¥§¥Ã¥¯¤È¶¦¤ËÍѤ¤¤ë¤È¡¢xfp ¤Ï ÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯¾å¤ËÀßÃÖ¤·¤¿ X ¥µ¡¼¥Ð¤Î¥¢¥É¥ì¥¹¤Î±£Êäȥµ¡¼¥Ð¤Î Àܳ¥Ý¥ê¥·¡¼¤Î¶¯À©¤ÎξÊý¤ò¹Ô¤¦¤¿¤á¤Î¡¢°ÂÁ´¤«¤Ä¥·¥ó¥×¥ë¤Ç¿®Íê¤Ç¤¤ëµ¡¹½ ¤òºî¤ë¤³¤È¤¬¤Ç¤¤ë¡£xfwp ¤Ï¡¢ÆâÉô¤Çµ¯¤¤¿°°Õ ¤ò»ý¤Ã¤¿¹Ô°Ù¤ËÂФ¹¤ëËɸæ¤Ï¹Ô¤¦¤³¤È¤¬¤Ç¤¤Ê¤¤¡£¤·¤«¤·¡¢Å¬ÀÚ¤ËÀßÄꤹ¤ì¤Ð¡¢ ǧ¾Ú¤ò¼õ¤±¤¿¥¤¥ó¥¿¡¼¥Í¥Ã¥È¾å¤Î³°Éô¥Û¥¹¥È¤Ç¼Â¹Ô¤µ¤ì¤¿¿®Íê¤Ç¤¤ë¥¯¥é¥¤¥¢ ¥ó¥È¤·¤«¥í¡¼¥«¥ë¤Î X ¥µ¡¼¥Ð¤Ø¤Î¥¢¥¯¥»¥¹¤òµö¤µ¤ì¤Ê¤¤¤³¤È¤¬ÊݾڤǤ¤ë¡£
xfwp ¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢µ¯Æ°»þ¤Ë xfwp ¤Î°ÌÃÖ¤¬¤ï¤«¤ë¤è¤¦¤ËÀßÄꤵ¤ì¤Æ ¤ª¤ê¡¢¥í¡¼¥«¥ë¤Î´Ä¶¤ÇÆ°ºî¤·¤Æ¤¤¤ë X ¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã¤¬É¬ÍפǤ¢¤ë¡£ [Ãí°Õ: ¥í¡¼¥«¥ë¤Î´Ä¶¤ÇÊ£¿ô¤Î xfwp ¤òÆ°¤«¤¹¤³¤È¤¬¤Ç¤¤ë¡£¾Ü¤·¤¯¤Ï¸å½Ò ¤Î¥í¡¼¥É¥Ð¥é¥ó¥·¥ó¥°¤Ë¤Ä¤¤¤Æ¤ÎÀâÌÀ¤ò»²¾È¤¹¤ë¤³¤È¡£] xfindproxy ¥æ¡¼¥Æ¥£ ¥ê¥Æ¥£¤ò»È¤Ã¤Æ(¤³¤ì¤Ï¥ê¥¯¥¨¥¹¥È¤ò¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã·Ðͳ¤ÇÃæ·Ñ¤¹¤ë)¡¢¥æ¡¼ ¥¶¤Ï xfwp ¤ËÆÃÄê¤Î X ¥µ¡¼¥Ð¤ËÂФ¹¤ë¥¯¥é¥¤¥¢¥ó¥È¤Î´Æ»ë¥Ý¡¼¥È¤ò³ä¤êÅö¤Æ ¤ë¤³¤È¤¬¤Ç¤¤ë¡£¤³¤ì¤Ï¡¢ÆâÉôŪ¤Ë¤Ï¤½¤Î¥µ¡¼¥Ð¤ËÂФ¹¤ë¾Íè¤ÎÀܳ¥ê¥¯¥¨¥¹ ¥È¤Ë´ØÏ¢¤Å¤±¤é¤ì¤ë¡£¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã¤Ï¡¢¤³¤Î¥¯¥é¥¤¥¢¥ó¥ÈÂÔ¤Á¤Î¥Ý¡¼¥È ÈÖ¹æ¤ò xfindproxy ·Ðͳ¤ÇÊÖ¤¹¡£¤½¤Î¸å¡¢xfwp ¤Î¥Û¥¹¥È̾¤È¥Ý¡¼¥ÈÈÖ¹æ¤Ï¥Ð ¥ó¥É³°¤Î¥Ä¡¼¥ë¤Ë¤è¤Ã¤Æ(¤Ä¤Þ¤ê¥¦¥§¥Ö¥Ö¥é¥¦¥¶·Ðͳ¤Ç)¥ê¥â¡¼¥È¤Î X ¥¯¥é¥¤ ¥¢¥ó¥È¤ËÅϤµ¤ì¤ë¡£¤³¤ì¤Ë¤è¤ê¡¢ÌÜŪ¤Î X ¥µ¡¼¥Ð¤Ç¤Ï¤Ê¤¯ xfwp ¤ËÀܳ¤¹¤ë ¤³¤È¤¬¤Ç¤¤ë¡£
X ¥¯¥é¥¤¥¢¥ó¥È¤ÎÀܳ¥ê¥¯¥¨¥¹¥È¤¬ xfwp ¤ÎÂÔ¤Á¥Ý¡¼¥È¤Î¤Ò¤È¤Ä¤ËÆϤ¤¤¿¤È¤¡¢ xfwp ¤Ï¤³¤ÎÂÔ¤Á¥Ý¡¼¥È¤ËÂбþ¤¹¤ë X ¥µ¡¼¥Ð¤ËÀܳ¤·¤Æǧ¾Ú¥Á¥§¥Ã¥¯¤ò¹Ô¤¦¡£ ¤³¤Îǧ¾Ú¥Á¥§¥Ã¥¯¤Ï¥µ¡¼¥Ð¤ª¤è¤Ó¡¢¥ê¥¯¥¨¥¹¥È¤·¤Æ¤¯¤ë¥¯¥é¥¤¥¢¥ó¥È¤ËÂФ·¤Æ xfwp ¤¬»ý¤Ã¤Æ¤¤¤ëÀßÄê²Äǽ¤Ê¥¢¥¯¥»¥¹À©¸æ¥ê¥¹¥È¤Ë¤Ä¤¤¤Æ¹Ô¤ï¤ì¤ë¡£ ¥Á¥§¥Ã¥¯¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¤ä¡¢¥ê¥¯¥¨¥¹¥È¤ò¼õ¤±¤¿¥µ¡¼¥Ð¤¬ X ¥»¥¥å¥ê¥Æ¥£µ¡Ç½³ÈÄ¥¤ËÂбþ¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥ÈÀܳ¤Ï¼ºÇÔ ¤¹¤ë¡£ ¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤ÏÀܳ¤Ïǧ¤á¤é¤ì¡¢¤½¤ì°Ê¹ß¤Î¥¯¥é¥¤¥¢¥ó¥È¤È¥µ¡¼¥Ð´Ö¤ÎÄÌ ¿®¤Ï xfwp ¤Ë¤è¤Ã¤ÆÃæ·Ñ¤µ¤ì¤ë¡£ ¤³¤ÎÃæ·Ñ¤Ï¥¯¥é¥¤¥¢¥ó¥È¤¬Àܳ¤òÊĤ¸¤ë¤«¡¢¥¯¥é¥¤¥¢¥ó¥ÈÀܳ¤Î¥¢¥¯¥Æ¥£¥Ö¤Ç ¤Ê¤¤¾õÂÖ¤¬»ØÄꤵ¤ì¤¿¥¿¥¤¥à¥¢¥¦¥È´ü¸Â¤òĶ¤¨¤ë¤Þ¤Ç¹Ô¤ï¤ì¤ë¡£ ¥·¥¹¥Æ¥à¥µ¥¤¥¯¥ë¤Ø¤ÎÉéô¤òºÇ¾®¸Â¤Ë¤¹¤ë¤¿¤á¡¢xfwp ¤ÏÀܳ¾å¤ÇÄÌ¿®¤òÂÔ¤Ä ´Ö¤Ï¥Ö¥í¥Ã¥¯¤¹¤ë¤è¤¦¤ËÀ߷פµ¤ì¤Æ¤¤¤ë¡£
ÀßÄê¥Õ¥¡¥¤¥ë¤Ê¤·¡¢¤Ä¤Þ¤ê¥µ¥¤¥È¥Ý¥ê¥·¡¼¤òÄêµÁ¤»¤º¤Ë xfwp ¤¬¼Â¹Ô¤µ¤ì¤Æ¤¤ ¤ë¾ì¹ç¤Ç¡¢xhost + ¤¬¼Â¹Ô¤µ¤ì¤Æ¥Û¥¹¥È¥Ù¡¼¥¹¤Îǧ¾Ú¥Á¥§¥Ã¥¯¤¬Ìµ¸ú¤Ë¤Ê¤Ã¤Æ ¤¤¤ë X ¥µ¡¼¥Ð¤ò»È¤Ã¤Æ xfwp ¤¬Æ°ºî¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬ xfwp ·Ðͳ¤Ç¤³¤Î X ¥µ¡¼¥Ð¤ËÀܳ¤·¤è¤¦¤È¤¹¤ë¤È¡¢X ¥µ¡¼¥Ð¤Ï¤½¤ÎÀܳ¤òµñÈݤ¹¤ë¡£ xfwp ¤¬¥µ¥¤¥È¥Ý¥ê¥·¡¼¤òÄêµÁ¤·¤Æ¤¤¤Ê¤¤¾ì¹ç¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬ xfwp ·Ðͳ ¤Ç X ¥µ¡¼¥Ð¤ËÀܳ¤¹¤ë¤¿¤á¤Ë¤Ï¥Û¥¹¥È¥Ù¡¼¥¹¤Îǧ¾Ú¤¬Í¸ú¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
IP ¥Ñ¥±¥Ã¥È¥Õ¥£¥ë¥¿¥ê¥ó¥°¥ë¡¼¥¿¤ò»È¤Ã¤¿ÄÌ¿®¶
xfwp ¤ÎÌÜŪ¤Ï¡¢¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤Î³°¤Î X ¥¯¥é¥¤¥¢¥ó¥È¤«¤éÆâÉô¥Í¥Ã¥È¥ï¡¼ ¥¯¤Î X ¥µ¡¼¥Ð¤Ø¤Î¥¢¥¯¥»¥¹¤ËÂФ·¤Æ¡¢¿®Íê¤Ç¤¤ëÀ©¸æ¤ò¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë¤³ ¤È¤Ç¤¢¤ë¡£¸½»þÅÀ¤Ç¤Ï¡¢¤³¤Î¤è¤¦¤Ê¥¢¥¯¥»¥¹À©¸æ¤Ï¡¢Ä̾ï¤Ï IP ¥Ñ¥±¥Ã¥È¥Õ¥£ ¥ë¥¿¥ê¥ó¥°¥ë¡¼¥¿¤ò´Þ¤à¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤ÎÀßÄê¤Ç¼Â¸½¤¹¤ë¡£Â¿¤¯¤Î¾ì¹ç¡¢¤³ ¤Î¤è¤¦¤Ê¥Õ¥£¥ë¥¿¤Îµ¬Â§¤Ç¤Ï¡¢ÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥Û¥¹¥È¤ËÂФ¹¤ë X ¥µ¡¼¥Ð ¤Î¥Ý¡¼¥È(ÈÏ°Ï 6000-6xxx)¤Ø¤Î¥¢¥¯¥»¥¹¤Ï¶Ø»ß¤µ¤ì¤ë¡£
xfwp ¤òÆ°ºî¤µ¤»¤ë¤¿¤á¤Ë¤Ï¡¢IP ¥Ñ¥±¥Ã¥È¥Õ¥£¥ë¥¿¥ê¥ó¥°¥ë¡¼¥¿¤Îµ¬Â§¤«¤é¡¢ ¥Ý¡¼¥È 6000-6xxx ¤ËÂФ¹¤ë¥¢¥¯¥»¥¹À©¸Â¤ò¼è¤ê½ü¤«¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£[Ãí°Õ: xfwp ¤Ï 6001 ¤«¤é»Ï¤Þ¤ëÈϰϤΥݡ¼¥È¤À¤±¤ò³ä¤êÅö¤Æ¤ë¡£¤·¤¿¤¬¤Ã¤Æ¡¢Á´¤Æ ¤ÎÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯¾å¤Î¥Û¥¹¥È¤ËÂФ¹¤ë¥Ý¡¼¥È 6000 È֤ؤΥ¢¥¯¥»¥¹¤Ï¶Ø»ß¤· ¤¿¤Þ¤Þ¤Ç¤è¤¤¡£] ¤³¤ì¤Ï¡¢ÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯¤Î¤Î¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¤ò X ¥¯¥é ¥¤¥¢¥ó¥È¤Ë¤è¤ë̵º¹ÊÌ¥¢¥¯¥»¥¹¤ËÂФ·¤Æ¥ª¡¼¥×¥ó¤Ë¤¹¤ë¤È¤¤¤¦¤³¤È¤Ç¤Ï¤Ê¤¤¡£ xfwp ¤Ï¡¢IP ¥Ñ¥±¥Ã¥È¥Õ¥£¥ë¥¿¥ê¥ó¥°¥ë¡¼¥¿¤½¤Î¤â¤Î¤ÈƱÍͤΡ¢´°Á´¤ËÀßÄê²Ä ǽ¤Êµ¬Â§¥Ù¡¼¥¹¤Î¥¢¥¯¥»¥¹À©¸æ¥·¥¹¥Æ¥à¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¡£ xfwp ¤Ï¼ÂºÝ¤Ë¤Ï¡¢´°Á´¤ËÀßÄê²Äǽ¤«¤ÄX ¤ÎÄÌ¿®ÀìÍѤÇŬÍѤµ¤ì¤ë¡¢¥ë¡¼¥¿¤È ¤ÏÊ̤Υì¥Ù¥ë¤Î¥Ñ¥±¥Ã¥È¥Õ¥£¥ë¥¿¥ê¥ó¥°À©¸æ¤òÄɲ乤롣¾Ü¤·¤¯¤Ï¡¢ ¡ÖÀßÄê¥Õ¥¡¥¤¥ë¡×¤Î¥»¥¯¥·¥ç¥ó¤ò»²¾È¤¹¤ë¤³¤È¡£
¥¤¥ó¥¹¥È¡¼¥ë¡¢ÀßÄê¡¢¥È¥é¥Ö¥ë¤Ø¤ÎÂнè¶
xfwp ¤ÏÄ̾ï¤ÏÆâÉô¥Í¥Ã¥È¥ï¡¼¥¯¤Î¥Õ¥¡¥¤¥¢¥¦¥©¡¼¥ë¥Û¥¹¥È¾å¤Ç¥Ð¥Ã¥¯¥°¥é¥¦ ¥ó¥É¥×¥í¥»¥¹¤È¤·¤Æ¼Â¹Ô¤µ¤ì¤ë¡£ xfwp ¤ÏÁ°½Ò¤ÎǤ°Õ¤Î¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó¤ò»ØÄꤷ¤Æµ¯Æ°¤¹¤ë¤³¤È¤¬¤Ç¤¤ë¡£ to xfwp whether or not it supports the particular policy. Consult the man Àè¤Ë½Ò¤Ù¤¿¤è¤¦¤Ë¡¢xfwp ¤Ï¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã¤ª¤è¤Ó xfindproxy ¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤ÈÁȤ߹ç¤ï¤»¤Ê¤¤¤ÈÍøÍѤǤ¤Ê¤¤¡£ xfwp ¤Ï¥æ¡¼¥¶¤¬ÄêµÁ¤·¤¿ X ¥µ¡¼¥Ð¤Î¥µ¥¤¥È¥»¥¥å¥ê¥Æ¥£¥Ý¥ê¥·¡¼¤ËÂбþ¤¹¤ë ¤è¤¦¤ËÀßÄê¤Ç¤¤ë¤¬¡¢¤³¤Î¥Ý¥ê¥·¡¼¤Ë¤ª¤¤¤Æ¤Ï¡¢X ¥µ¡¼¥Ð¤ÏÆÃÄê¤Î¥Ý¥ê¥·¡¼¤ò ¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤ò xfwp ¤Ë¼¨¤¹É¬Íפ¬¤¢¤ë¡£ ¤³¤ì¤é¤ÎÍ×ÁǤ˴ؤ¹¤ë¾Ü¤·¤¤¾ðÊó¤Ë¤Ä¤¤¤Æ¤Ï¡¢¥ª¥ó¥é¥¤¥ó¥Þ¥Ë¥å¥¢¥ë¤ò»²¾È¤¹ ¤ë¤³¤È¡£ xfwp ¤Ï¡¢-DDEBUG ¥ª¥×¥·¥ç¥ó¤òÉÕ¤±¤ÆºÆ¥³¥ó¥Ñ¥¤¥ë¤¹¤ë¤³¤È¤Ë¤è¤Ã¤Æ¡¢ ¥Ç¥Ð¥Ã¥°½ÐÎϤò½Ð¤¹¤è¤¦¤Ë¤Ç¤¤ë¡£
Àǽ¡¢¥í¡¼¥É¥Ð¥é¥ó¥·¥ó¥°¡¢¥ê¥½¡¼¥¹´ÉÍý¶
xfwp ¤Ï4¼ïÎà¤Î°Û¤Ê¤ëÀܳ¤ò´ÉÍý¤¹¤ë¡£¤³¤ì¤Ï¡¢¥×¥í¥¥·¥Þ¥Í¡¼¥¸¥ã(PM)¥Ç¡¼ ¥¿¡¢X ¥¯¥é¥¤¥¢¥ó¥ÈÂÔµ¡¡¢X ¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿¡¢X ¥µ¡¼¥ÐÀܳ¤Ç¤¢¤ë¡£xfwp ¤ò»È¤¦¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï¡¢xfwp ¤Î¥µ¡¼¥Ó¥¹¤ÎÀǽ¤òºÇŬ²½¤¹¤ë¤¿¤á¤Ë¡¢¤³¤ì ¤é¤ÎÀܳ¥¿¥¤¥×¤ËÂФ¹¤ë¥ê¥½¡¼¥¹¤Î³ä¤êÅö¤Æ¤ÈºÆÍøÍѤÎÊýË¡¤òÍý²ò¤¹¤Ù¤¤Ç¤¢ ¤ë¡£
¤½¤ì¤¾¤ì¤ÎÀܳ¥¿¥¤¥×¤Ï¥Ç¥Õ¥©¥ë¥È¿ô¤Î³ä¤êÅö¤Æ¥¹¥í¥Ã¥È¤È¥Ç¥Õ¥©¥ë¥È¤Î ¥¿¥¤¥à¥¢¥¦¥ÈÃͤò»ý¤Ã¤Æ¤¤¤ë¡£ PM Àܳ¤È X ¥µ¡¼¥ÐÀܳ¤ËÂФ¹¤ë³ä¤êÅö¤Æ¥¹¥í¥Ã¥È¤Î¿ô¤Ï¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó ¤ÇÀßÄê¤Ç¤¤ë¡£ Àܳ¥¿¥¤¥à¥¢¥¦¥È¤â¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó¤ÇÀßÄê¤Ç¤¤ë¡£ ¥¿¥¤¥à¥¢¥¦¥ÈÃͤȤϡ¢¥Ç¡¼¥¿¤¬Î®¤ì¤Ê¤¤¤Þ¤Þ¤Ç¥ª¡¼¥×¥ó¤·¤¿Àܳ¾õÂÖ¤¬µö¤µ¤ì ¤ë»þ´Ö¤Ç¤¢¤ë¡£Àܳ¾å¤Ë¥Ç¡¼¥¿¤¬Î®¤ì¤ë¤È¡¢ Àܳ¤òÊĤ¸¤ë¤Þ¤Ç¤Î»þ´Ö¤Ï¼«Æ°Åª¤Ë¥ê¥»¥Ã¥È¤µ¤ì¤ë¡£4¤Ä¤ÎÀܳ¥¿¥¤¥×¤Ë¤ª¤± ¥×¥í¥»¥¹¤ÎÀܳ¥¹¥í¥Ã¥ÈÁ´ÂΤΥǥե©¥ë¥È¤ÎÇÛʬ¤È¡¢¤½¤ì¤¾¤ì¤ÎÀܳ¥¿¥¤¥×¤Ë ÂФ¹¤ë¥Ç¥Õ¥©¥ë¥È¤Î¥¿¥¤¥à¥¢¥¦¥ÈÃͤÎÁªÂò¤Ï¡¢xfwp ¤ÎÍøÍÑ¥â¥Ç¥ë¤¬´Þ¤ó¤Ç¤¤ ¤ë¿¤¯¤Î²¾Äê¤Ë´ð¤Å¤¤¤Æ·è¤Þ¤ë¡£
PM Àܳ¤Î¥Ç¥Õ¥©¥ë¥ÈÃÍ¤Ï 10 ¤Ç¤¢¤ê¡¢PM Àܳ¤Î¥Ç¥Õ¥©¥ë¥È¤Î»ý³»þ´Ö¤Ï¡¢ ¤½¤ì¤¾¤ì¤ÎÀܳ¤Ë¤Ä¤¤¤ÆºÇ¸å¤Ë¥Ç¡¼¥¿¤¬Î®¤ì¤Æ¤«¤é 3,600 ÉÃ(1»þ´Ö)¤Ç¤¢¤ë¡£ µ¯Æ°»þ¤Ë¤Ï¡¢xfwp ¤ÏǤ°Õ¤ÎÈóͽÌó¥Ý¡¼¥È(xfwp ¤Î¥³¥Þ¥ó¥É¹Ô¤Ç»ØÄꤷ¤Ê ¤±¤ì¤Ð¡¢¥Ç¥Õ¥©¥ë¥ÈÃͤΠ4444 ¤¬»È¤ï¤ì¤ë)¤Ë¤ª¤¤¤Æ PM Àܳ¥ê¥¯¥¨¥¹¥È¤òÂÔ ¤Ä¡£PM ¤ÏÄ̾xfindproxy ¤ò»È¤Ã¤Æ PM ¤Î¸Æ¤Ó½Ð¤·¤¬¹Ô¤ï¤ì¤¿¤È¤¤·¤« xfwp ¤ËÀܳ¤·¤Ê¤¤¡£ °Ê¹ß¤Ï¡¢Î¾¼Ô¤Î¥á¥Ã¥»¡¼¥¸¸ò´¹¤¬½ª¤ï¤Ã¤¿¸å¤Ç¤â¡¢¥Ç¥Õ¥©¥ë¥È¤ÎÀܳ͸ú´ü´Ö ¤Î´Ö¤Ï PM ¤Ï xfwp ¤ËÀܳ¤·¤¿¤Þ¤Þ¤Ç¤¢¤ë¡£¾ì¹ç¤Ë¤è¤Ã¤Æ¤Ï¡¢¤³¤ì¤¬¸¶°ø¤Ç PM Àܳ¥¹¥í¥Ã¥È¤¬¸Ï³é¤·¤Æ¤·¤Þ¤¦¤³¤È¤â¤¢¤ë¡£ ¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï¡¢Â¿¤¯¤Î PM ¤«¤é1¤Ä¤Î xfwp ¤ËÀܳ¤¬¹Ô¤ï¤ì¤ë¤³¤È¤òͽÁÛ ¤·¤¿¾ì¹ç¤Ë¤Ï¡¢-pdt ¥³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó¤òÍѤ¤¡¢¥¢¥¯¥Æ¥£¥Ö¤Ç¤Ê¤¤ÀÜ Â³¤¬¥ª¡¼¥×¥ó¾õÂ֤Ǥ¢¤ë¤³¤È¤¬µö¤µ¤ì¤ëÈϰϤÇ˾¤Þ¤·¤¤Í¸ú´ü´Ö¤òÈ¿±Ç¤µ¤»¤¿ ¥¿¥¤¥à¥¢¥¦¥ÈÃͤò»ØÄꤷ¤Æ xfwp ¤òµ¯Æ°¤¹¤Ù¤¤Ç¤¢¤ë¡£
xfwp ¥¯¥é¥¤¥¢¥ó¥È¥ê¥¹¥Ê¤Ï¡¢xfindproxy ¤ò¸Æ¤Ó½Ð¤·¤ÆÀßÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë¡£ ºÇ¸å¤Î¥Ç¡¼¥¿¤¬Î®¤ì¤¿»þÅÀ¤«¤é86,400ÉÃ(24»þ´Ö) ¤Î͸ú´ü´Ö¤Î´Ö¤Ï¡¢X ¥¯¥é ¥¤¥¢¥ó¥È¤ÎÀܳ¥ê¥¯¥¨¥¹¥È¤òÂÔ¤Á³¤±¤ë¡£¤³¤Î´ü´Ö¤ò²á¤®¤ë¤È¡¢¥ê¥¹¥Ê¤Ï¼«Æ° Ū¤Ë¥¯¥í¡¼¥º¤µ¤ì¡¢¤½¤Î fd ¤Ï¸å¤Ç³ä¤êÅö¤Æ¤é¤ì¤ë¤¿¤á¤Ë²ó¼ý¤µ¤ì¤ë¡£ ¥¯¥é¥¤¥¢¥ó¥È¤ÎÂÔ¤Á¥Ý¡¼¥È¤¬ÍøÍѲÄǽ¤Ç¤¢¤ë¤³¤È¤òÊݾڤ¹¤ë¤è¤¦¤ÊÊ̤Υ¿¥¤¥à ¥¢¥¦¥ÈÃͤò¤É¤¦¤ä¤Ã¤ÆÁª¤Ù¤Ð¤è¤¤¤«¤È¤¤¤¦ÌäÂê¤ËÂФ·¤Æ¤Ï¡¢¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï (xfindproxy ¤ò»È¤Ã¤Æ)¥ê¥¹¥Ê¤¬³ä¤êÅö¤Æ¤é¤ì¤¿»þ´Ö¤È¥¯¥é¥¤¥¢¥ó¥È¤¬¼ÂºÝ¤Ë xfwp ¤Ø¤ÎÀܳ¤ò»î¤ß¤ë»þ´Ö¤È¤Î´Ö¤ËͽÁÛ¤µ¤ì¤ë¤º¤ì¤ò¹Íθ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê ¤¤¡£¤Þ¤¿¡¢ºÇ½é¤Î¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿Àܳ¤¬ÊĤ¸¤¿¸å¤Ë¥¯¥é¥¤¥¢¥ó¥È¤Î¥ê¥¹¥Ê ¤¬ºÆÍøÍѤµ¤ì¤ë¸«¹þ¤ß¤â¹Íθ¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£
¤½¤ì¤¾¤ì¤Î¥¯¥é¥¤¥¢¥ó¥ÈÀܳ¤Ë¤Ï¡¢ºÇ¸å¤Ë¥Ç¡¼¥¿¤¬Î®¤ì¤Æ¤«¤é 604,800 Éà (7* 24 »þ´Ö)¤Î¸³»þ´Ö¤¬¥Ç¥Õ¥©¥ë¥È¤Ç³ä¤êÅö¤Æ¤é¤ì¤ë¡£ ¤³¤Î´ü´Ö¤¬²á¤®¤ë¤È¡¢Àܳ¤Ï¼«Æ°Åª¤Ë¥¯¥í¡¼¥º¤µ¤ì¡¢¤½¤Î fd ¤Ï¾Íè¤Î ³ä¤êÅö¤Æ¤Î¤¿¤á¤Ë²ó¼ý¤µ¤ì¤ë¡£ ¼ÂºÝ¤Ë¤Ï¡¢¥µ¡¼¥ÐÀܳ¤Ï¥ê¥â¡¼¥È¤Î X ¥¯¥é¥¤¥¢¥ó¥È¤«¤é¤ÎÀܳ¥ê¥¯¥¨¥¹¥È¤¬ fwp ¤Î¥¯¥é¥¤¥¢¥ó¥ÈÂÔ¤Á¥Ý¡¼¥È¤Î¤¤¤º¤ì¤«¤ËÆϤ¯¤Þ¤Ç¤Ï³ÎΩ¤µ¤ì¤Ê¤¤¤Î¤Ç¡¢ ¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿¤Î¥¿¥¤¥à¥¢¥¦¥È¤Ï¥¯¥é¥¤¥¢¥ó¥È-xfwp ¤ª¤è¤Ó xfwp-¥µ¡¼¥Ð ¤ÎξÊý¤ÎÀܳ¤ËÂФ·¤ÆŬÍѤµ¤ì¤ë¡£xfwp ¤òÄ̤¸¤Æ¿¤¯¤Î¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿ Àܳ¤¬À¸¤¸¤ë¤³¤È¤¬Í½ÁÛ¤µ¤ì¤ë¾ì¹ç¡¢¥·¥¹¥Æ¥à´ÉÍý¼Ô¤Ï¥Ç¥Õ¥©¥ë¥È¤Î¥¿¥¤¥à¥¢ ¥¦¥ÈÃͤòÊѹ¹¤¹¤ë¤³¤È¤ò¹Í¤¨¤ë¤Ù¤¤Ç¤¢¤ë¡£
ÀßÄê¥Õ¥¡¥¤¥ë¶
xfwp ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Ï xfwp ¤Î¥Û¥¹¥È¥Þ¥·¥ó¾å¤Ë¤¢¤ê¡¢X ¥¯¥é¥¤¥¢¥ó¥È¤Î¥Ç¡¼ ¥¿Àܳ¤òµö²Ä¤¹¤ë¤«µñÈݤ¹¤ë¤«¤ò»ØÄꤹ¤ë¡£¥Õ¥¡¥¤¥ë¤Î¥Ñ¥¹Ì¾¤Ïµ¯Æ°»þ¤Ë»ØÄê ¤¹¤ë¡£ÀßÄê¥Õ¥¡¥¤¥ë¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¡¢xfwp ¤òÄ̲᤹¤ëÁ´¤Æ¤Î X ¥¯¥é ¥¤¥¢¥ó¥È¤Î¥Ç¡¼¥¿Àܳ¥ê¥¯¥¨¥¹¥È¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Çµö²Ä¤µ¤ì¤ë¡£¤¿¤À¤·¡¢¤³¤Î ¾ì¹ç¤Ë¤â¾¤Î X ¥µ¡¼¥Ðǧ¾Ú¥Á¥§¥Ã¥¯¤Ë¤ÏÀ®¸ù¤·¤Æ¤¤¤ë¤â¤Î¤È¤¹¤ë¡£ÀßÄê¥Õ¥¡ ¥¤¥ë¤¬Í¿¤¨¤é¤ì¤Æ¤¤¤ë¤¬¡¢¤½¤Î¥¨¥ó¥È¥ê¤Î¤¤¤º¤ì¤âÀܳ¥ê¥¯¥¨¥¹¥È¤Ë¥Þ¥Ã¥Á ¤·¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¥Ç¥Õ¥©¥ë¥È¤Ç¤ÏÀܳ¤ÏµñÈݤµ¤ì¤ë¡£
ÀßÄê¥Õ¥¡¥¤¥ë¤Î¤¢¤ë¹Ô¤¬ '#' ¤Ç»Ï¤Þ¤ë¾ì¹ç¤ä¶õ¹Ô¤Î¾ì¹ç¤Ï¡¢¤½¤Î¹Ô¤Ï ̵»ë¤µ¤ì¤Æɾ²Á¥ë¡¼¥Á¥ó¤Ï¼¡¤Î¹Ô¤Ø¤È¿Ê¤à¡£
ÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï¡¢Á´¤¯ÆÈΩ¤Î2¤Ä¤Îǧ¾Ú¥Á¥§¥Ã¥¯¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£1¤Ä ¤Ï xfwp ¼«¿È¤¬¼Â¹Ô¤¹¤ë¤â¤Î¤Ç¤¢¤ê¡¢¤â¤¦1¤Ä¤Ï xfwp ¤ÎÌÜŪ¤Î¥µ¡¼¥Ð¤Ø¤ÎÌä ¤¤¹ç¤ï¤»¤Î·ë²Ì¤Ç¤¢¤ë¡£Á°¼Ô¤Ë¤ª¤¤¤Æ¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ç¤Ï IP ¥Ñ¥±¥Ã¥È¥Õ¥£ ¥ë¥¿¥ê¥ó¥°¥ë¡¼¥¿¤Ë»÷¤¿µË¡¤ä¥»¥Þ¥ó¥Æ¥£¥Ã¥¯¤¬»È¤ï¤ì¤Æ¤¤¤ë¡£¤³¤ì¤Ï°Ê²¼¤Î ·Á¼°¤Î¡¢0¸Ä°Ê¾å¤Î¡Ö»ÏÅÀ¥¢¥É¥ì¥¹-½ªÅÀ¥¢¥É¥ì¥¹¡×¤Îµ¬Â§¤«¤é¤Ê¤ë¡£
{permit | deny} <src> <src mask> [<dest> <dest mask> [<operator> <service>]]
- permit/deny
- ¥¡¼¥ï¡¼¥É ``permit'' ¤Ï¥¢¥¯¥»¥¹µö²Ä¤ò¼¨¤·¡¢¥¡¼¥ï¡¼¥É ``deny'' ¤Ï¥¢¥¯ ¥»¥¹µñÈݤò¼¨¤¹¡£
- src
- Àܳ¥ê¥¯¥¨¥¹¥È¤ò½Ð¤·¤¿¥Û¥¹¥È¤È¥Þ¥Ã¥Á¤µ¤»¤ë IP ¥¢¥É¥ì¥¹¡£¤³¤ÎÃÍ¤Ï IP ¥Õ¥©¡¼ ¥Þ¥Ã¥È¤Çµ½Ò¤¹¤ë¡£
- src mask
- ¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯¤Ç¤¢¤ê¡¢¤³¤ì¤â IP ¥Õ¥©¡¼¥Þ¥Ã¥È¤Çµ½Ò¤¹¤ë¡£¤³¤ÎÃͤϤµ¤é ¤Ë»ÏÅÀ¥¢¥É¥ì¥¹¤Î¥Þ¥¹¥¯¤òÄ´¤Ù¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£¥Þ¥¹¥¯Æâ¤Ç¥»¥Ã¥È¤µ¤ì¤Æ¤¤ ¤ë¥Ó¥Ã¥È¤Ï¡¢Æþ¤Ã¤Æ¤¯¤ë¥¢¥É¥ì¥¹¤Î¥Ó¥Ã¥È¤Ç¡¢»ØÄꤵ¤ì¤¿ src ¤ÈÈæ³Ó¤¹¤ë¤È ¤¤Ë̵»ë¤¹¤ë¤â¤Î¤ò¼¨¤¹¡£
- dest
- Æþ¤Ã¤Æ¤¯¤ëÀܳ¥ê¥¯¥¨¥¹¥È¤Î½ªÅÀ¥¢¥É¥ì¥¹(¤Ä¤Þ¤ê¡¢¥¯¥é¥¤¥¢¥ó¥È¤¬Àܳ¤·¤è ¤¦¤È¤·¤Æ¤¤¤ë X ¥µ¡¼¥Ð¤Î IP ¥¢¥É¥ì¥¹)¤È¥Þ¥Ã¥Á¤µ¤»¤ë IP ¥¢¥É¥ì¥¹¡£
- dest mask
- ¥µ¥Ö¥Í¥Ã¥È¥Þ¥¹¥¯¤Ç¤¢¤ê¡¢¤³¤ì¤â IP ¥Õ¥©¡¼¥Þ¥Ã¥È¤Çµ½Ò¤¹¤ë¡£¤³¤ÎÃͤϤµ¤é ¤Ë½ªÅÀ¥¢¥É¥ì¥¹¤Î¥Þ¥¹¥¯¤òÄ´¤Ù¤ë¤¿¤á¤Ë»È¤ï¤ì¤ë¡£¥Þ¥¹¥¯Æâ¤Ç¥»¥Ã¥È¤µ¤ì¤Æ¤¤ ¤ë¥Ó¥Ã¥È¤Ï¡¢Æþ¤Ã¤Æ¤¯¤ë¥¢¥É¥ì¥¹¤Î¥Ó¥Ã¥È¤ÎÆâ¡¢»ØÄꤵ¤ì¤¿ destination ¤È Èæ³Ó¤¹¤ë¤È¤¤Ë̵»ë¤¹¤ë¤â¤Î¤ò¼¨¤¹¡£
- operator
- (service ¥Õ¥£¡¼¥ë¥É¤¬ NULL ¤Ç¤Ê¤±¤ì¤Ð)¾ï¤Ë ``eq'' ¤Ç¤¢¤ë¡£
- service
- ``pm'', ``fp'', ``cd'' ¤¤¤º¤ì¤«¤Îʸ»úÎó¤Ç¤¢¤ë¡£¤³¤ì¤é¤Ï¤½¤ì¤¾¤ì¥×¥í¥ ¥·¥Þ¥Í¡¼¥¸¥ã¡¢xfindproxy, ¥¯¥é¥¤¥¢¥ó¥È¥Ç¡¼¥¿¤ËÂбþ¤¹¤ë¡£
¸å¼Ô¤Îǧ¾Ú¥Á¥§¥Ã¥¯¤Î¾ì¹ç¤Ë¤Ï¡¢ÀßÄê¥Õ¥¡¥¤¥ë¤Ï¼¡¤Î·Á¼°¤Î¥µ¥¤¥È¤Î¥Ý¥ê¥·¡¼ µ¬Â§¤ò0¸Ä°Ê¾å´Þ¤à:
{require | disallow} sitepolicy <site_policy>
- require
- Âбþ¤¹¤ë¥µ¥¤¥È¥Ý¥ê¥·¡¼¤Î¾¯¤Ê¤¯¤È¤â1¤Ä¤¬ X ¥µ¡¼¥Ð¤Ë ÀßÄꤵ¤ì¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤º¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤ÏÀܳ¤òµñÈݤ·¤Ê¤±¤ì ¤Ð¤Ê¤é¤Ê¤¤¤³¤È¤ò»ØÄꤹ¤ë¡£
- disallow
- Âбþ¤¹¤ë¥µ¥¤¥È¥Ý¥ê¥·¡¼¤Î¤¤¤º¤ì¤â¤¬ X ¥µ¡¼¥Ð¤ËÀßÄꤵ¤ì¤Æ ¤¤¤Æ¤Ï¤Ê¤é¤º¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤ÏÀܳ¤òµñÈݤ·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¤³¤È ¤ò»ØÄꤹ¤ë¡£
- sitepolicy
- ¤³¤ì¤Ïɬ¿Ü¤Î¥¡¼¥ï¡¼¥É¤Ç¤¢¤ë¡£
- <site_policy>
- ¥Ý¥ê¥·¡¼Ê¸»úÎó¤ò»ØÄꤹ¤ë¡£¤³¤Îʸ»úÎó¤Ï±Ñ¿ô»ú¤òǤ°Õ¤ËÁȤ߹ç¤ï¤»¤¿¤â¤Î¤Ç ¤¢¤ê¡¢ÂоݤȤ¹¤ë X ¥µ¡¼¥Ð¤À¤±¤¬²ò¼á¤Ç¤¤ì¤Ð¤è¤¤¡£
XFWP ¤ÎÀßÄê¥Õ¥¡¥¤¥ë¤Î¥¨¥ó¥È¥ê¤Îɾ²Áµ¬Â§¶
ºÇ½é¤Î¥¿¥¤¥×¤ÎÀßÄê²Äǽ¤Êǧ¾Ú¥Á¥§¥Ã¥¯¤Î¾ì¹ç¤Ë¤Ï¡¢»ÏÅÀ¥¢¥É¥ì¥¹¤Ë´ð¤Å¤¤¤Æ (¥ª¥×¥·¥ç¥ó¤È¤·¤Æ½ªÅÀ¥¢¥É¥ì¥¹¤È¥¿¥¤¥×¤â»ÈÍѤǤ¤ë)¤½¤ì¤¾¤ì¤ÎÀܳ¥¿¥¤¥× ¤ËÂФ·¤ÆÀܳ¤Îµö²Ä¤ª¤è¤ÓµñÈݤò¹Ô¤¦¤³¤È¤¬¤Ç¤¤ë¡£ ¤½¤ì¤¾¤ì¤Î¥Õ¥¡¥¤¥ë¥¨¥ó¥È¥ê¤Ç¤Ï¡¢``permit'' ¤Þ¤¿¤Ï ``deny'' ¤Ç¤¢¤ë¥¡¼ ¥ï¡¼¥É¤È2¤Ä¤Î»ÏÅÀ¥¢¥É¥ì¥¹¥Õ¥£¡¼¥ë¥É¤ÏºÇÄã¸Â»ØÄꤷ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£ ɬÍפʤé¤Ð destination ¥Õ¥£¡¼¥ë¥É¤È service ¥Õ¥£¡¼¥ë¥É¤ò»È¤Ã¤Æ¡¢Èó¾ï¤Ë ºÙ¤«¤¤¥¢¥¯¥»¥¹À©¸æ¤ò¹Ô¤¦¤³¤È¤¬¤Ç¤¤ë¡£
µ¬Â§¥Þ¥Ã¥Á¥ó¥°¤Î¥¢¥ë¥´¥ê¥º¥à¤Ï°Ê²¼¤Ç¤¢¤ë:
while (¥Á¥§¥Ã¥¯¤¹¤ë¥¨¥ó¥È¥ê¤¬»Ä¤Ã¤Æ¤¤¤ë)
{
if ((<originator IP> AND (NOT <src mask>)) == src)
[if ((<dest X server IP> AND (NOT <dest mask>)) == dest)]
[if (service fields ¤¬Â¸ºß¤·¡¢¤«¤Ä¥Þ¥Ã¥Á¤·¤Æ¤¤¤ë)]
¥¡¼¥ï¡¼¥É¤Ë±þ¤¸¤Æ¡¢Àܳ¤Îµö²Ä¤Þ¤¿¤ÏµñÈݤò¹Ô¤¦
else
continue
}
if (¥Þ¥Ã¥Á¤¹¤ëµ¬Â§¤¬¤Ê¤¤)
Àܳ¤òµñÈݤ¹¤ë
µö²Ä¤ÈµñÈݤε¬Â§¤Ç¥µ¡¼¥Ó¥¹¤äÁàºî¤¬»ØÄꤵ¤ì¤Æ¤¤¤Ê¤¤¾ì¹ç¡¢¤½¤Îµ¬Â§¤Ï Á´¤Æ¤Î¥µ¡¼¥Ó¥¹¤ËŬÍѤµ¤ì¤ë¡£ÀßÄê¥Õ¥¡¥¤¥ë¤¬»ØÄꤵ¤ì¤Æ¤ª¤ê¡¢¤½¤ÎÃæ¤Ë ͸ú¤Êµö²Ä¤«µñÈݤε¬Â§¤¬¤Ò¤È¤Ä¤Ç¤â´Þ¤Þ¤ì¤ë¾ì¹ç¤Ï¡¢µö²Ä¤¬ÌÀ¼¨Åª¤ËÍ¿¤¨¤é ¤ì¤Æ¤¤¤Ê¤¤¥Û¥¹¥È¤ÏÀܳ¤òµñÈݤµ¤ì¤ë¤è¤¦¤Ë¤Ê¤ë¡£
¥µ¥¤¥È¤Î¥Ý¥ê¥·¡¼ÀßÄê¤Î¥Á¥§¥Ã¥¯¤Ï¡¢Æþ¤Ã¤Æ¤¯¤ëÀܳ¥ê¥¯¥¨¥¹¥È¤ËÂФ¹¤ëÊ̤Π(¤½¤·¤Æ X ¥µ¡¼¥Ð¤À¤±¤Î)ǧ¾Ú¤Ç¹½À®¤µ¤ì¤ë¡£require(Ëþ¤¿¤µ¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê ¤¤)¤Îµ¬Â§¤È disallow(Àܳ¶Ø»ß)¤Îµ¬Â§¤òǤ°Õ¤Î¿ô¤À¤±»ØÄꤹ¤ë¤³¤È¤¬¤Ç¤¤ë ¤¬¡¢Á´¤Æ¤Îµ¬Â§¤ÏƱ¤¸¥¿¥¤¥×¤Ç¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£¤Ä¤Þ¤ê¡¢1¤Ä¤Î¥Õ¥¡¥¤¥ë¤Ë ``require'' ¤È ``disallow'' ¤Î¥¡¼¥ï¡¼¥É¤ò¤É¤Á¤é¤âµ½Ò¤¹¤ë¤È¤Ï¤Ç¤¤Ê¤¤¡£ ¤³¤Î¥Á¥§¥Ã¥¯¤Î¤¿¤á¤Î¥¢¥ë¥´¥ê¥º¥à¤Ï°Ê²¼¤Ç¤¢¤ë:
if (X ¥µ¡¼¥Ð¤¬¥µ¥¤¥È¥Ý¥ê¥·¡¼Ê¸»úÎó¤Î¤¤¤º¤ì¤«¤òǧ¼±¤¹¤ë)
if (keyword == require)
Àܳ¤òµö²Ä¤¹¤ë
else
Àܳ¤òµñÈݤ¹¤ë
else
if (keyword == require)
Àܳ¤òµñÈݤ¹¤ë
else
Àܳ¤òµö²Ä¤¹¤ë
xfwp ¤¬¥µ¥¤¥È¤Î¥Ý¥ê¥·¡¼¤Î¥Á¥§¥Ã¥¯¤ò¹Ô¤¦¤Î¤Ï¡¢»ÏÅÀ¥¢¥É¥ì¥¹-½ªÅÀ¥¢¥É¥ì¥¹ ¤Î¥Á¥§¥Ã¥¯¤ÇÀܳ¤òǧ¤á¤é¤ì¤¿¾ì¹ç¤À¤±¤Ç¤¢¤ë¡£
닦
# ¥µ¡¼¥Ð¤¬¤³¤ì¤é¤Î¥Ý¥ê¥·¡¼¤Î1¤Ä¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¸Â¤ê¡¢Àܳ¤¬µö²Ä # ¤µ¤ì¤ë¤¬¡¢¤½¤ì¤Ç¤âŬÍѲÄǽ¤Êµ¬Â§¤Ë¥Þ¥Ã¥Á¤·¤Æ¤¤¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ # require sitepolicy policy1 require sitepolicy policy2 # # 8.7.6.5 ¤¬Á÷¤Ã¤Æ¤¤¿ pm Àܳ¤òµñÈݤ¹¤ë¡£[Ãí°Õ: pm ¥µ¡¼¥Ó¥¹¤òÌÀ¼¨Åª¤Ë # µö²Ä¤·¤Æ¤¤¤ë¾ì¹ç¡¢°Ê²¼¤Ë¼¨¤¹¤è¤¦¤Ë destination ¥Õ¥£¡¼¥ë¥É¤¬¤Ê¤±¤ì¤Ð # ¤Ê¤é¤Ê¤¤¡£] # deny 8.7.6.5 0.0.0.0 0.0.0.0 255.255.255.255 eq pm # # xfindproxy ¤Î X ¥µ¡¼¥Ð¤¬¤É¤³¤Ë¤Ç¤âÀܳ¤Ç¤¤ë¤è¤¦¤Ëµö²Ä¤¹¤ë [Ãí°Õ: fp # ¥µ¡¼¥Ó¥¹¤òÌÀ¼¨Åª¤Ëµö²Ä¤·¤Æ¤¤¤ë¾ì¹ç¡¢°Ê²¼¤Ë¼¨¤¹¤è¤¦¤Ë source ¥Õ¥£¡¼¥ë # ¥É¤¬¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤¡£] # permit 0.0.0.0 255.255.255.255 0.0.0.0 255.255.255.255 eq fp # # IP ¥É¥á¥¤¥ó 192.0.0.0 ¤«¤éÁ÷¤é¤ì¤¿Á´¤Æ¤ÎÀܳ¥¿¥¤¥×¤À¤±¤òµö²Ä¤¹¤ë # permit 192.0.0.0 0.255.255.255
ºÇ½é¤Ë¥Þ¥Ã¥Á¤·¤¿µ¬Â§¤¬Å¬ÍѤµ¤ì¤ë¤Î¤Ç¡¢»ÏÅÀ¥¢¥É¥ì¥¹-½ªÅÀ¥¢¥É¥ì¥¹¤Îµ¬Â§ ¤ÏÀµ¤·¤¤½ç¤Çµ½Ò¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤ÅÀ¤ËÃí°Õ¤¹¤ë¤³¤È¡£²òÀÏ´ï¤Îʸˡ¥Á¥§¥Ã ¥¯¤Ë²Ã¤¨¡¢¥·¥¹¥Æ¥à´ÉÍý¼Ô¤¬¼ÂºÝ¤Ë¥Þ¥Ã¥Á¤¹¤ëµ¬Â§¤òÄ´¤Ù¤ëºÝ¤ÎÊä½õ¤ò¹Ô¤¦¤¿ ¤á¤ÎÆÃÊ̤ʥ³¥Þ¥ó¥É¹Ô¥ª¥×¥·¥ç¥ó(-verify)¤¬ÍÑ°Õ¤µ¤ì¤Æ¤¤¤ë¡£
¥Ð¥°¶
xfwp ¤ÏÂÔ¤Á¥Ý¡¼¥È¤ò³ä¤êÅö¤Æ¤ëÁ°¤Ë¥µ¡¼¥Ð¤Î¥µ¥¤¥È¥Ý¥ê¥·¡¼¤È¥»¥¥å¥ê¥Æ¥£ µ¡Ç½³ÈÄ¥¤ò³Îǧ¤¹¤Ù¤¤Ç¤¢¤ë¡£
´ØÏ¢¹àÌܶ
xfindproxy (1), Proxy Management Protocol spec V1.0, proxymngr(1), Xserver(1)
Ãø¼Ô¶
Reed Augliere, consulting to X Consortium, Inc.
Release 6.5 | X Version 11 |