Tests seem to say yes ftp is able to get through:
steve@so1:~$ ftp
ftp.afrinic.net
Connected to
ftp.afrinic.net.
220 ::::: Welcome to AFRINIC FTP service ::::::
Name (ftp.afrinic.net:steve): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files
ftp> cd stats/afrinic
250 Directory successfully changed.
ftp> ls
200 EPRT command successful. Consider using EPSV.
150 Here comes the directory listing.
drwxr-xr-x 2 1004 1004 45056 Oct 01 2012 2005
... Removed lots o lines ..
lrwxrwxrwx 1 1004 1004 35 Jan 21 05:30 delegated-afrinic-extended-latest -> delegated-afrinic-extended-20160121
lrwxrwxrwx 1 1004 1004 39 Jan 21 05:30 delegated-afrinic-extended-latest.asc -> delegated-afrinic-extended-20160121.asc
lrwxrwxrwx 1 1004 1004 39 Jan 21 05:30 delegated-afrinic-extended-latest.md5 -> delegated-afrinic-extended-20160121.md5
lrwxrwxrwx 1 1004 1004 26 Jan 21 05:30 delegated-afrinic-latest -> delegated-afrinic-20160121
lrwxrwxrwx 1 1004 1004 30 Jan 21 05:30 delegated-afrinic-latest.asc -> delegated-afrinic-20160121.asc
lrwxrwxrwx 1 1004 1004 30 Jan 21 05:30 delegated-afrinic-latest.md5 -> delegated-afrinic-20160121.md5
226 Directory send OK.
ftp> get delegated-afrinic-extended-latest
local: delegated-afrinic-extended-latest remote: delegated-afrinic-extended-latest
200 EPRT command successful. Consider using EPSV.
150 Opening BINARY mode data connection for delegated-afrinic-extended-latest (387630 bytes).
226 Transfer complete.
387630 bytes received in 7.83 secs (48.3 kB/s)
ftp> passive
Passive mode on.
ftp> get delegated-afrinic-extended-latest
local: delegated-afrinic-extended-latest remote: delegated-afrinic-extended-latest
229 Entering Extended Passive Mode (|||30251|).
150 Opening BINARY mode data connection for delegated-afrinic-extended-latest (387630 bytes).
226 Transfer complete.
387630 bytes received in 8.17 secs (46.3 kB/s)
ftp> quit
221 Goodbye.
But this script fails with the error:
steve@so1:/var/www/so/squert/.scripts$ sudo ./ip2c.tcl
Fetching AFRINIC Checksum..
error error | E: couldn't open socket: connection refused:
error couldn't open socket: connection refused
error while executing
error "socket $ftp(LocalAddr) $ftp(DataPort)"
error error | E: Error setting PASSIVE mode!:
error couldn't open socket: connection refused
error while executing
error "socket $ftp(LocalAddr) $ftp(DataPort)"
^C
steve@so1:/var/www/so/squert/.scripts$
Running the php doesn't output much:
steve@so1:/var/www/so/squert$ sudo /usr/bin/php -e /var/www/so/squert/.inc/ip2c.php 1
Performing base queries (this can take a while)..
steve@so1:
Thanks for any advice.
Steve
On 1/21/16, 12:00 PM, "
securit...@googlegroups.com on behalf of Doug Burks" <
securit...@googlegroups.com on behalf of
doug....@gmail.com> wrote:
>EXTERNAL
NOTICE TO RECIPIENT: The information contained in this message from
Great River Energy and any attachments are confidential and intended
only for the named recipient(s). If you have received this message in
error, you are prohibited from copying, distributing or using the
information. Please contact the sender immediately by return email and
delete the original message.