Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 17 Sep 2015 01:34:28 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-dev@...ts.openwall.com
Subject: prince mode and rules (was: fast hash processing bottlenecks)

On 09/17/2015 01:17 AM, Frank Dittrich wrote:
> Yes, you do call rpp_init() and rules_init() twice in do_prince_crack,
> apparently once in a loop.
> I am sure that has to be avoided.

You also test whether a rule should be applied or rejected once per
candidate:

$ grep -c "Rule #1:" testprince.log
3084

With all that logging, it is no wonder it takes ages.

You should process rules_reject() just once per rule, outside of the
loop processing the candidates.

Frank

Powered by blists - more mailing lists

Your e-mail address:

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