Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2003 12:08:01 +0100
From:      Joris Vandalon <joris@vandalon.nl>
To:        Robert Garrett <rg70@sbcglobal.net>
Cc:        John Angelmo <john@veidit.net>, current@freebsd.org
Subject:   Re: tcpdump delay?
Message-ID:  <20030319110801.GA97489@mezzanine.vandalon.nl>
In-Reply-To: <20030319101554.GA553@sbcglobal.net>
References:  <3E784112.4000001@veidit.net> <20030319101554.GA553@sbcglobal.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 19, 2003 at 04:15:54AM -0600, Robert Garrett wrote:
> On Wed, Mar 19, 2003 at 11:06:10AM +0100, John Angelmo wrote:
> > I needed to do some tcpdump from my box on the rl0 interface. The IP was 
> > changed to one that dosn't match our network and I noticed that 
> > everything had a 3 min delay(both traffic in and out from the 
> > interface), my current build is from yesterday and the box didn't have 
> > any heavy load. As soon as I changed back to my standard IP everything 
> > worked fine, but still a 3 min delay seems odd.
> > 
> > /John
> tcpdump -ln
> 
> -l kills buffered output, i.e. waiting for a large amount of data before
>    it starts writing

-l doesnt kill bufferd output, in contrary, it makes the output bufferd.

       -l     Make  stdout  line buffered.  Useful if you want to see the data
              while capturing it.  E.g.,
              ``tcpdump  -l  |  tee     dat''     or     ``tcpdump  -l       >
              dat  &  tail  -f  dat''.

The dely you are probably noticing is because of resolving problems , try -n

Regards,
Joris

> 
> -n tells us not do lookup each ip.. 
> 
> should help
> 
> rob
> > 
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-current" in the body of the message
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-current" in the body of the message

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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