Project

General

Profile

Actions

Feature #693

closed

More info/description on MD5 sum failure to load

Added by Peter Manev almost 12 years ago. Updated almost 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Effort:
Difficulty:
Label:

Description

[5995] 27/12/2012 -- 19:50:05 - (detect-filemd5.c:107) <Error> (Md5ReadString) -- [ERRCODE: SC_ERR_INVALID_MD5(208)] - md5 string not 32 bytes

In the above run(starting Suricata) I load two MD5 files - couple of mil each .

With the err above it is hard to determine where the bad MD5 sum is.
It would be helpful if it is a bit more descriptive - which file, which line, which MD5.

Actions #1

Updated by Victor Julien almost 12 years ago

  • Status changed from New to Assigned
  • Assignee set to Victor Julien
  • Target version set to 1.4.1
Actions #2

Updated by Victor Julien almost 12 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Error is now:

[19451] 9/1/2013 -- 14:08:44 - (detect-filemd5.c:108) <Error> (Md5ReadString) -- [ERRCODE: SC_ERR_INVALID_MD5(208)] - /etc/suricata/rules/md5list:20 md5 string not 32 bytes

Fixed in:

commit 80ed1ba008ed836821d08506b8e95f40d2f160b4
Author: Victor Julien <victor@inliniac.net>
Date:   Wed Jan 9 14:07:52 2013 +0100

    file md5: print filename and line number on md5 parse errors. Bug #693.

Actions

Also available in: Atom PDF