<DIV>
<DIV>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I downloaded openswan-2.4.0rc4.tar.gz from openswan.org and then I configured the file ipsec.conf for NULL encryption using esp=NULL. Further, I checked that the NULL encryption is implemented in the code (ESP_NULL), so </DIV>
<DIV>&nbsp;</DIV>
<DIV>1) I had set the value of the flag SUPPORT_ESP_NULL in the file spdb.c as shown below:<BR><BR>#define SUPPORT_ESP_NULL 1<BR></DIV>
<DIV>2) Further, I had set "CONFIG_KLIPS_ENC_CRYPTOAPI=y"&nbsp;in defconfig file.</DIV>
<DIV><BR>However, NULL encryption is not working at all. Could somebody guide me through this problem. I would really appreciate any kind of help.<BR></DIV>
<DIV>Here is the setting of my ipsec.conf file:</DIV>
<DIV>&nbsp;</DIV>
<DIV>---------------x-------------------x----------------------x</DIV>
<DIV>//ipsec.conf file</DIV>
<DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt 0.75in"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">version<SPAN style="mso-tab-count: 1">&nbsp; </SPAN>2.0<SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><o:p><FONT face="Courier New">&nbsp;</FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New">config setup</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>interfaces="ipsec0=eth1"</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>plutodebug=all</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New">#Disable Opportunistic Encryption</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New">include /etc/ipsec.d/examples/no_oe.conf</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><o:p><FONT face="Courier New">&nbsp;</FONT></o:p></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New">conn ipv4-p1-p2</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>left=193.127.1.1</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>right=193.1.1.1</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>connaddrfamily=ipv4</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>authby=secret</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New">&nbsp;&nbsp;&nbsp;auth=ah</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New">&nbsp;&nbsp; ah=hmac-md5</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>esp=NULL</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1"></SPAN></FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>type=transport</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>compress=no</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp; </SPAN>auto=start</FONT></P></DIV>
<DIV>&nbsp;-----------------x---------------------x--------------------x</DIV>
<DIV><BR>Thanks in advance,<BR>Neha<BR></DIV></DIV></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com