Re: dd / netcat / md5sums: hashes do not match
From: solana (solana_nexus_at_hotmail.com)
Date: 09/18/03
- Next message: Sherman H.: "Another AIX Security Question"
- Previous message: all mail refused: "Re: dd / netcat / md5sums: hashes do not match"
- In reply to: Mark Hittinger: "Re: dd / netcat / md5sums: hashes do not match"
- Next in thread: Casper H.S. ***: "Re: dd / netcat / md5sums: hashes do not match"
- Reply: Casper H.S. ***: "Re: dd / netcat / md5sums: hashes do not match"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: 18 Sep 2003 07:03:00 -0700
bugs@pu.net (Mark Hittinger) wrote in message news:<nN7ab.489447$Ho3.82885@sccrnsc03>...
> solana_nexus@hotmail.com (solana) writes:
> >B# nc -l -p 6789 | dd of=./hda1.img bs=512 conv=noerror
> >A# dd if=/dev/hda1 bs=512 conv=noerror | nc <B's IP> 6789
> >however, the md5 hashes dont check out / do not match up.
> >Any idea what I am doing wrong?
>
> conv=noerror,sync
>
> Later
>
> Mark Hittinger
> bugs@pu.net
ran it as
B# nc -l -p 6789 | dd of=./hda1.img bs=512 conv=noerror,sync
A# dd if=/dev/hda1 bs=512 conv=noerror,sync | nc <B's IP> 6789
Still gives different md5sum results.
btw. the 'records' output also differs.
On A:
3084416+0 records in
3084416+0 records out
On B (the receiver):
2323232+1140752 records in
3463984+0 records out
btw filesizes:
A: df -k
/dev/hda1 -> 1k-blocks=1517920 (which would make 1517920*1024
=1554350080 bytes if I am correct)
B: ls -l
hda1.img -> 1773559808 bytes
wonder if that would matter..
however, A is a live system. Cant unmount hda1 since it happens to be
the / part. cant boot into single user since I then wouldnt have
network conn, i.e. not be able to transfer the file.
am i just SOL?
- Next message: Sherman H.: "Another AIX Security Question"
- Previous message: all mail refused: "Re: dd / netcat / md5sums: hashes do not match"
- In reply to: Mark Hittinger: "Re: dd / netcat / md5sums: hashes do not match"
- Next in thread: Casper H.S. ***: "Re: dd / netcat / md5sums: hashes do not match"
- Reply: Casper H.S. ***: "Re: dd / netcat / md5sums: hashes do not match"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]