delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/28/11:33:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Originating-IP: [194.196.100.34]
X-Originating-Email: [mark_young AT hotmail DOT com]
From: "Mark Young" <mark_young AT hotmail DOT com>
To: cygwin AT cygwin DOT com
Subject: rsync opening and closing local ports
Date: Mon, 28 Jul 2003 15:33:18 +0000
Mime-Version: 1.0
Message-ID: <BAY2-F148edn2AG1U1t0000a20d@hotmail.com>
X-OriginalArrivalTime: 28 Jul 2003 15:33:18.0450 (UTC) FILETIME=[91C49D20:01C3551D]

Hi,

I am noticing that when I rsync data between two machines I see a constant 
stream of ports, at least 20 per second, being opened and closed on 
localhost.

I'm using the following rsync command:

rsync --blocking-io --compress --verbose --recursive --partial --times 
--rsh=ssh mylargefile myuser AT remotehost DOT com:

I see the localhost ports being opened and closed both via "netstat -an" and 
via my firewall (Agnitum Outpost).

This seems to be very inefficient and certainly causes problems with 
ZoneAlarm Pro firewall and possibly some with the logging subsystems of 
other firewalls.

Obviously it's not rsync's fault if the firewall has problems coping with 
high traffic loads, however in this case it does seem that rsync is causing 
an unnecessarily high load opening and closing ports to localhost.

I tried to capture the localhost connections in Commview but failed to get 
it to recognise any localhost connections - perhaps that's due to my lack of 
knowledge of Commview, and there doesn't appear to be a cygwin tcpdump. I 
was planning on trying Ethereal at some point but don't currently have it 
installed.

Enough rambling. Sorry.

Has anyone witnessed the localhost port opens/closes that I'm mentioning?
Can anyone explain what rsync is doing?

Cheers,
Mark

_________________________________________________________________
Get Hotmail on your mobile phone http://www.msn.co.uk/msnmobile


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019