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.



39 posts

Geek


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 | 2Next
780 posts

Ultimate Geek

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

984 posts

Ultimate Geek


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

FTP & NAT == serious annoyances. Use sftp.




Workstation: Intel DH67CL ~ i5-2500 ~ 4GB Corsair RAM (x2) ~ Intel X25-M 80GB SSD

Laptop: Dell Inspiron 1564 ~ i5-520M ~ 4.00GB RAM ~ 500GB SATA HDD ~ Win7 Home Premium x64

Common misconceptions.



39 posts

Geek


  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

780 posts

Ultimate Geek

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?



39 posts

Geek


  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.

780 posts

Ultimate Geek

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.

780 posts

Ultimate Geek

Trusted
Orcon
Subscriber

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

You have a PM :)

2372 posts

Uber Geek

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 :)





780 posts

Ultimate Geek

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...



39 posts

Geek


  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



39 posts

Geek


  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?



39 posts

Geek


  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

3197 posts

Uber Geek

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



39 posts

Geek


  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.




780 posts

Ultimate Geek

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 | 2Next
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 new jobs are posted to our jobs board:



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




News »

Trending now »
Hot discussions in our forums right now:

Xbox One
Created by DjShadow, last reply by berrys on 22-May-2013 14:16 (36 replies)
Pages... 2 3


Cannabis is illegal yet we have really strong 'legal highs' ?
Created by qwerty7, last reply by P1n3apqlExpr3ss on 22-May-2013 17:32 (51 replies)
Pages... 2 3 4


A new project coming to Geekzone
Created by freitasm, last reply by clinty on 22-May-2013 17:56 (240 replies)
Pages... 14 15 16


Changeover issue: dial up
Created by Zigg, last reply by robjg63 on 21-May-2013 22:02 (17 replies)
Pages... 2


HTC One (2013) owners' discussion
Created by Dingbatt, last reply by Hollidog on 22-May-2013 16:41 (1525 replies)
Pages... 100 101 102


Vodafone Naked Broadband Speeds (Auckland CBD)
Created by wscalioni, last reply by grkiwi on 20-May-2013 21:13 (14 replies)

Orcon, Is this for real or a scam??
Created by old3eyes, last reply by DarthKermit on 22-May-2013 17:49 (27 replies)
Pages... 2


It seems New Zealand broadband still good
Created by freitasm, last reply by michaeln on 22-May-2013 17:45 (13 replies)


Geekzone Jobs »
Most recent NZ jobs in technology:

Senior Business Analyst
Posted 22-May-2013 17:27

Development Support Engineer
Posted 22-May-2013 17:27

Senior System Engineering - VMWare
Posted 22-May-2013 17:27

Business Analyst
Posted 22-May-2013 17:27

Principal Solution Architect
Posted 22-May-2013 17:27

Senior Database Administrator
Posted 22-May-2013 16:27

Field Manager NGA Provisioning - (Wellington)
Posted 22-May-2013 16:27


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.