<div dir="ltr"><div><div><div><div><div>So, the results are the following:<br><br></div>Clean install of debian server, installing all the requirements in order to do "make deb".<br></div>1. If I do "make deb" with the applied patch, the clients can't connect anymore. (they're getting error 809, that error that requires to change AssumeUDPEncapsulationContextOnSendrule to value "2".<br></div>2. If I do "make deb" WITHOUT the applied patch, using the exactly same configure files, they can connect instantly.<br><br></div>Here you can find debug=all of ipsec using the patch -> <a href="https://pastebin.com/raw/rT42uiE8">https://pastebin.com/raw/rT42uiE8</a><br></div>Thank you!<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-04-12 23:59 GMT+03:00 Mircea Troaca <span dir="ltr"><<a href="mailto:mircea.troaca@net.ase.ro" target="_blank">mircea.troaca@net.ase.ro</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">After I applied the patch with a success and installing the .deb package worked like a charm.<div>But.. the problems appears again.. </div><div>After installing the .deb with dpkg, when I try, as a client, to connect to the server, on windows I am getting 809 error (that retarded thing which makes u modify windows registry and set value 2 on AssumeUDPEncapsulation) with the EXACTLY same config of ipsec..</div><div><br></div><div>Thank you for everything so far.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-04-12 20:01 GMT+03:00 Paul Wouters <span dir="ltr"><<a href="mailto:paul@nohats.ca" target="_blank">paul@nohats.ca</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, 12 Apr 2018, Mircea Troaca wrote:<br>
<br>
</span><span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Excuse my "stupidity".. but, how? :D<br>
I am running on a debian 9 server<br>
</blockquote>
<br></span>
once you have the proper buildessentials installed, you can try this:<br>
<br>
wget <a href="http://download.libreswan.org/libreswan-3.23.tar.gz" rel="noreferrer" target="_blank">download.libreswan.org/libresw<wbr>an-3.23.tar.gz</a><br>
tar zxf libreswan-3.23.tar.gz<br>
cd libreswan-3.23<br>
patch -p1 -s < /path/to/file.patch<br>
make deb<span class="m_9183683921569830540HOEnZb"><font color="#888888"><br>
<br>
Paul<br>
</font></span></blockquote></div><br></div>
</div></div></blockquote></div><br></div>