Article View: fj.net.ftp
Article #1669Re: 教えて下さい(パッシブモード)
From: Ayamura Kikuchi
Date: Sun, 27 Dec 1998 00:00
Date: Sun, 27 Dec 1998 00:00
54 lines
3252 bytes
3252 bytes
In article 75vats$a2r$1@horse.fsinet.or.jp>, "SHIMIZU, Kenji" <shi@a2.mbn.or.jp> wrote: | サーバによってはパッシブモードができない(機能しないよう | に設定されているもしくはもともと機能が無い)場合もありま | す。 例えば wu-ftpd-2.4.2-beta-18-vr ではコンパイル時に PORT or PASV だけにし か対応させない、または両方に対応させるか否かを決めることができます。 PASV に対応させた際には ftpaccess(5) で passive address <externalip> <cidr> Allows control of the address reported in response to a PASV command. When any control connection matching the <cidr> requests a passive data connection (PASV), the <externalip> address is reported. NOTE: this does not change the address the daemone actually listens on, only the address reported to the client. This feature allows the daemon to operate correctly behind IP-renumbering firewalls. For example: passive address 10.0.1.15 10.0.0.0/8 passive address 192.168.1.5 0.0.0.0/0 Clients connecting from the class-A network 10 will be told the passive connection is listening on IP-address 10.0.1.15 while all others will be told the connection is listening on 192.168.1.5 Multiple passive addresses may be specified to handle complex, or multi-gatewayed, networks. passive ports <cidr> <min> <max> Allows control of the TCP port numbers which may be used for a passive data connection. If the control connection matches the <cidr> a port in the range <min> to <max> will be randomly selected for the daemon to listen on. This feature allows firewalls to limit the ports which remote clients may use to connect into the protected network. <cidr> is shorthand for an IP address in dotted-quad notation followed by a slash and the number of left-most bits which represent the network address (as opposed to the machine address). For example, if you're using the reserved class-A network 10, instead of a netmask of 255.0.0.0 use a CIDR of /8 as in 10.0.0.0/8 to represent your network. などといった設定をすることもできます。 ftp://ftp.vr.net/pub/wu-ftpd/ ftp://ftp.win.ne.jp/pub/network/ftp/wu-ftpd/wu-ftpd-vr/ -- あやむら
Technical Details
Message-ID:
<86hfuisssb.fsf@star.ayamura.org>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<75rvsg$fjd$1@eris.mbd.mbc.ntt.co.jp> <75vats$a2r$1@horse.fsinet.or.jp>Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS X-Google-Thread: 1097d7,7184b3dd447d16dd X-Google-Attributes: gid1097d7,public From: Ayamura Kikuchi <ayamura@ayamura.org> Subject: Re: 教えて下さい(パッシブモード) Date: 1998/12/27 Message-ID: <86hfuisssb.fsf@star.ayamura.org> X-Deja-AN: 425958675 X-PGP-Fingerprint: 9F 4F FD B6 47 0D 87 65 7B 67 7C A9 70 F3 8C 52 References: <75rvsg$fjd$1@eris.mbd.mbc.ntt.co.jp> <75vats$a2r$1@horse.fsinet.or.jp> Content-Type: text/plain; charset=ISO-2022-JP X-Complaints-To: abuse@news.ayamura.org X-Trace: news.ayamura.org 914694212 29931 202.26.20.3 (26 Dec 1998 17:43:32 GMT) Organization: Ayamura Kikuchi's HOME User-Agent: Chao-gnus/6.12.5 SEMI/1.12.0 (Nishi-Kanazawa) FLIM/1.12.1 (Nishinokyō) MULE XEmacs/21.2 (Ares) (mips-sgi-irix6.2) Mime-Version: 1.0 (generated by SEMI 1.12.0 - "Nishi-Kanazawa") NNTP-Posting-Date: 26 Dec 1998 17:43:32 GMT Newsgroups: fj.net.ftp