Re: pkg_add and EPSV
- From: "Joachim Schipper" <jdNoOtSPAMschipper@xxxxxxxxxx>
- Date: 28 Aug 2007 20:09:19 GMT
Helmut Schneider <jumper99@xxxxxx> wrote:
Joachim Schipper <jdNoOtSPAMschipper@xxxxxxxxxx> wrote:
Helmut Schneider <jumper99@xxxxxx> wrote:
Hi,From ftp(1):
my firewall does not know EPSV but tries to parse it. As a result it
blocks passive ftp connections using EPSV (PASV works fine).
What can I do?
I tried to 'export FETCH_CMD=$(which wget)' but it seems ignored (ps
auxww still shows 'ftp -o - ...'). Can I use .netrc to disable EPSV?
Anything else?
-E Disables EPSV/EPRT command on IPv4 connections.
If I set FETCH_CMD to "ftp -E" and run pkg_add (-r):
Can't exec "/usr/bin/ftp -E": No such file or directory at
/usr/libdata/perl5/OpenBSD/PackageRepository.pm line 515.
can't run ftp at /usr/libdata/perl5/OpenBSD/PackageRepository.pm line 515.
So use /usr/local/bin/ftp-no-epsv:
#!/bin/sh
exec ftp -E "$@"
Joachim
.
- Follow-Ups:
- Re: pkg_add and EPSV
- From: Helmut Schneider
- Re: pkg_add and EPSV
- References:
- pkg_add and EPSV
- From: Helmut Schneider
- Re: pkg_add and EPSV
- From: Joachim Schipper
- Re: pkg_add and EPSV
- From: Helmut Schneider
- pkg_add and EPSV
- Prev by Date: Re: can an alias address be routed through?
- Next by Date: Re: OpenBSD 4.1 amd64 - X11 problems
- Previous by thread: Re: pkg_add and EPSV
- Next by thread: Re: pkg_add and EPSV
- Index(es):
Relevant Pages
|