Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 18 Feb 2011 22:08:29 -0500
From: "Robert Harris" <rs904c@...scape.net>
To: <john-users@...ts.openwall.com>
Subject: RE: 1.7.6-jumbo-12 fixes md5-gen self-test bug, improves MSCash*/OpenMP

John-Users/Alex,

I get an error compiling this in cygwin.  I'm using the absolute latest
version.  It compiles just fine in 32-bit and 64-bit Linux.

It doesn't really look like a compile error, it looks like a file creation
error or something. See error below.


gcc -c  -DUNDERSCORES x86-sse.S
gcc -c  -DUNDERSCORES sha1-mmx.S
gcc -c  -DUNDERSCORES md5-mmx.S
gcc DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o BSDI_fmt.o MD5_fmt.o MD5_std.o
MD5_apache_fmt.o BFEgg_fmt.o BF_fmt.o BF_std.o AFS_fmt.o LM_fmt.o NT_fmt.o
XSHA_fmt.o DOMINOSEC_fmt.o lotus5_fmt.o oracle_fmt.o oracle11_fmt.o MYSQ
L_fmt.o mysqlSHA1_fmt.o KRB4_fmt.o KRB4_std.o KRB5_fmt.o KRB5_std.o md5_go.o
rawMD5go_fmt.o md5_eq.o PO_fmt.o md5.o hmacmd5.o hmacMD5_fmt.o IPB2_fmt.o
rawSHA1_fmt.o sha1_gen_fmt.o rawMD4_fmt.o md4_gen_fmt.o NSLDAP_fmt.o NS
LDAPS_fmt.o OPENLDAPS_fmt.o base64.o md4.o smbencrypt.o mscash_fmt.o
mscash2_fmt.o NETLM_fmt.o NETNTLM_fmt.o NETLMv2_fmt.o NETNTLMv2_fmt.o
NETHALFLM_fmt.o MSCHAPv2_fmt.o mssql_fmt.o mssql05_fmt.o EPI_fmt.o
PHPS_fmt.o MYSQL
_fast_fmt.o pixMD5_fmt.o sapG_fmt.o sapB_fmt.o NS_fmt.o HDAA_fmt.o
phpassMD5_fmt.o md5_gen_fmt.o md5_gen_parser.o md5_gen_preloads.o DMD5_fmt.o
SKEY_fmt.o batch.o bench.o charset.o common.o compiler.o config.o cracker.o
cr
c32.o external.o formats.o getopt.o idle.o inc.o john.o list.o loader.o
logger.o math.o memory.o misc.o options.o params.o path.o recovery.o rpp.o
rules.o signals.o single.o status.o tty.o wordlist.o mkv.o mkvlib.o unshado
w.o unafs.o undrop.o unique.o x86.o x86-sse.o sha1-mmx.o md5-mmx.o
-lkernel32 -lcrypto -o ../run/john.exe
/usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld: cannot
open output file ../run/john.exe: No such file or directory
collect2: ld returned 1 exit status
make[1]: *** [../run/john.exe] Error 1
make[1]: Leaving directory `/j'
make: *** [win32-cygwin-x86-sse2] Error 2


-Robert B. Harris from VA

-----Original Message-----
From: Solar Designer [mailto:solar@...nwall.com] 
Sent: Wednesday, February 16, 2011 10:32 PM
To: john-users@...ts.openwall.com
Subject: [john-users] 1.7.6-jumbo-12 fixes md5-gen self-test bug, improves
MSCash*/OpenMP

Hi,

I've just released John the Ripper 1.7.6-jumbo-12.  It is available both
as a tarball ready to be compiled:

http://www.openwall.com/john/

and as a patch against 1.7.6:

http://www.openwall.com/john/#contrib

The changes since -jumbo-11 are:

The bug causing self-tests of md5-gen "formats" to fail and then crash,
which was introduced in -jumbo-10, has now been fixed.  I did this by
relaxing the assumptions/requirements of the self-tests.  The property
of md5-gen that I did not expect was actually of no consequence to uses
by JtR itself, or at least this is the current understanding.

The MSCash and MSCash2 "formats" have been enhanced to adjust the number
of key slots according to the number of threads with OpenMP builds.
This appears to have resulted in some speedup.  Here are the new numbers
on a Core i7 (8 threads):

Benchmarking: M$ Cache Hash [Generic 1x]... DONE
Many salts:     71221K c/s real, 8891K c/s virtual
Only one salt:  19517K c/s real, 2436K c/s virtual

Benchmarking: M$ Cache Hash 2 [Generic 1x]... DONE
Raw:    392 c/s real, 49.2 c/s virtual

Finally, I spotted and fixed a few unaligned accesses on big-endian
systems in mscash2_fmt.c, but I did not bother to actually test it on
such systems now (so there may be more issues of this nature anyway).

Since the changes since -jumbo-11 have been rather conservative (fixing
known issues only), -jumbo-12 is sort of a "stable jumbo" (an oxymoron?)

JimF has recently contributed improved md5-gen code (thanks!), which I
am likely to merge for the next update, thereby potentially/temporarily
making it "unstable" again.  Thus, -jumbo-12 is a good candidate for
"stable" builds now.

Thanks,

Alexander

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.