<DIV>
<DIV>
<DIV>Hi,</DIV>
<DIV> </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> </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" 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> </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"> </SPAN>2.0<SPAN style="mso-tab-count: 1"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </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"> </SPAN>authby=secret</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"> auth=ah</FONT></P>
<P class=MsoPlainText style="MARGIN: 0in 0in 0pt 0.75in"><FONT face="Courier New"> 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"> </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"> </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"> </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"> </SPAN>auto=start</FONT></P></DIV>
<DIV> -----------------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