Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-amd64
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-amd64@g.o
From: Paul Colquhoun <paulcol@...>
Subject: Re: tcptraceroute have buffer overflow in ipv6
Date: Thu, 14 Apr 2011 13:52:11 +1000
On Thu, 14 Apr 2011 13:35:43 Benny Pedersen wrote:
> tcptraceroute ipv6.google.com 80
> 
> shows me a nice buffer overflow, i like to camture it into a log file but
> lost on how :/
> 
> tryed:
> tcptraceroute ipv6.google.com 80 | less
> 
> and press s from less to save it, still no file content to save :(

The usual method is the '>' redirect operator, like this:

    tcptraceroute ipv6.google.com 80 > /path/to/log/file

If the error message is going to STDERR (as it should be), you will need to 
redirect that instead:

    tcptraceroute ipv6.google.com 80 2> /path/to/log/file

To capture both, redirect STDOUT first, then set STDERR to match:

    tcptraceroute ipv6.google.com 80 > /path/to/log/file 2>&1


-- 
Reverend Paul Colquhoun, ULC.    http://andor.dropbear.id.au/~paulcol
     Asking for technical help in newsgroups?  Read this first:
        http://catb.org/~esr/faqs/smart-questions.html#intro


Replies:
Re: tcptraceroute have buffer overflow in ipv6
-- Benny Pedersen
References:
tcptraceroute have buffer overflow in ipv6
-- Benny Pedersen
Navigation:
Lists: gentoo-amd64: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
tcptraceroute have buffer overflow in ipv6
Next by thread:
Re: tcptraceroute have buffer overflow in ipv6
Previous by date:
tcptraceroute have buffer overflow in ipv6
Next by date:
Re: tcptraceroute have buffer overflow in ipv6


Updated Jun 28, 2012

Summary: Archive of the gentoo-amd64 mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.