Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

port configuration for ftp as/400 - as/400

531 views
Skip to first unread message

Martin Hinze

unread,
Jul 29, 2010, 10:30:24 AM7/29/10
to
I need help in configure my router to allow ftp between 2 as/400.

Telnet one of the systems from another runs, but ftp crashes if i try to exchange data.

Regards

Martin

jonathan bailey

unread,
Jul 29, 2010, 11:55:17 AM7/29/10
to
"Martin Hinze" <mar...@hinze.com> wrote in message
news:i2s3a6$kgg$02$1...@news.t-online.com...

Telnet only uses one port but FTP uses 2. Passive FTP which is supposed to
be the default on the 400 allows easy use of 2 ports over stupid client
firewalls. The 400 FTP command, sendpasv 1, sets to passive. This means the
client sends a passive command to the target which says get the data on port
x, wheras the sendpasv 0 tells the client to sent a newly opened port number
to the server which the data is sent on. Whichever way its done, there is
now an extra port which must be allowed through the firewall. A standard
router shouldnt worry either way, but a firewall has to be smart enough to
see the ftp commands requiring a new port associated with the 1st one. To
see the difference, ftp to yourself & enter debug before say dir & you will
get the idea. setpasv by itself toggles the state.
Cant be more help, I'm no expert on ftp, firewalls, routers or networking in
general. Maybe if you add the router type someone may be able to help with
its setup.

--
Jonathan


Martin Hinze

unread,
Aug 7, 2010, 7:50:52 AM8/7/10
to
Helping others, maybe?

'SENDPASV 1' did it!

Peter H. Coffin

unread,
Aug 8, 2010, 1:55:03 PM8/8/10
to
On Sat, 07 Aug 2010 13:50:52 +0200, Martin Hinze wrote:
> Helping others, maybe?
>
> 'SENDPASV 1' did it!

That shouldn't fix a crash.

It would fix a timeout.

--
I love ASR, you have total freedom of speech as long as it's
punctuated correctly. -- Chris Hacking in a.s.r

0 new messages