Hello,

EPSV and EPRT is new ftp command defind in RFC2428 and it is
used for IPv6 and NAT/firewall friendly IPv4 connection.
Current implementation is,

 (1)EPRT is only used if destination is IPv6 host.
 (2)EPSV is always tried first, and if server doesn't support it,
    then try PASV.

EPRT don't includes IP address in its command, so it gives
performance benefit for NAT/firewall environment.
Above (2) might surprised you, but if EPSV is not tried first,
then it won't be used, there will be no performance benefit
happens.

> I was experiencing the same thing with EPRT commands... I cvsupped,
> remade/installed ftp, and haven't seen that behavior since. Someone
> mentioned it was IPv6 related but I have no idea if that is the case.

EPRT was tried for any destination before, but now is changed
to be tried only for IPv6 host, so EPRT error won't happen now.

> -Will
> 
> On Wed, 16 Feb 2000, Andrey A. Chernov wrote:
> 
> > Current ftp client tries to put this unknown command on each remote
> > request:
> > 500 'EPSV': command not understood.
> > It is just too bothering.
> > Could it silently try once at the beginning and remember status during the
> > session?

Remembering the status might be reasonable. I'll try the fix.

But maybe it is better to print out the first error, as the fact?

Thanks,
Yoshinobu Inoue

> > -- 
> > Andrey A. Chernov
> > <[EMAIL PROTECTED]>
> > http://nagual.pp.ru/~ache/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to