GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
FAITHD(8) FreeBSD System Manager's Manual FAITHD(8)

faithd
FAITH IPv6/v4 ?Ѵ??ǡ?????

faithd [-dp] [-f configfile] service [serverpath [serverargs]]

faithd ?桼?ƥ????ƥ??? IPv6 ???? IPv4 ?ؤ? TCP ???졼??ǽ???󶡤??ޤ??? faithd ?? IPv4/v6 ?ǥ奢?륹???å??롼?????ǵ?ư???ʤ????Фʤ??ޤ?????

TCPv6 ?ȥ??ե??å??????Ĥ????ȡ? faithd ?Ϥ??? TCPv6 ?ȥ??ե??å??? TCPv4 ?˥??졼???ޤ??? ???졼???? TCPv4 ???ͥ????????ν????ϡ????? IPv6 ?????????? 4 ?????ƥåȤ??????ꤵ???ޤ??? ?㤨?С? faithd ?Ѥ? 3ffe:0501:4819:ffff:: ??ͽ?󤵤??Ƥ??ơ? TCPv6 ???????ɥ쥹?? 3ffe:0501:4819:ffff::0a01:0101 ?ʤ顢???Υȥ??ե??å??? IPv4 ?ν??? 10.1.1.1 ?˸????ƥ??졼?????ޤ???

faithd ?ˤ????Ѵ??????ӥ????Ѥ????ˤϡ? IPv4 ???ɥ쥹???ޥåפ??뤿???? IPv6 ???ɥ쥹?ץ??ե??å????? ͽ?󤷤Ƥ???ɬ?פ??????ޤ??? ?????ͥ??ϡ???????ͽ?󤷤? IPv6 ???ɥ쥹?ץ??ե??å????ؤ? ???٤Ƥ? TCP ???ͥ??????????? route(8) ???Ѥ??Ƶ??????󥿥ե????? faith(4) ?˥롼?ƥ??󥰤????褦?ˡ?Ŭ?ڤ˹??ۤ????Ƥ??ʤ????Фʤ??ޤ????? ?ޤ??? sysctl(8) ???Ѥ??? net.inet6.ip6.keepfaith ?? 1 ?????ꤷ?Ƥ????٤??Ǥ???

?롼???ϡ?ͽ?󤵤줿 IPv6 ???ɥ쥹?ץ??ե??å????Ԥ??Τ??٤Ƥ? TCP ?ȥ??ե??å??????ޤ????褦?? ???ꤷ?ʤ????Фʤ??ޤ??󡣤??Τ????ˤ? route(8) ?? sysctl(8) ?Υ??ޥ??ɤ????Ѥ??ޤ???

faithd ?桼?ƥ????ƥ??ϡ?̾?????饢?ɥ쥹?ؤ????̤??Ѵ???????ɬ?פȤ??? ?ۥ???̾???????̤? IPv6 ???ɥ쥹?ץ??ե??å????ز??褷?ޤ??? ?????Ϥʥ??󥹥ȡ????Ǥϡ? hosts(5) ?????Ѥ??Ƥ????????? ?絬?Ϥʥ??󥹥ȡ????Ǥϡ? ???̤ʥ??ɥ쥹?Ѵ??򥵥ݡ??Ȥ??? DNS ?????Ф?ͭ?ѤǤ??礦?? totd ?ȸƤФ????????? http://www.vermicelli.pasta.cs.uit.no/ipv6/software.html ????????ǽ?Ǥ??? ?Ѵ????줿 DNS ?쥳???ɤ????̤? DNS ???????Ť????ʤ??褦?????դ??Ƥ????????? ??????ͭ???Ǥ???

faithd ?????????ɥ??????ץ????????Ȥ??Ƶ?ư???????ȡ? faithd ?ϼ?ʬ???Ȥ??ǡ????󲽤??ޤ??? faithd ?桼?ƥ????ƥ??? TCPv6 ?Υݡ??? service ?? listen ???ޤ??? ?ݡ??? service ?ؤ? TCPv6 ?ȥ??ե??å??????դ????ȡ????ͥ????????????졼???ޤ???

faithd ?? TCP ?ݡ??? service ?? listen ?????Τǡ? inetd(8) ??¾??ɸ??Ū?ʻ??Ȥߤ??Ѥ??ơ????Υ롼?????? service ?ݡ??Ȥ??Ȥ??????????? TCP ?ǡ???????ư????뤳?ȤϤǤ??ޤ????? faithd ???Ф??? serverpath ?????ꤹ?뤳?Ȥǡ? ?롼?????ǥ????????ǡ??????????餻?뤳?Ȥ??Ǥ??ޤ??? ???????ɥ쥹???????????Υ??󥿡??ͥåȥ??ɥ쥹?Ǥ????С? faithd ?桼?ƥ????ƥ??? serverpath ?ˤ????ƥ????????ǡ?????????ư???ޤ??? ?????ʳ??ξ??硢 faithd ?? IPv4 TCP ?ؤ??Ѵ????Ԥ??ޤ??? ?????????ǡ??????ΰ????? serverargs ???Ѥ??ƻ??ꤹ?뤳?Ȥ??Ǥ??ޤ???

???Υ??ץ????󤬻??Ѳ?ǽ?Ǥ?:

syslog(3) ???Ѥ??ƥǥХå??????????Ϥ??ޤ???
configfile
?????????????Ѥ??????ե??????????ꤷ?ޤ??? ???Ҥ򻲾Ȥ??Ƥ?????????
IPv4 TCP ???ͥ??????????ǽ??ν????????˥??졼?????ݡ? faithd ?ϥ??????ݡ??ȤȤ????ø? TCP ?ݡ??Ȥ????Ѥ??ޤ??? ftp(1) ?????졼?????ݤ? ?ܥ??ץ??????????פǤ??? ???Τ????????̤ʥץ??????ॳ???ɤ??ޤޤ??Ƥ??ޤ???

faithd ?桼?ƥ????ƥ????̾??? TCP ?ǡ??????Ӱ賰 TCP ?ǡ????????졼???ޤ??? TCP half close ?򥨥ߥ??졼?Ȥ??뤳?Ȥ???ǽ?Ǥ??? faithd ?桼?ƥ????ƥ??? ftp(1) ???Ѥ????????ץ??ȥ??????Ф??ơ????̤ʥ??ݡ??Ȥ??Ԥ??ޤ??? FTP ?ץ??ȥ?????ž???????ݤϡ? faithd ?ϡ? PORT/LPRT/EPRT ???ޥ??ɤ????? PASV/LPSV/EPSV ???ޥ??ɤˤ??????ͥåȥ?????٥륢?ɥ쥹???Ѵ????ޤ???

?????ƥ??֤Ǥʤ????å??????? 30 ʬ?????Ǥ??ޤ??? ?????ϡ??Ȥ??ʤ??ʤä????å??????Τ????ǥ꥽?????????񤵤????Τ? ?ɤ??????Ǥ??? ?????ӥ??ˤ??äƤϤ??ε?ǽ??Ŭ?ڤǤʤ????⤷???ޤ????? (???ε?ǽ?򥳥??ե??????졼????????ǽ?ˤ??٤??Ǥ??礦???)

faithd ?? inetd(8) ???鵯ư???????ȡ? faithd ?桼?ƥ????ƥ???ɸ?????Ϥ????Ϥ????륳?ͥ????????򰷤??ޤ??? ???ͥ????????ν???????ͽ?󤷤? IPv6 ???ɥ쥹?ץ??ե??å??????ϰ????ξ??硢 faithd ?ϥ??ͥ????????????졼???ޤ??? ?????ʳ??ξ??硢 faithd ?ϥ????ӥ????б????? telnetd(8) ?Τ褦?ʥǡ?????????ư???? inetd(8) ?????Ϥ????륳?ޥ??ɰ????????Ѥ??ޤ???

faithd ?ϡ??????????? TCP ?ݡ????ֹ??򸵤?ư???⡼?ɤ????ꤷ?? ɬ?פʻ?/??ǽ?ʻ??ˤ????̤ʥץ??ȥ?????????ͭ???ˤ??ޤ??? ?㤨?С? faithd ?? FTP ?ݡ??Ⱦ??? inetd(8) ???鵯ư???????ȡ??????? FTP ???졼?Ȥ???ư??ޤ???

????ư???⡼?ɤǤϡ? inetd(8) ???? faithd ?Ѥ????̤ʥ??ݡ??Ȥ?ɬ?פȤ??ޤ???

???դ??륢?????????ɤ????ᡢ faithd ??ñ???ʥ??ɥ쥹?١????Υ????????????????????Ƥ??ޤ??? /etc/faithd.conf (?ޤ??? -f ?ǻ??ꤷ?? configfile) ?ǡ? faithd ??˾?ޤʤ??ȥ??ե??å??????Ѥ??ɤ??ޤ??? faithd.conf ?ϡ????ν񼰤Υǥ??쥯?ƥ??֤??ޤߤޤ?:
  • src/slen deny dst/dlen

    ?䤤???碌?λ??????ɥ쥹?? src/slen ?˹??פ????????ǡ??Ѵ????ν??????ɥ쥹?? dst/dlen ?˹??פ??????硢??³?????ݤ??ޤ???

  • src/slen permit dst/dlen

    ?䤤???碌?λ??????ɥ쥹?? src/slen ?˹??פ????????ǡ??Ѵ????ν??????ɥ쥹?? dst/dlen ?˹??פ??????硢??³?????Ĥ??ޤ???

???????Υǥ??쥯?ƥ??֤Ͻ??֤?ɾ?????졢 ?ǽ??˹??פ??륨???ȥ꤬???̤??????ޤ??? ???פ??ʤ??? (???줬?롼?륻?åȤκǸ??Ǥ???????) ?ȥ??ե??å??ϵ??ݤ????ޤ???

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

¾?λ??????Ǥ??? ?????ӥ????????ݡ????ϰϤ??????å??????????ˤ? -p ??ɬ?פ??⤷???ޤ?????

# faithd ssh
# faithd telnet /usr/libexec/telnetd telnetd

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 ?? inetd(8) ???鵯ư?????ޤ??? ???ͥ????????ν???????ͽ?󤷤? IPv6 ???ɥ쥹?ץ??ե??å??????ϰ????ξ??硢 faithd ?ϥ??ͥ????????????졼???ޤ??? ?????ʳ??ξ??硢 faithd ?桼?ƥ????ƥ??ϥ????ӥ????б????? telnetd(8) ?Τ褦?ʥǡ?????????ư???ޤ???

?ʲ???ñ???? 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 ?ѥ??åȥե??륿?????Ѥ??? faithd ?ؤΥ??????????¤??Ԥ????Ȥ򡢴????Ԥؤ????ᤷ?ޤ??? ?????? faithd ?򰭰դ?????ã?????ɸ椹?뤳?ȤǤ??ꡢ ?????ӥ?/?Х??????????ޤ??ʤ??褦?ˤ??뤳?Ȥ???̣???ޤ??? IPv6 ?ν??????ɥ쥹?ˤĤ??Ƥϡ? route(8) ???Ѥ??ơ? faith(4) ???ؤ???ϩ?????ȥ??????տ??????ꤹ?뤳?Ȥǡ????²?ǽ?Ǥ??? IPv6 ?λ??????ɥ쥹?ˤĤ??Ƥϡ? ?ѥ??åȥե??륿?ǥե??륿????ɬ?פ??????ޤ??? ??Ϣ???? ?????󤷤?ʸ???ˡ??ܷ??˴ؤ??빹?ʤ??????????Ҥ????Ƥ??ޤ???

May 17, 1998 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.