<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IS-IS MD5 authentication compute in ExtremeSwitching (VSP/Fabric Engine)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/is-is-md5-authentication-compute/m-p/120987#M3151</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.extremenetworks.com/t5/user/viewprofilepage/user-id/47499"&gt;@flan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm trying to reproduce the digest observed on a packet capture. It seems simple, and it should be, but as you could read, I'm unable despite multiple permutation in the algorithm.&lt;/P&gt;&lt;P&gt;I know SHA-256 should be prefered to MD5, but I've also tried to reproduce the HMAC-SHA-256 digest without luck. The algorithm to compute the digest is also a bit more complex than MD5 so I decided to start as simple as possible with MD5.&lt;/P&gt;&lt;P&gt;Both authentication works on NNI links, I have no issue with this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Dec 2025 09:13:38 GMT</pubDate>
    <dc:creator>Yoann_Jonard</dc:creator>
    <dc:date>2025-12-18T09:13:38Z</dc:date>
    <item>
      <title>IS-IS MD5 authentication compute</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/is-is-md5-authentication-compute/m-p/120893#M3138</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;&lt;P&gt;I'm working on ISIS md5 authentication and I struggle to reproduce the digest the switches display.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've read &lt;A href="https://datatracker.ietf.org/doc/html/rfc5304" target="_self"&gt;RFC 5304&lt;/A&gt; which mentions that the Authentication Value field of the ISIS Hello PDU must be set to 0 before computing the authentication digest. Pretty simple isn'it ?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;However, I am unable to reconstruct the digest the switches are sending to each other.&lt;/P&gt;&lt;P&gt;Here is the ISIS Hello PDU sent between a 5320 and a 4420 running VOSS 9.3.0.0 with MD5 authentication.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;01deadbeefbb13001b00c00301080749c0de15152025f00f00000000cae4fd8c3d0484000000ca8102c18f8f7800000466000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060c0080c201fd3c0080c202fd4c0a1136de92776eb44ac356fd0fbd934efcf233&lt;/LI-CODE&gt;&lt;P&gt;The authentication value field is the last 16 bytes : de9277...&lt;BR /&gt;From my understanding I should only have to zeroed this field, and compute a HMAC-MD5 with the key ("totototototototo") and the ISIS PDU.&lt;BR /&gt;&lt;EM&gt;Note : The key has been configured to 16 bytes to exclude any kind of padding on the key as we can have with HMAC-SHA256.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This does not work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;As the RFC states &lt;EM&gt;"The HMAC-MD5 result for the IS-IS Hello PDUs SHALL be calculated after the packet is padded to the MTU size, if padding is not disabled"&lt;/EM&gt;, and the hello-padding is indeed enabled in the configuration.&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="padding-enabled.png" style="width: 999px;"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/9267iEC8D212BC48A1079/image-size/large?v=v2&amp;amp;px=999" role="button" title="padding-enabled.png" alt="padding-enabled.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Ok so let's pad to 1484 bytes (for a total frame size of 1513 bytes) with 0x00.&lt;BR /&gt;Why 1484 you would say ? Because that's the padding observed at the very beginning of the adjacency creation (which then disappear which suggests the padding is in loose mode)&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="isis-padding-size.png" style="width: 999px;"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/9268i46174F051ED1FE56/image-size/large?v=v2&amp;amp;px=999" role="button" title="isis-padding-size.png" alt="isis-padding-size.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It does not work&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let's pad with the same padding structure we observe in the capture : the padding tlv (08) + the padding length (max 254) + the padded zeros&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="isis-padding.png" style="width: 999px;"&gt;&lt;img src="https://community.extremenetworks.com/t5/image/serverpage/image-id/9270i03261CDB41A5B90B/image-size/large?v=v2&amp;amp;px=999" role="button" title="isis-padding.png" alt="isis-padding.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It does not work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Let's try all the possible padding length between 0 and 9600 (L3 MTU is different from L2 MTU but I'm kind of desperate here).&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It does not work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;So I'm kind of lost here on why the digests do not match.&lt;/P&gt;&lt;P&gt;I've also tried to MD5 the key before applying the HMAC-MD5 but no luck.&amp;nbsp;The only thing I can think of is that the key is somehow modified before the hmac computation, or another field of the PDU is zeroed.&lt;/P&gt;&lt;P&gt;Does someone know how this digest compute work and what I'm missing ?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 04 Dec 2025 10:04:46 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/is-is-md5-authentication-compute/m-p/120893#M3138</guid>
      <dc:creator>Yoann_Jonard</dc:creator>
      <dc:date>2025-12-04T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: IS-IS MD5 authentication compute</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/is-is-md5-authentication-compute/m-p/120982#M3150</link>
      <description>&lt;P&gt;At first I was trying to figure out what you were trying to accomplish. If you are trying to figure out how they display the digest? I can't help you there. However,&amp;nbsp; If you are talking about authenticating the NNI port. MD5 is not the best practice. The best practice is to use the hello-auth type hmac-sha-256. Give that a go and see if that works.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flan&lt;/P&gt;&lt;P&gt;--See you in class!!!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Dec 2025 16:42:35 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/is-is-md5-authentication-compute/m-p/120982#M3150</guid>
      <dc:creator>flan</dc:creator>
      <dc:date>2025-12-17T16:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: IS-IS MD5 authentication compute</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/is-is-md5-authentication-compute/m-p/120987#M3151</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.extremenetworks.com/t5/user/viewprofilepage/user-id/47499"&gt;@flan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I'm trying to reproduce the digest observed on a packet capture. It seems simple, and it should be, but as you could read, I'm unable despite multiple permutation in the algorithm.&lt;/P&gt;&lt;P&gt;I know SHA-256 should be prefered to MD5, but I've also tried to reproduce the HMAC-SHA-256 digest without luck. The algorithm to compute the digest is also a bit more complex than MD5 so I decided to start as simple as possible with MD5.&lt;/P&gt;&lt;P&gt;Both authentication works on NNI links, I have no issue with this &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Dec 2025 09:13:38 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-vsp-fabric/is-is-md5-authentication-compute/m-p/120987#M3151</guid>
      <dc:creator>Yoann_Jonard</dc:creator>
      <dc:date>2025-12-18T09:13:38Z</dc:date>
    </item>
  </channel>
</rss>

