|
Author: cbrace
Date: 16-01-08 23:44
Hi Dan and all,
ftp seems to be broken on my v7beta4 system. I have posted queries about it in various places to no avail. I am not expecting a miracle answer here, just hoping someone can help me figure out how to fix it.
Also, I am not sure whether this is related to the problem I am having trying to download distribution sets with systinstall, hence this separate message.
Here is what happens when I try to install a package remotely with pkg_add:
$ sudo pkg_add -vr rtorrent
scheme: [ftp]
user: []
password: []
host: [ftp.freebsd.org]
port: [0]
document: [/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz]
---> ftp.freebsd.org:21
looking up ftp.freebsd.org
connecting to ftp.freebsd.org:21
<<< 220 ftp.FreeBSD.org NcFTPd Server (licensed copy) ready.
>>> USER anonymous
<<< 331 Guest login ok, send your complete e-mail address as password.
>>> PASS colin@venus.lim.nl
<<< 230-You are user #181 of 1000 simultaneous users allowed.
<<< 230-
<<< 230 Logged in anonymously.
>>> PWD
<<< 257 "/" is cwd.
>>> CWD pub/FreeBSD/ports/i386/packages-7-current/Latest
<<< 250 "/pub/FreeBSD/ports/i386/packages-7-current/Latest" is new cwd.
>>> MODE S
<<< 200 Mode okay.
>>> TYPE I
<<< 200 Type okay.
binding data socket
>>> PORT 172,19,3,3,209,68
<<< 200 PORT command successful.
initiating transfer
>>> RETR rtorrent.tbz
<<< 550 Cannot connect to 78.27.XX.XXX:53572 - Unknown error: 0.
Error: FTP Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz'
by URL
pkg_add: 1 package addition(s) failed
The package really is there; I can copy and paste the URL from the screen to grab it with wget, curl or fetch:
wget ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-current/Latest/rtorrent.tbz
FWIW, I am running PF, but I am not fitering any outgoing traffic:
pass out all flags S/SA keep state
Someone suggested to me that this need env var needs to be set:
FTP_PASSIVE_MODE
but it doesn't seem to affect things.
Also, what does this mean?
550 Cannot connect to 78.27.XX.XXX:53572
That is indeed my IP number, which I have partially masked.
I would really appreciatate any suggestions or ideas...
--
Colin Brace
Amsterdam
|
|
Reply To This Message
|
|
Author: olyander
Date: 08-09-08 20:10
what mode is your PF running in regarding the kernel - Generic?
is PF defined in an OPEN or CLOSED state in the Kernel? set for defaults? or whatever syntax PF uses in kernel? Something to look into.
Just a hunch, it might simply be an "add" statement for a specific port, say 21 ftp. or simply a statement that needs to be added in the pf configs.
This is why i think this is so:
Example: i use ipfw, and when i try to make install clean in say /usr/ports/whatever,
i lately have had to shut off ipfw, download it, then enable my firewall again.
so obviously i haven't figured out the add statement yet, and I just do the manual stop and start afterwards.
Good Luck, OlyAnder
|
|
Reply To This Message
|
|