Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 10 Sep 2012 23:40:13 +0200
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: Re: MPI with incremental mode working fine?

On 2012-09-10 22:38, Thireus (thireus.com) wrote:
> I come back with an example that just happened right now with
> incremental and MPI x8.
> 
> ...
> 
> So the first two passwords were found with an interval of 0.5 second.
> The third one came after about 20 seconds. The next two others which
> are similar to the two first one came after 1 minute... then nothing
> else... john.pot just get filled 5 minutes later.
> 
> If MPI is not working with incremental mode, why is the second
> alphonce2012 missing?? Umh... unless I'm missing the point that
> john.pot is not the right place where MPI processes share their work
> to avoid duplicated passwords to pop-up...

MPI is supported, known good and produce no dupes. When there are
changes, I use to test it like this:

$ ../run/john -stdout -inc | head -10000 | shuf | ../run/pass_gen.pl
rawmd5 > testfile
$ mpiexec -np 8 ../run/john -inc -ses:test -pot:test.pot -fo:raw-md5
testfile

(After it stops finding stuff, do a "pkill -USR1 mpiexec" and then
ctrl-c the session).

This cracks all 10,000 passwords with no duplicates. I just tried this
now, no problems here.

The most common mistake people do is they actually do not run an MPI
build when they think they do, but then all cracked passwords should be
duped by all nodes, and this does not seem to be the case here. Unless
*some* of your nodes are running a non-mpi binary (provided you actually
run mpi across several different machines).

Not sure what else could be going on. Check the log file!

The output of "mpiexec -np 8 ../run/john -status" might give a clue. For
my test session above, it looks like this:

$ mpiexec -np 8 ../run/john -status:test
  0: guesses: 74 time: 0:00:00:06 0.00% c/s: 2984M
  1: guesses: 276 time: 0:00:00:06 0.00% c/s: 2541M
  3: guesses: 83 time: 0:00:00:06 0.00% c/s: 3104M
  4: guesses: 118 time: 0:00:00:06 0.00% c/s: 2997M
  5: guesses: 172 time: 0:00:00:06 0.00% c/s: 2831M
  2: guesses: 434 time: 0:00:00:06 0.00% c/s: 2377M
  7: guesses: 246 time: 0:00:00:06 0.00% c/s: 2670M
  6: guesses: 97 time: 0:00:00:06 0.00% c/s: 2914M
SUM: guesses: 1500 time: 0:00:00:06 0.00% c/s: 22422M avg 2802M

BTW you could change "Save = 600" in john.conf to something less, I use 60.

magnum

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.