Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Tue, 08 Apr 2014 11:20:00 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Logging issue for core john 1.8.0 with --fork=N

On 2014-04-08 11:07, Frank Dittrich wrote:
> Solar, all,
>
> when running core john with --fork=N, some log entries are created once
> per forked process instead of just once.

This was curious bug, good catch:

+	/*
+	 * flush before forking, to avoid multple log entries
+	 */
+	log_flush();
  	john_fork();

It's not very obvious (except maybe in hindsight) and it might be 
OS-dependant.


> I didn't restrict the "Proceeding with ... mode" log entry to be printed
> just for john_main_process, since I was not sure whether this can differ
> per process if you restore a session.

It can.

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ