You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem? 1. Startup Shorewall (Firewall)
2. Start Initial backup (13 GB)
3. Program Stops due to connection timed out. What is the expected output? What do you see instead? Continued uploading. What version of the product are you using? On what operating system? 1.2 beta 2 64bit on Win 7 64 bit What backend (destination) are you using? SSH (SFTP) Please provide any additional information below. I have a connection request time limit set on my server's firewall that only allows 5 SSH connections opened/closed from the same host within 60 seconds. So if more than 5 connections are tried within 60 seconds, the server blocks the host. Is there anyway that your program can establish the connection, then send the files within the same connection? I have this block setup to prevent brute force attempts from the outside. Thanks!
The unmanaged implementation relies on an external program for executing the commands, so it would be fairly difficult to rewrite that part to support a continuous connection.
This can be performed more easily with the default managed implementation, as there is more control of the link that way.
The reason that it does not keep the connection open, is that there may be a large delay between each file upload (busy, pause, etc.) so the connection may time out. By re-opening the connection between each operation, it also ensures that errors do not pile up, so one transfer may affect the outcome of another.
I will try to see if this can be fixed in 2.0, as it can also improve performance a bit.
In the meantime, have you considered something like denyhosts: http://denyhosts.sourceforge.net/ I have used that on my servers for a long time, and it generally catches all brute force attacks.
From drbr...@gmail.com on March 21, 2011 01:23:18
What steps will reproduce the problem? 1. Startup Shorewall (Firewall)
2. Start Initial backup (13 GB)
3. Program Stops due to connection timed out. What is the expected output? What do you see instead? Continued uploading. What version of the product are you using? On what operating system? 1.2 beta 2 64bit on Win 7 64 bit What backend (destination) are you using? SSH (SFTP) Please provide any additional information below. I have a connection request time limit set on my server's firewall that only allows 5 SSH connections opened/closed from the same host within 60 seconds. So if more than 5 connections are tried within 60 seconds, the server blocks the host. Is there anyway that your program can establish the connection, then send the files within the same connection? I have this block setup to prevent brute force attempts from the outside. Thanks!
Original issue: http://code.google.com/p/duplicati/issues/detail?id=387
The text was updated successfully, but these errors were encountered: