Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 2004 09:11:03 -0700 (PDT)
From:      John Polstra <jdp@polstra.com>
To:        Maxime Henrion <mux@freebsd.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: gdb
Message-ID:  <XFMail.20040622091103.jdp@polstra.com>
In-Reply-To: <20040622104924.GR9228@elvis.mu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 22-Jun-2004 Maxime Henrion wrote:
> Dag-Erling Sm?rgrav wrote:
>> have you tried using tcpdump to monitor the connection to the cvsup server?
> 
> Given how the CVSup protocol works, monitoring with tcpdump is uneasy if
> you don't know the protocol.  First, zlib compression needs to be disabled
> and then you need to realize there are several TCP streams multiplexed on
> a single TCP connection.

You can use two separate TCP connections by putting "-P -" on the
command line, and compression is easily disabled with "-Z".  The
protocol is plain text, so with those two options it's easy to follow
it using either tcpdump or ktrace.

In this case it really sounds like either a bona fide network problem
or some problem on the server side.  (On the other hand, Grover
reported that it works OK under FreeBSD 4.x.)  Just for fun, it would
be worthwhile to try forcing a lower MTU on the relevant network
interface or route.

John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20040622091103.jdp>