Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 13 May 2013 09:07:16 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Dyna and OpenSSL <1.0.0

On 05/13/2013 08:25 AM, magnum wrote:
> I think it should de-register (or never register) the (sub)format that had conf errors. But this will only solve the self-test problem, we'll still see the conf load errors - and we'll see them at every invocation of john. I'm not sure how we want it to behave - deciding that might be harder than actually implementing it.
> 
> For example, perhaps we should not parse dynamic.conf at all if we are running with -format=some-non-dynamic? This would save us from seeing that errors all the time. I just tried current code after busting dynamic_1001 on purpose:
> 
> $ ../run/john -t -form:descrypt
> Error, unknown function:  Func=Err_DynamicFunc__overwrite_from_last_output_to_input2_as_base16_no_size_fix
> Error parsing section [List.Generic:dynamic_1001]
> Error in line 13 file is ../run/dynamic.conf
> Benchmarking: descrypt, traditional crypt(3) [DES 128/128 AVX-16]... DONE
> Many salts:	5015K c/s real, 5015K c/s virtual
> Only one salt:	4779K c/s real, 4779K c/s virtual

You also get that error during bash completion (for every [tab] that
results in a  "./john --list=subformats" being executed:

$ ./john --test --format=dynamic_2Error, unknown function:
Func=Err_DynamicFunc__overwrite_from_last_output_to_input2_as_base16_no_size_fix
Error parsing section [List.Generic:dynamic_1001]
Error in line 13 file is ./dynamic.conf
Error, unknown function:
Func=Err_DynamicFunc__overwrite_from_last_output_to_input2_as_base16_no_size_fix
Error parsing section [List.Generic:dynamic_1001]
Error in line 13 file is ./dynamic.conf

dynamic_2     dynamic_2013  dynamic_21    dynamic_23    dynamic_25
dynamic_27    dynamic_29
dynamic_20    dynamic_2014  dynamic_22    dynamic_24    dynamic_26
dynamic_28
(unstable-jumbo)run $ ./john --test --format=dynamic_2

Should stderr be redirected to /dev/null (in line 300 of
john.bash_completion (unstable)?

> $ ../run/john -t -form:dynamic_21
> Benchmarking: dynamic_21, dynamic_21: HTTP Digest Access Auth [128/128 AVX intrinsics 10x4x3]... DONE
> Many salts:	1803K c/s real, 1803K c/s virtual
> Only one salt:	1749K c/s real, 1749K c/s virtual

Of course, you also get that error if you just run
$ ./john --test --format=dynamic

Frank

Powered by blists - more mailing lists

Your e-mail address:

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