Package: archvsync
Version: 20170204
Severity: wishlist

--- Please enter the report below this line. ---

Bei der Verwendung von ftpsync über einen SOCKS Proxy ist mir aufgefallen, dass bei uns die Verbindung immer beim abgleich der zu löschenden Dateien in der Stage2 wegen eines Timeouts des SOCKS Tunnels abbricht. Eine detailierte Analyse hat ergeben, dass der RSYNC Client seine Keepalive Zeiten anscheinend folgendermaßen berechnen: Timeout / 2 = Keepalive-Timer. Im ftpsync Skript ist dieser Timeout auf 3600 Sekunden fest eingestellt. Daher werden Keepalive Pakete wohl nur alle 1800 Sekunden versendet. Unser Socks Proxy hingegen hat einen Keepalive von 120 Sekunden. Daher bricht der Socks Tunnel immer während der Aufräumphase in Stage2 ab, da es dort zu einer Pause im Datenverkehr kommt. Es ist zwar möglich spezielle RSYNC Parameter zu übergeben, aber um den Timeout zu ändern müssen ALLE RSYNC Parameter angefasst werden. Aus diesem Grund wäre es hilfreich, wenn der Timeout Parameter als extra Variable in der Konfiguration enthalten sein könnte. Einen entsprechenden DIFF vorschlag habe ich bereits Bastian Blank zugesendet.

When using ftpsync via a SOCKS proxy, I noticed that the connection always ends when the files to be deleted in the Stage2 are canceled due to a timeout of the SOCKS tunnel. A detailed analysis has shown that the RSYNC client apparently calculates its keepalive times as follows: Timeout / 2 = Keepalive-Timer. In the ftpsync script, this timeout is set to 3600 seconds. Keepalive packets are therefore sent only every 1800 seconds. Our Socks Proxy, on the other hand, has a keep-alive of 120 seconds. This is why the Socks Tunnel breaks off during the clean-up phase in Stage2, as there is a break in data traffic. Although it is possible to pass special RSYNC parameters, ALL RSYNC parameters must be used to change the timeout. For this reason, it would be helpful if the timeout parameter could be included as an extra variable in the configuration.
I have already sent Bastian Blank a corresponding DIFF proposal.


--- System information. ---
Architecture:
Kernel: Linux 4.9.0-2-amd64

Debian Release: 9.0
500 testing-proposed-updates ftp2.de.debian.org
500 testing www.deb-multimedia.org
500 testing ftp.de.debian.org
500 stable repo.skype.com
500 sid linux.dropbox.com

--- Package information. ---
Package's Depends field is empty.

Package's Recommends field is empty.

Package's Suggests field is empty.

--
mfg
Björn
----------------------------------------------------
ICQ: 22207642, MSN: de...@gmx.de

Reply via email to