Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.



40 posts

Geek
+1 received by user: 1


Topic # 111616 9-Nov-2012 09:12 Send private message

Since I changed to unlimited with the Genius hardware my FTP connection to a FTP server on a non standard high port number is failing.

My FTP client asks me for my login password and then fails with:
425 Sorry, invalid address given

I have tried Filezilla, CuteFTP and chrome. I think the initial connection on the FTP control port is happening but then something fails when opening the data ports. I have googled the error message and tried all kind of solutions, but nothing worked. Standard FTP on port 21 works for me. Tried passive, active and turned off all firewalls.

When I search the FTP server IP in the NAT mapping table of the genius I find entries like these:

Index  Protocol  Source IP    Source Port      Pseudo IP      Pseudo Port   Destination IP     Destination Port
15       TCP        PcIp            50676            MyExternalIp      50676         FtpServerIp              80


This to me looks like that my client tried to connect to the FTP server on port 50676 but for some reason that was changed to port 80. Is my interpretation correct?

Any suggestions?

Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
Voice Engineer @ Orcon
1927 posts

Uber Geek
+1 received by user: 435

Trusted
Orcon
Subscriber

  Reply # 714511 9-Nov-2012 09:15 Send private message

Hi,

This is not something we've tested.  Have you tried using Passive mode?

Regards



Dan

1332 posts

Uber Geek
+1 received by user: 152
Inactive user


  Reply # 714512 9-Nov-2012 09:16 Send private message

FTP & NAT == serious annoyances. Use sftp.



40 posts

Geek
+1 received by user: 1


  Reply # 714514 9-Nov-2012 09:20 Send private message

Yes I have tried passive. Any other suggestions?


ubergeeknz: Hi,

This is not something we've tested.  Have you tried using Passive mode?

Regards



Dan

Voice Engineer @ Orcon
1927 posts

Uber Geek
+1 received by user: 435

Trusted
Orcon
Subscriber

  Reply # 714515 9-Nov-2012 09:20 Send private message

Hang on a sec.  This was working with Genius before you changed to Unlimited you say?



40 posts

Geek
+1 received by user: 1


  Reply # 714517 9-Nov-2012 09:23 Send private message

ubergeeknz: Hang on a sec.  This was working with Genius before you changed to Unlimited you say?


Yes, this was working with a normal orcon broadband plan using a DD-WRT router. Stopped working since I put in the genius hardware with the new unlimited plan.

Voice Engineer @ Orcon
1927 posts

Uber Geek
+1 received by user: 435

Trusted
Orcon
Subscriber

  Reply # 714519 9-Nov-2012 09:24 Send private message

Ah.  That makes sense.

Can you PM me your username, I'll check if you're on the latest firmware version.

Voice Engineer @ Orcon
1927 posts

Uber Geek
+1 received by user: 435

Trusted
Orcon
Subscriber

  Reply # 714526 9-Nov-2012 09:33 Send private message

You have a PM :)

3015 posts

Uber Geek
+1 received by user: 197

Trusted
Subscriber

  Reply # 714533 9-Nov-2012 09:43 Send private message

Haha man NAT - god damn hate it. Looking forward to IPv6 becoming mainstream :)





Voice Engineer @ Orcon
1927 posts

Uber Geek
+1 received by user: 435

Trusted
Orcon
Subscriber

  Reply # 714557 9-Nov-2012 10:29 Send private message

I've upgraded the router, it was on a very old firmware (and being "difficult")

So, fingers crossed that fixes things!  Guess we will know soon...



40 posts

Geek
+1 received by user: 1


  Reply # 714560 9-Nov-2012 10:53 Send private message

ubergeeknz: I've upgraded the router, it was on a very old firmware (and being "difficult")

So, fingers crossed that fixes things!  Guess we will know soon...



Thanks a lot for the fast help.
I am at work currently, so will test it tonight and report back.

Cheers



40 posts

Geek
+1 received by user: 1


  Reply # 714869 9-Nov-2012 18:54 Send private message

ubergeeknz: I've upgraded the router, it was on a very old firmware (and being "difficult")

So, fingers crossed that fixes things!  Guess we will know soon...


I have tried the new firmware. It definitely updated and the interface looks slightly different.
Thanks a lot for that fast response.

Sadly I still get the same error message when trying to connect. 

But the entry in the NAT mapping table entry looks different:

ndex  Protocol  Source IP    Source Port      Pseudo IP      Pseudo Port   Destination IP     Destination Port
15       TCP        PcIp            50676            MyExternalIp      50676         FtpServerIp             53421


The last port 53421 is the control port of the initial connection:
FtpServerIp:53421

The way I understand it, it should connect to 50676 at the destination. Or am I wrong?
I tried making the PcIp a DMZ to make sure it catches everything coming in and switched of the firewalls. 


Filezilla gives me
18:09:45 Status: Resolving address of sapper.seedcafe.info
18:09:45 Status: Connecting to FtpServerIp:53421...
18:09:45 Status: Connection established, waiting for welcome message...
18:09:48 Trace: CFtpControlSocket::OnReceive()
18:09:48 Response: 425 Sorry, invalid address given
18:09:48 Trace: CControlSocket::DoClose(0)
18:09:48 Trace: CFtpControlSocket::ResetOperation(66)
18:09:48 Trace: CControlSocket::ResetOperation(66)
18:09:48 Error: Could not connect to server
18:09:48 Trace: CFileZillaEnginePrivate::ResetOperation(66)


In the browser I get asked the username password before it fails.

So I still think it is a problem of setting up the data port connections.

Any idea?



40 posts

Geek
+1 received by user: 1


  Reply # 714881 9-Nov-2012 19:25 Send private message

Eule:
ubergeeknz: Hang on a sec.  This was working with Genius before you changed to Unlimited you say?


Yes, this was working with a normal orcon broadband plan using a DD-WRT router. Stopped working since I put in the genius hardware with the new unlimited plan.



Just to clarify this. I only got a genius when I changed to the orcon unlimited plan. Before then I had a normal ADSL modem bridged with a DD-WRT router and a orcon broadband plan. The FTP worked on that setup, but stopped working when I switched to the genius modem/router. By the way my genius unlimited plan is still via ADSL. 

Does anybody have any further advice?

What is a good FTP debugging client?

Cheers

gzt

4606 posts

Uber Geek
+1 received by user: 245

Subscriber

  Reply # 714895 9-Nov-2012 20:10 Send private message

Maybe a careful walkthrough with the filezilla setup guide:

http://wiki.filezilla-project.org/Network_Configuration#Setting_up_FileZilla_Client



40 posts

Geek
+1 received by user: 1


  Reply # 714932 9-Nov-2012 21:28 Send private message

gzt: Maybe a careful walkthrough with the filezilla setup guide:

http://wiki.filezilla-project.org/Network_Configuration#Setting_up_FileZilla_Client



Yes, I have tried that but still getting the same error.
I have tried passive and active. Specifying a port range and forwarded those ports. Specifying the external ip address of my client. So far no luck.




Voice Engineer @ Orcon
1927 posts

Uber Geek
+1 received by user: 435

Trusted
Orcon
Subscriber

  Reply # 714945 9-Nov-2012 21:42 Send private message

I'm stumped TBH.  I'll see if I can do some testing with this and let you know.

From the log it appears like you may not have specified the correct external IP within Filezilla.

>> 18:09:48 Response: 425 Sorry, invalid address given

it can change (not fixed like it used to be) so be aware of that.

 1 | 2
Filter this topic showing only the reply marked as answer View this topic in a long page with up to 500 replies per page Create new topic




Twitter »
Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





Trending now »

Hot discussions in our forums right now:

Speed limit when overtaking? Teach me please.
Created by nakedmolerat, last reply by richms on 25-Oct-2014 23:02 (90 replies)
Pages... 4 5 6


House Auctions
Created by t0ny, last reply by Geektastic on 25-Oct-2014 22:18 (41 replies)
Pages... 2 3


VDSL, which router/modem sub $200?
Created by TeaLeaf, last reply by NonprayingMantis on 25-Oct-2014 19:48 (28 replies)
Pages... 2


Neon - Sky's new streaming service
Created by JarrodM, last reply by JimmyH on 25-Oct-2014 17:37 (29 replies)
Pages... 2


iPad Air 2 and iPad Mini 3. Gonna get one?
Created by Dingbatt, last reply by tungsten on 25-Oct-2014 20:22 (115 replies)
Pages... 6 7 8


5Ghz AP recommendations?
Created by ubergeeknz, last reply by sbiddle on 24-Oct-2014 12:42 (12 replies)

Snap have failed our company!
Created by dafman, last reply by kornflake on 23-Oct-2014 17:41 (37 replies)
Pages... 2 3


Thief taunts 12 year old via stolen laptop
Created by macuser, last reply by charsleysa on 22-Oct-2014 23:49 (12 replies)


Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.

Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.