|
̾??faithd —
FAITH IPv6/v4 ?Ѵ??ǡ?????
????faithd [-dp ]
[-f configfile]
service [serverpath
[serverargs]]
????faithd ?桼?ƥ????ƥ??? IPv6 ???? IPv4
?ؤ? TCP ???졼??ǽ?????ޤ???
faithd ?? IPv4/v6
?ǥ奢?륹???å??롼?????ǵ?ư???ʤ????Фʤ??ޤ?????
TCPv6 ?ȥ??ե??å??????Ĥ????ȡ?
?롼???ϡ?ͽ?줿 IPv6 ???ɥ쥹?ץ??ե??å????Ԥ??Τ??٤Ƥ? TCP ?ȥ??ե??å??????ޤ????褦?? ???ꤷ?ʤ????Фʤ??ޤ????Τ????ˤ? route(8) ?? sysctl(8) ?Υ??ޥ??ɤ????Ѥ??ޤ???
?ǡ??????⡼??faithd
?????????ɥ??????ץ????????Ȥ??Ƶ?ư???????ȡ?
faithd
?ϼ?ʬ???Ȥ??ǡ??????ޤ???
faithd ?桼?ƥ????ƥ??? TCPv6
?Υݡ??? service ?? listen ???ޤ???
?ݡ??? service ?ؤ? TCPv6
?ȥ??ե??å??????դ????ȡ????ͥ????????????졼???ޤ???
???Υ??ץ??????Ѳ?ǽ?Ǥ?:
?????ƥ??֤Ǥʤ????å??????? 30 ʬ?????Ǥ??ޤ??? ?????ϡ??Ȥ??ʤ??ʤä????å??????Τ????ǥ?????????????Τ? ?ɤ??????Ǥ??? ?????ӥ??ˤ??äƤϤ??ε?ǽ??Ŭ?ڤǤʤ????⤷???ޤ????? (???ε?ǽ???ե??????졼????????ǽ?ˤ??٤??Ǥ??礦???) inetd ?⡼??faithd ??
inetd(8)
???鵯ư???????ȡ? faithd
?桼?ƥ????ƥ???ɸ?????Ϥ????Ϥ????륳?ͥ??????????ޤ???
???ͥ????????ν???????ͽ?? IPv6
???ɥ쥹?ץ??ե??å??????ϰ????ξ??硢
faithd
?ϥ??ͥ????????????졼???ޤ???
?????ʳ??ξ??硢 faithd
?ϥ????ӥ????б?????
telnetd(8)
?Τ褦?ʥǡ?????????ư????
inetd(8)
?????Ϥ????륳?ޥ??ɰ????????Ѥ??ޤ???
????ư???⡼?ɤǤϡ?
inetd(8)
???? ???????????????դ??륢?????????ɤ????ᡢfaithd
??ñ???ʥ??ɥ쥹?١????Υ????????????????????Ƥ??ޤ???
/etc/faithd.conf (?ޤ???
-f ?ǻ??ꤷ??
configfile) ?ǡ? faithd
??˾?ޤʤ??ȥ??ե??å??????Ѥ??ɤ??ޤ???
faithd.conf
?ϡ????νΥǥ??쥯?ƥ??֤??ޤߤޤ?:
???????Υǥ??쥯?ƥ??֤Ͻ??֤?ɾ?????졢 ?ǽ??˹??פ??륨???ȥ꤬???̤??????ޤ??? ???פ??ʤ??? (???줬?롼?륻?åȤκǸ??Ǥ???????) ?ȥ??ե??å??ϵ??ݤ????ޤ??? inetd ?⡼?ɤǤϡ? inetd(8) ?Υ??????????浡ǽ?ǥȥ??ե??å????ե??륿??ǽ?Ǥ??? ??????????????faithd ?桼?ƥ????ƥ???
EXIT_SUCCESS (0)
?ǽ?λ???????顼????????????
EXIT_FAILURE (1) ?ǽ?λ???ޤ???
??????faithd ????ư???????ˡ?
faith(4)
???ե???????Ŭ?ڤ????ꤷ?Ƥ???ɬ?פ??????ޤ???
# sysctl net.inet6.ip6.accept_rtadv=0 # sysctl net.inet6.ip6.forwarding=1 # sysctl net.inet6.ip6.keepfaith=1 # ifconfig faith0 up # route add -inet6 3ffe:501:4819:ffff:: -prefixlen 96 ::1 # route change -inet6 3ffe:501:4819:ffff:: -prefixlen 96 -ifp faith0 ?ǡ??????⡼?ɤΥ????ץ?telnet
?????ӥ????Ѵ??????????ƥ????????? telnet
?????ӥ??????ʤ??????ϡ? ???Τ褦??
faithd ????ư???ޤ?:
# faithd telnet ?⤷ /usr/libexec/telnetd ?ˤ??? telnetd(8) ?ˤ??????????? telnet ?????ӥ??????????????ϡ? ???Υ??ޥ??ɥ饤???????Ѥ??ޤ?: # faithd telnet /usr/libexec/telnetd telnetd ?????????ǡ????????ɲäΰ??????Ϥ???????????: # faithd ftp /usr/libexec/ftpd ftpd -l ¾?λ??????Ǥ???
?????ӥ????????ݡ????ϰϤ??????å??????????ˤ?
# faithd ssh # faithd telnet /usr/libexec/telnetd telnetd inetd ?⡼?ɤΥ????ץ?inetd.conf(5) ?˼??ιԤ??ɲä??ޤ??? ??ʸ?ϥ??ڥ졼?ƥ??????ƥ??ˤ??ä??͡??Ǥ??礦??telnet stream tcp6/faith nowait root faithd telnetd ftp stream tcp6/faith nowait root faithd ftpd -l ssh stream tcp6/faith nowait root faithd /usr/sbin/sshd -i inetd(8)
?ϡ?listen ???륽???åȤ??ץ?
?????ͥ??? TCP
???졼???ݡ??Ȥ?ͭ???????ޤ???
???ͥ????????????夹???ȡ? ?????????????????ʲ???ñ???? faithd.conf ???????ޤ???# 3ffe:501:ffff::/48 ?????Τ??٤Ƥ??Ѵ????λ??Ѥ??????? # ???? IPv4 ?ν???????³?????ޤ?: # - 10.0.0.0/8 ?? 127.0.0.0/8 ?ʳ??Τ??٤? # ¾????³?ϵ????ޤ????? # 3ffe:501:ffff::/48 deny 10.0.0.0/8 3ffe:501:ffff::/48 deny 127.0.0.0/8 3ffe:501:ffff::/48 permit 0.0.0.0/0 ??Ϣ????faith(4), route(8), sysctl(8) Jun-ichiro itojun Hagino and Kazu Yamamoto, An IPv6-to-IPv4 transport relay translator, RFC3142, June 2001, ftp://ftp.isi.edu/in-notes/rfc3142.txt.????faithd ?桼?ƥ????ƥ??? WIDE Hydrangea
IPv6 ?ץ??ȥ??륹???å????åȤ?
???????о줷?ޤ?????
KAME ?ץ????????? (http://www.kame.net/) ?????å??? ???Ť? IPv6, IPsec ???ݡ??Ȥϡ? FreeBSD 4.0 ?ǽ????????礵???ޤ????? ?????????ƥ??ιͻ?faithd ??????¾?? TCP ???졼?????ӥ?
?ǥ??졼???줿???ͥ??????????Ф??? IP
???ɥ쥹?١?????ǧ?ڤ??Ѥ????Τ????Ѵ????Ǥ???
faithd.conf ?⤷???? IPv6
?ѥ??åȥե??륿?????Ѥ???
Visit the GSP FreeBSD Man Page Interface. |