Hashes & Checksums

From DD-WRT Wiki

(Redirected from Hashes)
Jump to: navigation, search

A hash (or checksum) is a simple type of redundancy check that is used to detect errors in data. It is often used to verify the contents of critical data, such as software packages, ISO images, or in our case a downloaded firmware binary. When we verify the hash, we can rest assured the firmware is not corrupted and is safe to flash.


WARNING: It can prevent MITM attacks to access your firmware and hashes via an encrypted link, i.e. the httpS version of the downloads section and the httpS version of this article, both of which are served with a valid (CA-signed) SSL certificate.

Developers have begun posting the hashes of recent builds in a file labeled MD5SUMS located in the same directory as the firmware files. Keep this in mind, as you may need to locate them if you don't happen to see the hash for your particular binary below.


Contents


[edit] Verifying Hashes

[edit] Using Linux

Open a command shell. Type,

md5sum /path/to/firmware.bin

Look at the hash value and compare it to the one shown below. If the values don't match, something is wrong. DO NOT flash the firmware until you can verify that the hash is correct!

[edit] Using Windows

For Windows, I recommend installing a handy freeware app named HashTab.

Once HashTab is installed, simply right-click on the downloaded firmware file, go to Properties > File Hashes tab.

Look at the MD5 hash value and compare it to the one shown below (You can also copy/paste the hash from below into HashTab for a quick comparison). If the values don't match, something is wrong. DO NOT flash the firmware until you can verify that the hash is correct!

[edit] Using MacOS

Open Terminal. (It's in the Utilities folder inside Applications.) Type:

/usr/bin/openssl md5 /path/to/firmware.bin

e.g. /usr/bin/openssl md5 ~/Desktop/dd-wrt.v23_sp2_vpn/dd-wrt.v23_vpn_generic.bin If you drag the firmware file onto the Terminal window, MacOS will insert the full pathname of the firmware file for you. :)

Look at the hash value and compare it to the one shown below. If the values don't match, something is wrong. DO NOT flash the firmware until you can verify that the hash is correct!

[edit] Hashes

[edit] DD-WRT v24 SP1

[edit] DD-WRT v24

  • Eko's RC6 builds
    • 4cb8b1df54fd4003a5dc57d667d459f2 *dd-wrt.v24_rc6-8733_535x_micro.bin
    • 6100aa5b5c21b89473a61495fe837b75 *dd-wrt.v24_rc6-8733_535x_mini.bin
    • a1ab8467c6b4e5adcc1638f3b1ff95c9 *dd-wrt.v24_rc6-8733_535x_nokaid.bin
    • 2131a932a6fc8af547af154d930c8817 *dd-wrt.v24_rc6-8733_micro.bin
    • a97216c21f249ad8a14aa60c90e14e18 *dd-wrt.v24_rc6-8733_mini.bin
    • 2b2ab6f91bd6391a699ca1fb3bcc651b *dd-wrt.v24_rc6-8733_nokaid.bin
    • 9955e13e6ba40aa9dab7930bd751aad7 *dd-wrt.v24_rc6-8733_SF_micro.bin
    • 366c52c6de48896ab2a1d35ef72aeb67 *dd-wrt.v24_RC6-8727_535x_micro.bin
    • 44e4194994ba1a540b401d5e0ceeb22f *dd-wrt.v24_RC6-8727_535x_mini.bin
    • 2a127180a2bc6002a5865051da34f631 *dd-wrt.v24_RC6-8727_535x_nokaid.bin
    • ecfce149e118551e15d23317a5f48b70 *dd-wrt.v24_RC6-8727_535x_nokaid_nogiga.bin
    • d124b2287f3c894f87d4051aa68eed97 *dd-wrt.v24_RC6-8727_535x_std.bin
    • 7cb6b6accecea9e9b7f4d07987ba8593 *dd-wrt.v24_RC6-8727_535x_voip.bin
    • 0352396380da23c370dbd4f49d53764b *dd-wrt.v24_RC6-8727_micro.bin
    • 87af45ce01c306fce62da5b561884ced *dd-wrt.v24_RC6-8727_mini.bin
    • 0554be07e9ec86d77e9eb982cba04c8c *dd-wrt.v24_RC6-8727_nokaid.bin
    • 48b5391f332fd2b679211ceb1c0be050 *dd-wrt.v24_RC6-8727_nokaid_nogiga.bin
    • 20a54bc7b54cbc6a0d09c35872bd1eb1 *dd-wrt.v24_RC6-8727_std.bin
    • 25f377807889cf2f727c25417a834a6e *dd-wrt.v24_RC6-8727_voip.bin
  • Eko's RC5 builds
    • da523a679d32b626d2c1498e03b5f0d2 RC5-8360/dd-wrt.v24_micro8360-5354.bin
    • a328c9abeb6bdfbebe82b869cbaeea85 RC5-8360/dd-wrt.v24_micro8366.bin
    • c4c2220240ccc42ebe6749bee286415e RC5-8360/dd-wrt.v24_mini8360-5354.bin
    • cead4582a687bc2b82b4cb77d99c1ac4 RC5-8360/dd-wrt.v24_mini8360.bin
    • b558c219c7bb99d1dd6c206184cf951a RC5-8360/dd-wrt.v24_nokaid8360-5354.bin
    • b0e8dd94a9266f3e0857ef8782bae17f RC5-8360/dd-wrt.v24_nokaid8360-nogiga.bin
    • 586e0f7fc450bf2f10e327207ccb1266 RC5-8360/dd-wrt.v24_nokaid8360.bin
    • 684e4a9d55620c194a809cf3b47f1b56 RC5-8360/dd-wrt.v24_voip8360-5354.bin
    • ae4775dfde71c9426ece2ef1b701ee24 RC5-8360/dd-wrt.v24_voip8360-nogiga.bin
    • d9cf65d91c970dd4b046bacf4f47baed RC5-8430/dd-wrt.v24_micro8430.bin
    • a93b52512d84512d75f926742eedcfcc RC5-8430/dd-wrt.v24_mini8430.bin
    • f98f12901ec9f7c5a85fadf693e3d91c RC5-8430/dd-wrt.v24_nokaid8430-nogiga.bin
    • 046513fa6791b6f38508044b5b2cdae9 RC5-8430/dd-wrt.v24_nokaid8430.bin
    • 7491aba96f181582b3f692f1b2fcc1bf RC5-8430/dd-wrt.v24_voip8430new-5354.bin
    • 0642b4b7a28c5a9c0d46ff21efefb300 RC5-8436/dd-wrt.v24_nokaid8436-5354.bin
    • 38a3126c92458e020f2f0a752f079b5c RC5-8442/dd-wrt.v24_micro8442-535x.bin
    • 63fb475bb1aac6225316c3e32bbf5016 RC5-8442/dd-wrt.v24_micro8442.bin
    • db23feb3b036b20229fc1ae8b709c9fb RC5-8442/dd-wrt.v24_mini8442-535x.bin
    • 7c4492f2db9ca883d94b1f5ff7a13cac RC5-8442/dd-wrt.v24_mini8442.bin
    • 0d47f44e2bb69b24f88028960bed0e91 RC5-8442/dd-wrt.v24_nokaid8442-535x.bin
    • ee0e2f5e48ec69e1541dd13ebc6ce195 RC5-8442/dd-wrt.v24_voip8442-535x.bin




[edit] DD-WRT v23 SP1

  • micro
    • f093469dd67a514477a2bfe798ab654b dd-wrt.v23_micro_asus.trx
    • f7a81a33a57534c18b50eb84bb59e61b dd-wrt.v23_micro_generic.bin
    • d7f8a17dd4eea3491003449b521de56e dd-wrt.v23_micro_moto.bin
    • 2c7cb5352e481b9f9e25bdc1c83d7bad dd-wrt.v23_micro_wrt54g.bin
    • 659d99483fa5555ece23a5ff639c3d92 dd-wrt.v23_micro_wrt54gs.bin
    • e6936654f4d9cb07bfebc4895411d56b dd-wrt.v23_micro_wrt54gsv4.bin
  • mini
    • e2885a43dd4acf78b2cc20e8826a5a66 dd-wrt.v23_mini_asus.trx confirmed Towsonu2003 21:48, 7 Sep 2006 (CEST)
    • 4f0a4bfaeccfbf647586cf8380f94ff2 dd-wrt.v23_mini_generic.bin confirmed
    • 465e42f24efdd2b5938bd191ab1e9402 dd-wrt.v23_mini_moto.bin confirmed Towsonu2003 21:48, 7 Sep 2006 (CEST)
    • 70a393c48ba2a873e0ffed29bde2aacd dd-wrt.v23_mini_wrt54g.bin confirmed Towsonu2003 21:48, 7 Sep 2006 (CEST)
    • f0615cbac03cde73ac480f7878853329 dd-wrt.v23_mini_wrt54gs.bin confirmed Towsonu2003 21:48, 7 Sep 2006 (CEST)
    • 503f79f3e08ff15f423ac2d559c70130 dd-wrt.v23_mini_wrt54gsv4.bin confirmed Towsonu2003 21:48, 7 Sep 2006 (CEST)
  • standard
    • c086a680dedd315559e1ae8a1ac2e51f dd-wrt.v23_asus.trx confirmed Towsonu2003 21:48, 7 Sep 2006 (CEST)
    • 5d4715b63e728f1f52e79c015e80e720 dd-wrt.v23_generic.bin confirmed
    • 68c676180340f53a905add99db586cd6 dd-wrt.v23_wrt54g.bin confirmed
    • 5d87d3cf26f005b45dd50dec63b4c0e5 dd-wrt.v23_wrt54gs.bin confirmed
    • f94b38b4661f8c3bd0d13ecc3c6c0475 dd-wrt.v23_wrt54gsv4.bin confirmed
  • voip
    • 8957bdb2a6ac81a104e0489f907ca418 dd-wrt.v23_voip.bin
    • e53995cf6c369d143df761e2829bf311 dd-wrt.v23_voip_asus.trx
    • 9aa5676d2823f6f180986f80dd549ece dd-wrt.v23_voip_wrt54g.bin
    • 1ef62da77b9a249e7fc47deb7d939fd4 dd-wrt.v23_voip_wrt54gs.bin
    • 50d70d2c27a5b488ecd05fcc10b35ab2 dd-wrt.v23_voip_wrt54gsv4.bin
  • vpn
    • 6161062bc8c2b011b61bd10efa3da46d dd-wrt.v23_vpn_asus.trx
    • 8da89170900a10ec358af677fbf827b1 dd-wrt.v23_vpn_generic.bin
    • 32e0bfbf18942437882e1a1ef995dfec dd-wrt.v23_vpn_wrt54g.bin
    • eec0542531fb6b5f42499e331b5cceee dd-wrt.v23_vpn_wrt54gs.bin
    • 73864e502f124055aec35133870e92a8 dd-wrt.v23_vpn_wrt54gsv4.bin



[edit] DD-WRT v23 SP2

  • micro
    • 89fe23ff53a1cda82cafb9c5bd0187ff dd-wrt.v23_sp2_micro.zip
    • 4ba53798b42c7f6140fb2790394be09c dd-wrt.v23_micro_asus.trx
    • 8e993eb32cbfd023dc060a94e100edfc dd-wrt.v23_micro_generic.bin
    • 9a5a12b0a2cd6df132e277d7983e776f dd-wrt.v23_micro_moto.bin
    • 7750998f4002f90a7230a2601bba22a6 dd-wrt.v23_micro_wrt54g.bin
    • a9d3235960bf3fda12eb065c8d0546e0 dd-wrt.v23_micro_wrt54gs.bin
    • 20d177aaaf5f61dee98b34589230c8b3 dd-wrt.v23_micro_wrt54gsv4.bin
    • a67a593763ce4af0a99c6384e03565df dd-wrt.v23_micro_wrtsl54gs.bin
  • mini
    • 959b8a43a276b5bc5d2f88e5d056c39a dd-wrt.v23_sp2_mini.zip
    • b525bd4006c988018a17b87d45268bbc dd-wrt.v23_mini_asus.trx
    • fee2396286ccce8d2fe9f276a78b9959 dd-wrt.v23_mini_generic.bin
    • 74858eb39e83125ca695e42f09833f2a dd-wrt.v23_mini_moto.bin
    • 2f6d328d1274ceb65bc2c2afe6fa6808 dd-wrt.v23_mini_wrt54g.bin
    • 84d5ae385040074c40c81a6809c00571 dd-wrt.v23_mini_wrt54gs.bin
    • 6f4aa6da402b922661fb2794af055103 dd-wrt.v23_mini_wrt54gsv4.bin
    • a578329c12dc2a362bd2fe9951489a5b dd-wrt.v23_mini_wrtsl54gs.bin
  • standard
    • de002074ad7f8aff62d79f6c8a7cec8d dd-wrt.v23_sp2_standard.zip
    • 5aaefd273a91234ffc151fabb56ab99e dd-wrt.v23_asus.trx
    • c1f2183d8791ecb2d8251562753b7310 dd-wrt.v23_generic.bin
    • 5155cf4523f8b8ae5ff3c8c93abec0de dd-wrt.v23_wrt54g.bin
    • 6cc2485b6b31d3e77260d186ab3fec99 dd-wrt.v23_wrt54gs.bin
    • 7fa6598ab00a0184ad35f4837a9fc448 dd-wrt.v23_wrt54gsv4.bin
    • 06c96399f3286b58eddfe37cec5d8411 dd-wrt.v23_wrtsl54gs.bin
  • voip
    • 3e81b0ce956af79332090a36f64b631c dd-wrt.v23_sp2_voip.zip
    • 2ca8a58dd287c074fc866ac8754b9bcb dd-wrt.v23_voip_asus.trx
    • 11b1e45ac09e1c075cdf88b36e5d896a dd-wrt.v23_voip.bin
    • 5b4c76b7b2719ea17088f2b17edd088a dd-wrt.v23_voip_wrt54g.bin
    • c8092d73cd792c365be1f9440d3f2d0e dd-wrt.v23_voip_wrt54gs.bin
    • de2636e0dbd7f4450c66382ce5f5d418 dd-wrt.v23_voip_wrt54gsv4.bin
    • 78d2b2a2bd8eaf12c930c98b88fb1291 dd-wrt.v23_voip_wrtsl54gs.bin
  • vpn
    • d6196508afdeb3e10eaea431541e4f53 dd-wrt.v23_sp2_vpn.zip
    • 0501498bdaf423a764f03869796df9b8 dd-wrt.v23_vpn_asus.trx
    • baf91850d3204fd64b120467425b4a11 dd-wrt.v23_vpn_generic.bin
    • b096b5920165818c1d2e674de85f61d1 dd-wrt.v23_vpn_wrt54g.bin
    • 87a20f63ea4432fb46a1ed6a7a832231 dd-wrt.v23_vpn_wrt54gs.bin
    • d9b91588a047a0c460d868d08c12e1cc dd-wrt.v23_vpn_wrt54gsv4.bin
    • 0c588ee3352634dd752f031d48e4c586 dd-wrt.v23_vpn_wrtsl54gs.bin

[edit] SHA1SUM

  • micro
    • e462c532d54376b70532c3bf89b5e9eb71b16a01 dd-wrt.v23_sp2_micro.zip
    • e698a2651631f8cbec3c77864a0be68f426f47cb dd-wrt.v23_micro_asus.trx
    • 35ce99aa1251ac282c4f0f9360c0cebb97b09ab2 dd-wrt.v23_micro_generic.bin
    • 45dafbf99e15d06918b5c0b117fa6713c4d861a9 dd-wrt.v23_micro_moto.bin
    • 371d278de19e63f7847c5d7e5afceffca6fbced7 dd-wrt.v23_micro_wrt54g.bin
    • f8a477eea320a3e642a4ede812e20e65f569cae0 dd-wrt.v23_micro_wrt54gs.bin
    • 39e949669487b3a1c53ed7b6b22fc4e1e8ffefcb dd-wrt.v23_micro_wrt54gsv4.bin
    • 1c0f99edb369d29745735f629d55a0882c2a6c7b dd-wrt.v23_micro_wrtsl54gs.bin
  • mini
    • 6ae056f7484ead74bbaed06b4caf3aa3b0b702fd dd-wrt.v23_sp2_mini.zip
    • ae9534e3376d57863125e12b44db671c75aa3d2a dd-wrt.v23_mini_asus.trx
    • b3879302048ec43738ded8a186d948b73dddb5fe dd-wrt.v23_mini_generic.bin
    • d7098e93607894121de5114e10c3703bab2fd1a6 dd-wrt.v23_mini_moto.bin
    • 2b644822c99aa4d9016fd18c5555d3a801ac30fb dd-wrt.v23_mini_wrt54g.bin
    • 9e76b4e18a9502ea0960cf11fd28c9d813ad4823 dd-wrt.v23_mini_wrt54gs.bin
    • 32f11a3a05481bd201dbd49d2056602337f570cf dd-wrt.v23_mini_wrt54gsv4.bin
    • 83195fe2035d262ddb8f084a4e1c5715008cdd11 dd-wrt.v23_mini_wrtsl54gs.bin
  • standard
    • 0b8f6519471f99fd678863af290c1afb017bc774 dd-wrt.v23_sp2_standard.zip
    • c9158d31c7b59611cabb325bb2286ab58db7dfa3 dd-wrt.v23_asus.trx
    • 9d167a7540436867904f1623885a47f3a90c147e dd-wrt.v23_generic.bin
    • 53bdb012b20f07ce872cc5d0c236ff4b1adb77e3 dd-wrt.v23_wrt54g.bin
    • 71d060ac978a5b17b382a614c6d397aa9c7f20b1 dd-wrt.v23_wrt54gs.bin
    • 4dbb6655bc1b04264bcb0a96d85d0457f58a413b dd-wrt.v23_wrt54gsv4.bin
    • 89c379464152bc569f6fc0e483ca3d06e70c081f dd-wrt.v23_wrtsl54gs.bin
  • voip
    • 535a30324b2f6aa60945a950d3917e3d0152ca58 dd-wrt.v23_sp2_voip.zip
    • d91c96c4b162ddac36c780594338df2ab3a6fc31 dd-wrt.v23_voip.bin
    • d35d3f8c3b239a4fe772e146a5ae31309cc4cc5d dd-wrt.v23_voip_asus.trx
    • 6ef2eb441f1ebff00b97f470492bac1ec082240a dd-wrt.v23_voip_wrt54g.bin
    • 1bd5e81b524377325f690197282b3085f6b629d6 dd-wrt.v23_voip_wrt54gs.bin
    • 6d920712aa34d8da9ddfd70b66ec7ec2aff8a6b5 dd-wrt.v23_voip_wrt54gsv4.bin
    • c00bb951a034ee56e60223d2ed8b26c030a7b953 dd-wrt.v23_voip_wrtsl54gs.bin
  • vpn
    • 0680c62ddf024b654d8d49b85728621c550cf9ee dd-wrt.v23_sp2_vpn.zip
    • a8712d1cc0e68ca3dc85a780a3d439866afa0b4f dd-wrt.v23_vpn_asus.trx
    • ae2df8f84274fc8881c7b0890f36272572662e5a dd-wrt.v23_vpn_generic.bin
    • d0ab185074540015e96115c6819ba1993aed2ea0 dd-wrt.v23_vpn_wrt54g.bin
    • 65a0daa4f05e563bfcfb22d0ec3c90f5121d5c76 dd-wrt.v23_vpn_wrt54gs.bin
    • 8154cf759f3de918b09014f836aa1bc11473567e dd-wrt.v23_vpn_wrt54gsv4.bin
    • f333c80550c455bec783c48bfcde83a8a54870cf dd-wrt.v23_vpn_wrtsl54gs.bin

[edit] Notes from BrainSlayer

When flashing from the web interface, the checksum is always checked and it will be performed completely if the router has enough memory free for storing the image into the RAM. If this is not the case, the firmware will be flashed and a checksum error will be displayed at the end, but the router will not reboot in this case. So you're still able to reflash it.

When flashing via TFTP, the bootloader always checks the checksum before flashing and refuses to do it if the checksum is invalid.

It does matter if you transfer the file with tftp (udp) or web (tcp) as far as the checksum is checked internally after the file arrived and this is done. So tftp can also be used as safe flashing way.