Gene6 FTP Server Forum: 500 The server returned invalid response for PASV - Gene6 FTP Server Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

500 The server returned invalid response for PASV Rate Topic: -----

#1 User is offline   Viziirka.NET 

  • New Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 18-March 05

Posted 18 March 2005 - 04:08 PM

Hy can anyone can tell me, what is this: 500 The server returned invalid response for PASV command.



The server is on an ISA 2004 server and passive port are 5000-51000.
The port are open ,i chequed with nmap.
The server is published, but i don't konw why it isn't working.
I alway get this message, and no idea why, or what's wrong.

Here is the client's log:

SmartFTP v1.1.984.17
Resolving host name ftp.hgartworks.hu...
Connecting to (ftp.hgartworks.hu) -> IP: 80.98.120.88 PORT: 21
Connected to (ftp.hgartworks.hu) -> Time = 0ms
Socket connected waiting for login sequence.
220 Gene6 FTP Server v3.4.0 (Build 16) ready...
USER web
331 Password required for web.
PASS (hidden)
230 User web logged in.
SYST
215 UNIX Type: L8
FEAT
211-Extensions supported:
AUTH TLS
PBSZ
PROT
CLNT
MDTM
MLST type*;size*;created;modify*;
MODE Z
PASV
REST STREAM
SIZE
SSCN
TVFS
UTF8
XCRC "filename" SP EP
XMD5 "filename" SP EP
211 End.
Detected Server Software: Gene6 FTP Server 3.x
CLNT SmartFTP 1.1.984
200 Noted.
OPTS UTF8 ON
200 UTF8 OPTS ON
PWD
257 "/" is current directory.
MODE Z
200 Mode Z ok.
PASV
500 The server returned invalid response for PASV command.
PORT 10,0,0,1,9,157
500 Invalid PORT command.
NOOP
200 NOOP command successful.
0

#2 User is offline   Matthieu 

  • Addicted Member
  • Group: Staff
  • Posts: 1964
  • Joined: 22-October 03
  • Gender:Male
  • Location:France : Mouy
  • Interests:Science-fiction, World news

Posted 18 March 2005 - 04:12 PM

What does the server log on its side ? It seems ISA is filtering here.
Gene6, SARL
Do not use PM to ask for support, use the forum or support email.

Special offer : 10% discount with coupon code : DISCOUNT
0

#3 User is offline   Viziirka.NET 

  • New Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 18-March 05

Posted 19 March 2005 - 10:16 PM

I've no idea why not working sad.gif

here is the ftp server log:

05/03/19 22:04:27, 17, 81.182.142.30, , new connection from 81.182.142.30 on 192.168.1.2:21
05/03/19 22:04:27, 17, 81.182.142.30, , hostname resolved : 30.142-182-adsl-pool.axelero.hu
05/03/19 22:04:27, 17, 81.182.142.30, , sending welcome message.
05/03/19 22:04:27, 17, 81.182.142.30, , 220 Gene6 FTP Server v3.4.0 (Build 16) ready...
05/03/19 22:04:27, 17, 81.182.142.30, , USER web
05/03/19 22:04:27, 17, 81.182.142.30, web, 331 Password required for web.
05/03/19 22:04:27, 17, 81.182.142.30, web, PASS ****
05/03/19 22:04:27, 17, 81.182.142.30, web, logged in as "web".
05/03/19 22:04:27, 17, 81.182.142.30, web, 230 User web logged in.
05/03/19 22:04:27, 17, 81.182.142.30, web, SYST
05/03/19 22:04:27, 17, 81.182.142.30, web, 215 UNIX Type: L8
05/03/19 22:04:27, 17, 81.182.142.30, web, FEAT
05/03/19 22:04:27, 17, 81.182.142.30, web, 211-Extensions supported:
05/03/19 22:04:27, 17, 81.182.142.30, web, AUTH TLS
05/03/19 22:04:27, 17, 81.182.142.30, web, PBSZ
05/03/19 22:04:27, 17, 81.182.142.30, web, PROT
05/03/19 22:04:27, 17, 81.182.142.30, web, CLNT
05/03/19 22:04:27, 17, 81.182.142.30, web, MDTM
05/03/19 22:04:27, 17, 81.182.142.30, web, MLST type*;size*;created;modify*;
05/03/19 22:04:27, 17, 81.182.142.30, web, MODE Z
05/03/19 22:04:27, 17, 81.182.142.30, web, PASV
05/03/19 22:04:27, 17, 81.182.142.30, web, REST STREAM
05/03/19 22:04:27, 17, 81.182.142.30, web, SIZE
05/03/19 22:04:27, 17, 81.182.142.30, web, SSCN
05/03/19 22:04:27, 17, 81.182.142.30, web, TVFS
05/03/19 22:04:27, 17, 81.182.142.30, web, UTF8
05/03/19 22:04:27, 17, 81.182.142.30, web, XCRC "filename" SP EP
05/03/19 22:04:27, 17, 81.182.142.30, web, XMD5 "filename" SP EP
05/03/19 22:04:27, 17, 81.182.142.30, web, 211 End.
05/03/19 22:04:27, 17, 81.182.142.30, web, PWD
05/03/19 22:04:27, 17, 81.182.142.30, web, 257 "/" is current directory.
05/03/19 22:04:27, 17, 81.182.142.30, web, TYPE A
05/03/19 22:04:27, 17, 81.182.142.30, web, 200 Type set to A.
0

#4 User is offline   Viziirka.NET 

  • New Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 18-March 05

Posted 20 March 2005 - 12:50 AM

I tried to connenct many times and i found an interesting thing:
The error message didn't change but the server's log changed!
here is the new log - i marked the changed lines-:

05/03/20 00:31:36, 5, 81.182.77.180, , new connection from 81.182.77.180 on 192.168.1.2:21
05/03/20 00:31:36, 5, 81.182.77.180, , hostname resolved : 180.77-182-adsl-pool.axelero.hu
05/03/20 00:31:36, 5, 81.182.77.180, , sending welcome message.
05/03/20 00:31:36, 5, 81.182.77.180, , 220 Gene6 FTP Server v3.4.0 (Build 16) ready...
05/03/20 00:31:36, 5, 81.182.77.180, , USER web
05/03/20 00:31:36, 5, 81.182.77.180, web, 331 Password required for web.
05/03/20 00:31:36, 5, 81.182.77.180, web, PASS ****
05/03/20 00:31:36, 5, 81.182.77.180, web, logged in as "web".
05/03/20 00:31:36, 5, 81.182.77.180, web, 230 User web logged in.
05/03/20 00:31:36, 5, 81.182.77.180, web, opts utf8 on
05/03/20 00:31:36, 5, 81.182.77.180, web, 501 Please CLNT first.
05/03/20 00:31:36, 5, 81.182.77.180, web, syst
05/03/20 00:31:36, 5, 81.182.77.180, web, 215 UNIX Type: L8
05/03/20 00:31:36, 5, 81.182.77.180, web, site help
05/03/20 00:31:36, 5, 81.182.77.180, web, 500 Unknown command.
05/03/20 00:31:36, 5, 81.182.77.180, web, PWD
05/03/20 00:31:36, 5, 81.182.77.180, web, 257 "/" is current directory.
05/03/20 00:31:36, 5, 81.182.77.180, web, TYPE A
05/03/20 00:31:36, 5, 81.182.77.180, web, 200 Type set to A.
05/03/20 00:31:36, 5, 81.182.77.180, web, PASV
05/03/20 00:31:36, 5, 81.182.77.180, web, 227 Entering Passive Mode (80,98,120,88,19,161)
05/03/20 00:31:36, 5, 81.182.77.180, web, TYPE A
05/03/20 00:31:36, 5, 81.182.77.180, web, 200 Type set to A.
!!! 05/03/20 00:31:37, 5, 81.182.77.180, web, LPRT 6,16,0,0,0,0,0,0,0,0,228,241,14,3,0,0,0,0,2,4,86
!!! 05/03/20 00:31:37, 5, 81.182.77.180, web, 500 Unknown command.
0

#5 User is offline   Matthieu 

  • Addicted Member
  • Group: Staff
  • Posts: 1964
  • Joined: 22-October 03
  • Gender:Male
  • Location:France : Mouy
  • Interests:Science-fiction, World news

Posted 20 March 2005 - 01:25 AM

What is the ftp client used in the second example ?
Gene6, SARL
Do not use PM to ask for support, use the forum or support email.

Special offer : 10% discount with coupon code : DISCOUNT
0

#6 User is offline   Viziirka.NET 

  • New Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 18-March 05

Posted 20 March 2005 - 12:43 PM

Interner explorer.
While I've been trying to connect, i whatched the isa's log and i'think the ftp server didin't start to connet in passive.
I didn't see any used port in 5000-5100 range. Only 21.
0

#7 User is offline   Matthieu 

  • Addicted Member
  • Group: Staff
  • Posts: 1964
  • Joined: 22-October 03
  • Gender:Male
  • Location:France : Mouy
  • Interests:Science-fiction, World news

Posted 20 March 2005 - 02:13 PM

As soon as a PASV command is sent, the server will reply and listen on the port in the range, check the netstat output on the server.
Gene6, SARL
Do not use PM to ask for support, use the forum or support email.

Special offer : 10% discount with coupon code : DISCOUNT
0

#8 User is offline   Viziirka.NET 

  • New Member
  • Pip
  • Group: Members
  • Posts: 5
  • Joined: 18-March 05

Posted 20 March 2005 - 05:37 PM

I chequed and i see the port but in the foregin address i didn't see anything. the ip is 0.0.0.0
0

#9 User is offline   Matthieu 

  • Addicted Member
  • Group: Staff
  • Posts: 1964
  • Joined: 22-October 03
  • Gender:Male
  • Location:France : Mouy
  • Interests:Science-fiction, World news

Posted 20 March 2005 - 07:38 PM

That would mean that ISA is not forwarding the connection request from the outside.
Gene6, SARL
Do not use PM to ask for support, use the forum or support email.

Special offer : 10% discount with coupon code : DISCOUNT
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users