Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080

Ftp retry settings.

Discussion and questions about Cumulus weather station software version 1. This section is the main place to get help with Cumulus 1 software developed by Steve Loft that ceased development in November 2014.
Post Reply
Queeg
Posts: 9
Joined: Wed 20 Jun 2012 4:50 pm
Weather Station: WH3081
Operating System: Win7 SP1
Location: West AU

Ftp retry settings.

Post by Queeg »

Is there a way I can tell cumulus to not retry on a failed ftp connection?

It currently retries every 30 secs.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Ftp retry settings.

Post by steve »

Queeg wrote:Is there a way I can tell cumulus to not retry on a failed ftp connection?
No, sorry.
It currently retries every 30 secs.
It should only retry 3 times, and then give up. Is it not doing that?
Steve
Queeg
Posts: 9
Joined: Wed 20 Jun 2012 4:50 pm
Weather Station: WH3081
Operating System: Win7 SP1
Location: West AU

Re: Ftp retry settings.

Post by Queeg »

Yeah looks to be doing just 3.

But apparently even that low in combination with my email connection it triggered some sort of anti-spam/anti-attk feature on my webhost.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Ftp retry settings.

Post by steve »

I can very easily make the number of retries configurable (from zero upwards); I'll put it in the next build. But I think your web host is broken; four connect attempts over a period of 2 minutes doesn't constitute an attack. And why are the connections failing anyway, if they're getting as far as the server?
Steve
Queeg
Posts: 9
Joined: Wed 20 Jun 2012 4:50 pm
Weather Station: WH3081
Operating System: Win7 SP1
Location: West AU

Re: Ftp retry settings.

Post by Queeg »

Yeah I had the same question but they had extremely poor English so the question fell on deaf ears :P multiple times :(

I did find out 3 bad attempts (I'm assuming that has to be login) in 15 mins or "when there are continuously increase the connection with same IP our firewall will automatically treat it as an attacking host" (whatever that is in English. I'm assuming DoS behavior) triggers a simple firewall IP lockout.

A combination of events must have come together to trigger a lockout because it ran happy for a few weeks before it happened and hasn't happened again since.

But yeah being able to change the retry count/timer will be a handy feature.
water01
Posts: 3670
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10/11 64bit Synology NAS
Location: Burnham-on-Sea
Contact:

Re: Ftp retry settings.

Post by water01 »

I would change my web host they sound like a bunch of numpties!!
David
Image
gemini06720
Posts: 1700
Joined: Mon 10 Aug 2009 10:16 pm
Weather Station: No weather station
Operating System: No operating system
Location: World...

Re: Ftp retry settings.

Post by gemini06720 »

If this service provider is using the latest update to its server software (including the control panel), then, repeated multiple FTP accesses to its servers (from the same IP address) will automatically trigger the blocking action - the block should automatically be removed after a few hours (if properly setup by the IT people) - otherwise, an email message needs to be sent to the service provider.
Queeg
Posts: 9
Joined: Wed 20 Jun 2012 4:50 pm
Weather Station: WH3081
Operating System: Win7 SP1
Location: West AU

Re: Ftp retry settings.

Post by Queeg »

It could be that.

Does cumulus close the connection after transfer?

I was uploading at 5 min intervals and my site is setup to close ftp connections after 15 mins idle.
So its possible I could have had 3 ftp connections at a given time.
User avatar
steve
Cumulus Author
Posts: 26672
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Ftp retry settings.

Post by steve »

Queeg wrote:Does cumulus close the connection after transfer?
It attempts to, yes.
Steve
Post Reply