> shin> The 1st trial seems to be rejected at,
> shin>     500 Illegal PORT range rejected.
> shin> and 2nd trial seems to be accepted at,
> shin>     200 pcmd command successful.
> 
>   This problem was reported at [FreeBSD-users-jp 46521].  It is
> Japanese FreeBSD mailing list.
>   In my experience, EPRT didn't fail in such case.  I didn't
> understand what you say.  At last, I understand it.  It's my
> misunderstanding of my test environment.
>   I used NetBSD-current for FTP server.  FreeBSD version of ftpd
> checks the validity of PORT request for security reson by default.
> EPRT request via NAT box is rejected by this check.  But, NetBSD's
> ftpd need `checkportcmd' options to behave as FreeBSD does, and I
> didn't specified it.  I think `ftpd -R' causes same situation.

OK, I realized it and actually confirmed that EPRT cause
problem via NAT when ftpd is execed with -R option.

> shin> The connection hanged at
> shin>     229 Entering Extended Passive Mode (|||1044|)
> shin> for a while, so I aborted it.
> 
>   This is something strange.  I still cannot understand why it
> occures.  It seems libalias does no additional thing for PASV.  So, I
> think, if EPSV isn't NAT friendly, PASV would also fail.

Sorry this is my firewall setting mistake and PASV also
failed.
After I fixed the configuration, both EPSV and PASV was OK.


I'll just change ftp command to use PORT command for IPv4.

Thanks,
Yoshinobu Inoue


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

Reply via email to