<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Arial, sans-serif" size="2">
<div>We want to do a load test. Thus I have compiled strongSwan 5.1.2 and enabled</div>
<div>the load-tester plugin by --enable-load-tester.</div>
<div>This seems to be fine.</div>
<div> </div>
<div>Then I have removed the key from /etc/ipsec.secrets</div>
<div>I added the following in /etc/strongswan.conf:</div>
<div> </div>
<div> plugins {</div>
<div> load-tester {</div>
<div> # enable the plugin</div>
<div> enable = yes</div>
<div> # use 4 threads to initiate connections simultaneously</div>
<div> initiators = 4</div>
<div> # each thread initiates 1000 connections</div>
<div> iterations = 1000</div>
<div> # delay each initiation in each thread by 20ms</div>
<div> delay = 20</div>
<div> # fake the kernel interface to avoid SA conflicts</div>
<div> fake_kernel = yes</div>
<div> }</div>
<div> }</div>
<div> </div>
<div>I have restarted ipsec: sudo ipsec restart</div>
<div> </div>
<div>Then I have started the load test: ipsec load-tester initiate 1 1</div>
<div> </div>
<div>The following appears on the command line: .***-</div>
<div> </div>
<div>I have looked into the logfile and saw that the tunnel establishment is</div>
<div>failing</div>
<div>MAC verification failed. Verifying encryption payload integrity failed.</div>
<div>Could not decrypt payloads. Integrity check failed.</div>
<div> </div>
<div>I have attached a screenshot of the log.</div>
<div><img src="cid:1f5326ce-c2f7-48aa-b028-ab0443338833"> </div>
<div> </div>
<div>Can you help on this?</div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
<div><font face="Calibri, sans-serif" size="2"> </font></div>
</font>
</body>
</html>