Subject: install/24004: epsv4 default option prevents ftp from downloading files during the installation
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <mzawadzk@cs.stevens-tech.edu>
List: netbsd-bugs
Date: 01/06/2004 15:57:19
>Number:         24004
>Category:       install
>Synopsis:       epsv4 default option prevents ftp from downloading files during the installation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 06 15:58:03 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Marek Zawadzki
>Release:        1.6.1
>Organization:
>Environment:
not relevant(?)
It was a default environment set for floppy/ftp based installation
>Description:
I installed NetBSD from 2 flopies and via FTP and I had to exit the installer and create '.netrc' file with 'epsv4 off' init macro - otherwise it wouldn't download any file from any mirror.  It might be the (local) firewall thing, I guess (but other ftp transfers work ok).
I think this is the EPSV and EPRT command which some firewalls don't deal with properly and which is used by default by sysinst. It has an impact on creating data connection.
The epsv4 issue is described in NetBSD's ftp(1). Even the macro example in this manual is about epsv4. Plus 'EXTENDED PASSIVE MODE AND FIREWALLS' section describes the situation I encountered as well.
>How-To-Repeat:
By doing a basic install via FTP.
>Fix:
The sysinst should somehow check if ftp is able to download any file with epsv4 turned on. If not, epsv4 should be turned off.
>Release-Note:
>Audit-Trail:
>Unformatted: