|
View:
New views
7 Messages
—
Rating Filter:
Alert me
|
|
|
Not constant sha1sumHello all !
Does smb met the following issue : several hash for an unique file ? Of course a big one (4 GB). OS is Linux Fedora. File system EXT3 mounted on a SATA RAID-5 on Adaptec card Could you enlighten me ? Exemple : [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 fe8195547af6d7ce76cd2e44160e06310a964063 *07667-SDH-dd.001 [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 e8dde55722ed1f2424fd7bb6246163120c561927 *07667-SDH-dd.001 [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 65f5eb98d33f7ccb1a8a82b0e6d916921c9d97b9 *07667-SDH-dd.001 The best is that the second hash is the good one ! Truly yours, Paul Vidonne -- LERTI - Laboratoire d'Expertise et de Recherche de Traces Informatiques http://www.lerti.fr +33.4 76 90 54 21 |
|
|
Re: Not constant sha1sumIf hash changes the file had changed.
Hash should be the same for the same file (if not changed) always, if not is useless. What are you doing with this file? You are writing it while hashing? You can control the access to the file? Maybe a hide program is accessing it. En/na LERTI - Paul Vidonne ha escrit: > Hello all ! > > Does smb met the following issue : several hash for an > unique file ? Of course a big one (4 GB). OS is Linux > Fedora. File system EXT3 mounted on a SATA RAID-5 on Adaptec > card > > Could you enlighten me ? > > Exemple : > [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 > fe8195547af6d7ce76cd2e44160e06310a964063 *07667-SDH-dd.001 > > [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 > e8dde55722ed1f2424fd7bb6246163120c561927 *07667-SDH-dd.001 > > [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 > 65f5eb98d33f7ccb1a8a82b0e6d916921c9d97b9 *07667-SDH-dd.001 > > The best is that the second hash is the good one ! > > Truly yours, > > Paul Vidonne > -- > LERTI - Laboratoire d'Expertise et de > Recherche de Traces Informatiques > http://www.lerti.fr +33.4 76 90 54 21 > > > > -- Isaac Perez Moncho GSEC, SSP-GHD, SSP-MPA, Microsoft MCP. JPL TSolucio S.L www.tsolucio.com |
|
|
Re: Not constant sha1sumOn Sat, 08 Sep 2007 10:33:38 +0200, LERTI - Paul Vidonne said:
> Hello all ! > > Does smb met the following issue : several hash for an > unique file ? Of course a big one (4 GB). OS is Linux > Fedora. File system EXT3 mounted on a SATA RAID-5 on Adaptec > card > > Could you enlighten me ? Most likely, you have marginal hardware, and you only *think* you're sha1sum'ing the exact same data every time. With a 4G file, it wouldn't be at all surprising if a single-bit error was creeping in once in a while. Have you run memtest86 or similar on the box in question? |
|
|
Re: Not constant sha1sumOn 9/8/07, LERTI - Paul Vidonne <paul.vidonne@...> wrote:
> Does smb met the following issue : several hash for an > unique file ? Of course a big one (4 GB). OS is Linux > Fedora. File system EXT3 mounted on a SATA RAID-5 on Adaptec > card > > Could you enlighten me ? I gather you mean you're trying to SHA1 sum a large file on an SMB share? I've seen similar tee'ing a dd image through md5sum/sha1sum over a network, and also large files on slow media (CF card). I suspect the only way you will get consistent results is if you run them on local data (i.e. copy the image locally and run it or alternatively run it on the machine which stores the data) Best Regards, Morgan |
|
|
|
|
|
Re: Not constant sha1sumOn 9/8/07, LERTI - Paul Vidonne <paul.vidonne@...> wrote:
> Hello all ! > > Does smb met the following issue : several hash for an > unique file ? Of course a big one (4 GB). OS is Linux > Fedora. File system EXT3 mounted on a SATA RAID-5 on Adaptec > card > > Could you enlighten me ? > > Exemple : > [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 > fe8195547af6d7ce76cd2e44160e06310a964063 *07667-SDH-dd.001 > > [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 > e8dde55722ed1f2424fd7bb6246163120c561927 *07667-SDH-dd.001 > > [root@spica acquisit]# sha1sum -b 07667-SDH-dd.001 > 65f5eb98d33f7ccb1a8a82b0e6d916921c9d97b9 *07667-SDH-dd.001 > The only times I've seen inconsistent hashes, there were disk errors reported in /var/log/warn. ie. Some sectors were failing the CRC check repeatedly and returning different values each time they were read. Greg -- Greg Freemyer Litigation Triage Solutions Specialist http://www.linkedin.com/in/gregfreemyer The Norcross Group The Intersection of Evidence & Technology http://www.norcrossgroup.com |
|
|
|
| Free embeddable forum powered by Nabble | Forum Help |