* [gentoo-amd64] tcptraceroute have buffer overflow in ipv6
@ 2011-04-14 3:35 Benny Pedersen
2011-04-14 3:52 ` Paul Colquhoun
0 siblings, 1 reply; 9+ messages in thread
From: Benny Pedersen @ 2011-04-14 3:35 UTC (permalink / raw
To: gentoo-amd64
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 :(
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] tcptraceroute have buffer overflow in ipv6
2011-04-14 3:35 [gentoo-amd64] tcptraceroute have buffer overflow in ipv6 Benny Pedersen
@ 2011-04-14 3:52 ` Paul Colquhoun
2011-04-14 4:18 ` Benny Pedersen
0 siblings, 1 reply; 9+ messages in thread
From: Paul Colquhoun @ 2011-04-14 3:52 UTC (permalink / raw
To: gentoo-amd64
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
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] tcptraceroute have buffer overflow in ipv6
2011-04-14 3:52 ` Paul Colquhoun
@ 2011-04-14 4:18 ` Benny Pedersen
2011-04-14 5:19 ` Benny Pedersen
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Benny Pedersen @ 2011-04-14 4:18 UTC (permalink / raw
To: gentoo-amd64
> To capture both, redirect STDOUT first, then set STDERR to match:
> tcptraceroute ipv6.google.com 80 > /path/to/log/file 2>&1
i end with 2 empty files
would have being usefull if -d have turned stderr over to stdout for debug
what more can i try now ?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] tcptraceroute have buffer overflow in ipv6
2011-04-14 4:18 ` Benny Pedersen
@ 2011-04-14 5:19 ` Benny Pedersen
2011-04-14 5:33 ` Paul Colquhoun
2011-04-14 14:36 ` Frank Peters
2 siblings, 0 replies; 9+ messages in thread
From: Benny Pedersen @ 2011-04-14 5:19 UTC (permalink / raw
To: gentoo-amd64
On Thu, 14 Apr 2011 06:18:09 +0200, Benny Pedersen <me@junc.org> wrote:
>> To capture both, redirect STDOUT first, then set STDERR to match:
>> tcptraceroute ipv6.google.com 80 > /path/to/log/file 2>&1
>
> i end with 2 empty files
>
> would have being usefull if -d have turned stderr over to stdout for
debug
>
> what more can i try now ?
http://bugs.gentoo.org/show_bug.cgi?id=363527
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] tcptraceroute have buffer overflow in ipv6
2011-04-14 4:18 ` Benny Pedersen
2011-04-14 5:19 ` Benny Pedersen
@ 2011-04-14 5:33 ` Paul Colquhoun
2011-04-14 14:36 ` Frank Peters
2 siblings, 0 replies; 9+ messages in thread
From: Paul Colquhoun @ 2011-04-14 5:33 UTC (permalink / raw
To: gentoo-amd64
On Thu, 14 Apr 2011 14:18:09 Benny Pedersen wrote:
> > To capture both, redirect STDOUT first, then set STDERR to match:
> > tcptraceroute ipv6.google.com 80 > /path/to/log/file 2>&1
>
> i end with 2 empty files
>
> would have being usefull if -d have turned stderr over to stdout for debug
>
> what more can i try now ?
That should only have created 1 file, empty or not.
Can you paste in the exact command you used?
--
Reverend Paul Colquhoun, ULC. http://andor.dropbear.id.au/~paulcol
Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] tcptraceroute have buffer overflow in ipv6
2011-04-14 4:18 ` Benny Pedersen
2011-04-14 5:19 ` Benny Pedersen
2011-04-14 5:33 ` Paul Colquhoun
@ 2011-04-14 14:36 ` Frank Peters
2011-05-02 19:17 ` [gentoo-amd64] unsubscribe Guy Harrison
2 siblings, 1 reply; 9+ messages in thread
From: Frank Peters @ 2011-04-14 14:36 UTC (permalink / raw
To: gentoo-amd64
On Thu, 14 Apr 2011 06:18:09 +0200
Benny Pedersen <me@junc.org> wrote:
>
> i end with 2 empty files
>
> would have being usefull if -d have turned stderr over to stdout for debug
>
> what more can i try now ?
>
If console redirection is not working, a possible work around is to use
the script command. This will capture everything that is sent to the
console, either via the keyboard or STDOUT/STDERR.
script /path/to/output/file
command 1
command 2
...
exit
See the man page for script.
Frank Peters
^ permalink raw reply [flat|nested] 9+ messages in thread
* [gentoo-amd64] unsubscribe
2011-04-14 14:36 ` Frank Peters
@ 2011-05-02 19:17 ` Guy Harrison
2011-05-02 20:19 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Guy Harrison @ 2011-05-02 19:17 UTC (permalink / raw
To: gentoo-amd64
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] unsubscribe
2011-05-02 19:17 ` [gentoo-amd64] unsubscribe Guy Harrison
@ 2011-05-02 20:19 ` Dale
2011-05-02 23:03 ` Guy Harrison
0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2011-05-02 20:19 UTC (permalink / raw
To: gentoo-amd64
Guy Harrison wrote:
Nope. It ain't happening. lol
List-Post:<mailto:gentoo-amd64@lists.gentoo.org>
List-Help:<mailto:gentoo-amd64+help@lists.gentoo.org>
List-Unsubscribe:<mailto:gentoo-amd64+unsubscribe@lists.gentoo.org>
List-Subscribe:<mailto:gentoo-amd64+subscribe@lists.gentoo.org>
That may help tho.
Dale
:-) :-)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-amd64] unsubscribe
2011-05-02 20:19 ` Dale
@ 2011-05-02 23:03 ` Guy Harrison
0 siblings, 0 replies; 9+ messages in thread
From: Guy Harrison @ 2011-05-02 23:03 UTC (permalink / raw
To: gentoo-amd64
On Monday 02 May 2011 21:19:18 Dale wrote:
> Guy Harrison wrote:
>
> Nope. It ain't happening. lol
>
> List-Post:<mailto:gentoo-amd64@lists.gentoo.org>
> List-Help:<mailto:gentoo-amd64+help@lists.gentoo.org>
> List-Unsubscribe:<mailto:gentoo-amd64+unsubscribe@lists.gentoo.org>
> List-Subscribe:<mailto:gentoo-amd64+subscribe@lists.gentoo.org>
>
> That may help tho.
>
> Dale
>
> :-) :-)
Cheers Dale, you're a star! :-))
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2011-05-03 0:02 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-14 3:35 [gentoo-amd64] tcptraceroute have buffer overflow in ipv6 Benny Pedersen
2011-04-14 3:52 ` Paul Colquhoun
2011-04-14 4:18 ` Benny Pedersen
2011-04-14 5:19 ` Benny Pedersen
2011-04-14 5:33 ` Paul Colquhoun
2011-04-14 14:36 ` Frank Peters
2011-05-02 19:17 ` [gentoo-amd64] unsubscribe Guy Harrison
2011-05-02 20:19 ` Dale
2011-05-02 23:03 ` Guy Harrison
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox