<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>
<div>
<div><span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: 22.4px; widows: 1; background-color: rgb(255, 255, 255);">Found
 a problem when making some benchmark testing. The XID is incremented wrongly.</span><br style="box-sizing: border-box; color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: 22.4px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: 22.4px; widows: 1; background-color: rgb(255, 255, 255);">A
 XID should last for the duration of a SORA 4-way handshake...</span></div>
<div><br>
</div>
<div>However it doesn’t seem to be working properly:</div>
<div><br>
</div>
<div>
<pre style="box-sizing: border-box; overflow: auto; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; margin-top: 0px; margin-bottom: 16px; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: 1.45; padding: 16px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-wrap: normal; color: rgb(51, 51, 51); widows: 1; background-color: rgb(247, 247, 247);"><code style="box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 11.9px; padding: 0px; margin: 0px; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; word-break: normal; border: 0px; display: inline; line-height: inherit; word-wrap: normal; background-color: transparent; background-position: initial initial; background-repeat: initial initial;">    $ perfdhcp -4 -r 1 -n 2 -p 60 -t 1 -b mac=90:e2:ba:95:b9:28 10.88.45.33
    $ sudo tshark udp port 67
    Running as user "root" and group "root". This could be dangerous.
    Capturing on 'eth0'
      1   0.000000 10.35.166.47 -> 10.88.45.33  DHCP 295 DHCP Discover - Transaction ID 0x0
      2   0.030098  10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP Offer    - Transaction ID 0x0
      3   0.030426 10.35.166.47 -> 10.88.45.33  DHCP 307 DHCP Request  - Transaction ID 0x1
      4   0.057158  10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP ACK      - Transaction ID 0x1
      5   1.000689 10.35.166.47 -> 10.88.45.33  DHCP 295 DHCP Discover - Transaction ID 0x2
      6   1.027757  10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP Offer    - Transaction ID 0x2
      7   1.027866 10.35.166.47 -> 10.88.45.33  DHCP 307 DHCP Request  - Transaction ID 0x3
      8   1.047429  10.88.45.33 -> 10.35.166.47 DHCP 416 DHCP ACK      - Transaction ID 0x3</code></pre>
</div>
<div>I made a PR on github for this in case you want to take a look:</div>
<div><br>
</div>
<div><a href="https://github.com/isc-projects/kea/pull/19">https://github.com/isc-projects/kea/pull/19</a></div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div>
<div>-- </div>
<div>Angelo Failla</div>
</div>
<div>Cluster Infrastructure - Dublin</div>
<div>Pallotron@fb.com</div>
</div>
</div>
</div>
</div>
</body>
</html>