Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 1 Jun 2015 09:21:44 +0300
From: Shinnok <>
Subject: Re: [john-core] Getting John's stdout unbuffered for Johnny

> On May 31, 2015, at 4:01 PM, Solar Designer <> wrote:
> On Sat, May 30, 2015 at 08:44:46AM +0300, Solar Designer wrote:
>> Shinnok, just let me know what the Johnny team decides on this.  If you
>> ask me to, I think I'll add a call to:
>> setvbuf(stdout, NULL, _IOLBF, 0);
>> to john.c: john_init().
>> It is important to keep stdout with its default buffering when john is
>> invoked via one of the un* symlinks, since they're commonly used with
>> stdout pointing at a disk file.
> I've just committed the change documented as:
> Set stdout to line buffered (rather than potentially fully buffered), except
> for "--stdout", "--show", and auxiliary programs such as "unshadow".

Mathieu, can you test this change and see how well it plays with Johnny?


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.