diff options
author | wiz <wiz@pkgsrc.org> | 2010-12-13 10:32:35 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2010-12-13 10:32:35 +0000 |
commit | cc1641846ec6b7a0c2b335ad7d500213e90768d2 (patch) | |
tree | 1571681dd5b2bcb22a3f9fdfbab921f4825d1fdb /security | |
parent | 59dc0309299f925c2f4e9cc08a021b901aac77f0 (diff) | |
download | pkgsrc-cc1641846ec6b7a0c2b335ad7d500213e90768d2.tar.gz |
Update to 1.7.6:
The following changes have been made between John 1.7.5.1 and 1.7.6:
* Generic crypt(3) support (enabled with "--format=crypt") has been added for
auditing password hash types supported by the system but not yet supported by
John's own optimized cryptographic routines (such as "SHA-crypt" and SunMD5).
* Optional parallelization of the above has been implemented by means of OpenMP
along with glibc's crypt_r(3) or Solaris' MT-safe crypt(3C).
* Optional parallelization of John's own optimized code for the OpenBSD-style
Blowfish-based crypt(3) (bcrypt) hashes with OpenMP has been added.
* A more suitable version of 32-bit x86 assembly code for Blowfish is now
chosen on Core i7 and similar CPUs (when they happen to run a 32-bit build).
* More optimal DES S-box expressions for PowerPC with AltiVec (making use of
the conditional select operation) contributed by Dumplinger Boy (Dango-Chu)
have been integrated.
* The bitslice DES C source code has been reworked to allow for the use of
arbitrary SIMD intrinsics, which was previously only implemented for AltiVec
as a special case.
* Support for SSE2 and MMX intrinsics with bitslice DES (as an alternative to
the supplied assembly code) has been added (currently only enabled for SSE2 on
x86-64 when compiling with GCC 4.4+).
* Support for mixed-type longer virtual vectors (such as SSE2+MMX, SSE2+ALU,
AltiVec+ALU, and other combinations) with bitslice DES has been added (not
enabled by default yet, primarily intended for easy benchmarks on future CPUs,
with future compiler versions, with even more SIMD instruction sets, and with
different DES S-box expressions that might be available in the future).
* The obsolete 32-bit SPARC assembly implementation of DES has been dropped.
* The loader will now detect password hashes specified on a line on their own,
not only as part of an /etc/passwd or PWDUMP format file.
* When run in "--stdin" mode and reading candidate passwords from a terminal
(to be typed by the user), John will no longer mess with the terminal settings.
* John will now restore terminal settings not only on normal termination or
interrupt, but also when forcibly interrupted with two Ctrl-C keypresses.
The following changes have been made between John 1.7.5 and 1.7.5.1:
* A new numeric variable has been added to the word mangling rules engine:
"p" for position of the character last found with the "/" or "%" commands.
The following changes have been made between John 1.7.4.2 and 1.7.5:
* Support for the use of "--format" along with "--show" or "--make-charset" has
been added.
* The choice of .rec and .log filenames for custom session names has been made
more intuitive.
* Support for "\r" (character lists with repeats) and "\p0" (reference to the
immediately preceding character list/range) has been added to the word mangling
rules preprocessor.
* The undefined and undocumented behavior of some subtle word mangling rules
preprocessor constructs has been changed to arguably be more sensible.
* Some bugs were fixed, most notably JtR crashing on no password hashes loaded
(bug introduced in 1.7.4.2).
The following changes have been made between John 1.7.4 and 1.7.4.2:
* Major performance improvements for processing of very large password files
or sets of files, especially with salt-less or same-salt hashes, achieved
primarily through introduction of two additional hash table sizes (64K and 1M
entries), changes to the loader, and smarter processing of successful guesses
(to accommodate getting thousands of hashes successfully cracked per second).
* Many default buffer and hash table sizes have been increased and thresholds
for the use of hash tables lowered, meaning that John will now tend to use
more memory to achieve better speed (unless it is told not to with the
"--save-memory" option).
* Some previously missed common website passwords found on public lists of
"top N passwords" have been added to the bundled common passwords list.
* Some bugs introduced in 1.7.4 and affecting wordlist mode's elimination of
consecutive duplicate candidate passwords have been fixed.
The following changes have been made between John 1.7.3.4 and 1.7.4:
* Support for back-references and "parallel" ranges has been added to the
word mangling rules preprocessor.
* The notion of numeric variables (to be used for character positions
and substring lengths along with numeric constants supported previously)
has been introduced into the rules engine. Two pre-defined variables
("l" for initial or updated word's length and "m" for initial or
memorized word's last character position) and 11 user-defined variables
("a" through "k") have been added. Additionally, there's a new numeric
constant: "z" for "infinite" position or length.
* New rule commands have been added: "A" (append, insert, or prefix with a
string), "X" (extract a substring from memory and insert), "v" (subtract
and assign to a numeric variable).
* New rule reject flags have been added: ":" (no-op, for use along with the
"parallel" ranges feature of the preprocessor) and "p" (reject unless word
pair commands are allowed, for sharing of the same ruleset between "single
crack" and wordlist modes).
* Processing of word mangling rules has been made significantly faster in
multiple ways (caching of the current length, less copying of data, code
and data placement changes for better branch prediction and L1 cache usage,
compiler-friendly use of local variables, code micro-optimizations,
removal of no-op rule commands in an initial pass).
* The default rulesets for "single crack" and wordlist modes have been
revised to make use of the new features, for speed, to produce fewer
duplicates, and to attempt additional kinds of candidate passwords (such
as for years 2010 through 2019 with "year-based" rules).
* The idle priority emulation code has been optimized for lower overhead when
there appears to be no other demand for CPU time.
* The default for the Idle setting has been changed from N to Y.
The following changes have been made between John 1.7.3.1 and 1.7.3.4:
* "make check" has been implemented (for Unix-like systems only).
* The "--test" option will now take an optional argument - the duration of each
benchmark in seconds.
* Section .note.GNU-stack has been added to all assembly files to avoid the
stack area unnecessarily being made executable on Linux systems that use this
mechanism.
* Some very minor bugs that did not affect normal operation have been fixed.
* Some unimportant compiler warnings have been fixed, a source code comment has
been made more verbose and more complete.
Diffstat (limited to 'security')
-rw-r--r-- | security/john/Makefile | 4 | ||||
-rw-r--r-- | security/john/distinfo | 12 | ||||
-rw-r--r-- | security/john/patches/patch-aa | 40 | ||||
-rw-r--r-- | security/john/patches/patch-ab | 12 |
4 files changed, 28 insertions, 40 deletions
diff --git a/security/john/Makefile b/security/john/Makefile index 08404a11be3..e07a90707be 100644 --- a/security/john/Makefile +++ b/security/john/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2009/08/06 19:14:52 zafer Exp $ +# $NetBSD: Makefile,v 1.18 2010/12/13 10:32:35 wiz Exp $ # -DISTNAME= john-1.7.3.1 +DISTNAME= john-1.7.6 CATEGORIES= security textproc MASTER_SITES= http://www.openwall.com/john/g/ diff --git a/security/john/distinfo b/security/john/distinfo index 42e3e319f7f..fde3530eb1a 100644 --- a/security/john/distinfo +++ b/security/john/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.11 2009/11/05 19:16:47 tez Exp $ +$NetBSD: distinfo,v 1.12 2010/12/13 10:32:35 wiz Exp $ -SHA1 (john-1.7.3.1.tar.gz) = 29a283933219dabe0f363618a0c8a083e79e6748 -RMD160 (john-1.7.3.1.tar.gz) = c810466241889f307c0e7096bcdd4fb39d8638ca -Size (john-1.7.3.1.tar.gz) = 814903 bytes -SHA1 (patch-aa) = a12e01816bdf586ea53c6a1504c1afea8f148474 -SHA1 (patch-ab) = 331fa2333860879edabdbf1beeb3323d303406ec +SHA1 (john-1.7.6.tar.gz) = da0b6298e6e045606d48880df045096e8bc87fcb +RMD160 (john-1.7.6.tar.gz) = 294fa9a381b45df6fda6e537bc920e74c1d966b0 +Size (john-1.7.6.tar.gz) = 832790 bytes +SHA1 (patch-aa) = c7f027cec0ee565312fd4417ded8fe43005b01d1 +SHA1 (patch-ab) = 4f8c9e1bba14f64b651c6d08337f004a3e278e44 diff --git a/security/john/patches/patch-aa b/security/john/patches/patch-aa index fefaa499685..6bb222b575b 100644 --- a/security/john/patches/patch-aa +++ b/security/john/patches/patch-aa @@ -1,32 +1,20 @@ -$NetBSD: patch-aa,v 1.7 2009/11/05 19:16:47 tez Exp $ +$NetBSD: patch-aa,v 1.8 2010/12/13 10:32:35 wiz Exp $ ---- src/Makefile.orig 2008-07-17 20:28:55.000000000 -0500 -+++ src/Makefile 2009-11-05 13:04:49.538488300 -0600 -@@ -15,11 +15,11 @@ - PERL = perl - NULL = /dev/null - CPPFLAGS = -E --CFLAGS = -c -Wall -O2 -fomit-frame-pointer -+CFLAGS = -c - ASFLAGS = -c --LDFLAGS = -s +--- src/Makefile.orig 2010-06-13 21:12:37.000000000 +0000 ++++ src/Makefile +@@ -19,11 +19,11 @@ OMPFLAGS = + #OMPFLAGS = -fopenmp + # Sun Studio with OpenMP (set the OMP_NUM_THREADS env var at runtime) + #OMPFLAGS = -xopenmp +-CFLAGS = -c -Wall -O2 -fomit-frame-pointer $(OMPFLAGS) ++CFLAGS = -c $(OMPFLAGS) + ASFLAGS = -c $(OMPFLAGS) +-LDFLAGS = -s $(OMPFLAGS) -OPT_NORMAL = -funroll-loops -OPT_INLINE = -finline-functions -+LDFLAGS += -s ++LDFLAGS += -s $(OMPFLAGS) +OPT_NORMAL = +OPT_INLINE = - JOHN_OBJS_MINIMAL = \ - DES_fmt.o DES_std.o DES_bs.o \ -@@ -396,7 +396,10 @@ - $(MAKE) solaris-sparc-any HAMMER=use-solaris-sparcv8-cc - - solaris-sparc-gcc: -- $(MAKE) solaris-sparc-any HAMMER=use-solaris-sparc-gcc -+ $(LN) sparc32.h arch.h -+ $(MAKE) $(PROJ) \ -+ CFLAGS="$(CFLAGS) -m32" \ -+ LDFLAGS="$(LDFLAGS) -m32 -lrt" - - use-solaris-sparcv9-cc: - $(MAKE) $(NAIL) \ + JOHN_OBJS = \ + DES_fmt.o DES_std.o DES_bs.o DES_bs_b.o \ diff --git a/security/john/patches/patch-ab b/security/john/patches/patch-ab index d218b52ce82..440db43d2a7 100644 --- a/security/john/patches/patch-ab +++ b/security/john/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.1 2006/03/14 10:17:25 martti Exp $ +$NetBSD: patch-ab,v 1.2 2010/12/13 10:32:35 wiz Exp $ ---- src/params.h.orig 2006-03-14 09:16:37.000000000 +0200 -+++ src/params.h 2006-03-14 09:21:51.000000000 +0200 -@@ -49,15 +49,15 @@ +--- src/params.h.orig 2010-06-14 02:38:55.000000000 +0000 ++++ src/params.h +@@ -51,15 +51,15 @@ * notes above. */ #ifndef JOHN_SYSTEMWIDE @@ -21,7 +21,7 @@ $NetBSD: patch-ab,v 1.1 2006/03/14 10:17:25 martti Exp $ #endif #define JOHN_PRIVATE_HOME "~/.john" #endif -@@ -101,8 +101,8 @@ +@@ -103,8 +103,8 @@ /* * File names. */ @@ -32,7 +32,7 @@ $NetBSD: patch-ab,v 1.1 2006/03/14 10:17:25 martti Exp $ #if JOHN_SYSTEMWIDE #define CFG_PRIVATE_FULL_NAME JOHN_PRIVATE_HOME "/john.conf" #define CFG_PRIVATE_ALT_NAME JOHN_PRIVATE_HOME "/john.ini" -@@ -116,7 +116,7 @@ +@@ -118,7 +118,7 @@ #endif #define LOG_SUFFIX ".log" #define RECOVERY_SUFFIX ".rec" |