[prev in list] [next in list] [prev in thread] [next in thread] 

List:       strongswan-users
Subject:    [strongSwan] facing issue for creating 2 SA's with different port numbers (Basic pfkey test program)
From:       sunil kumar <smhudgikar () gmail ! com>
Date:       2013-09-19 17:39:47
Message-ID: CAFu3O-qguajyjf2CCqaa6gE1XXMGnO3k025JJBm6jzqYavzsbA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi All,

I am trying to create Two SA's from *Source *to *Destination *with
different Port numbers.

I referred the test program given in the below link.

https://www-asim.lip6.fr/trac/netbsdtsar/browser/trunk/src/crypto/dist/ipsec-tools/src/setkey/test-pfkey.c?rev=191



I changed the function* **key_setsadbaddr*(), to add the ports passed as
input parameters.

When i tried to display SA's with command setkey -pD, it is displaying port
as Zero not the value given while creating SA's.

Please let me know, anything i need to take care while creating 2 SA's with
different Port numbers for same Source and Destination addresses.

Thanks in Advance.

Regards,
Sunilkumar


[Attachment #5 (text/html)]

<div dir="ltr">Hi All,<div><br></div><div>I am trying to create Two SA&#39;s from \
<b>Source </b>to <b>Destination </b>with different Port \
numbers.</div><div><br></div><div>I referred the test program given in the below \
link.</div> <div><br></div><div><a \
href="https://www-asim.lip6.fr/trac/netbsdtsar/browser/trunk/src/crypto/dist/ipsec-too \
ls/src/setkey/test-pfkey.c?rev=191">https://www-asim.lip6.fr/trac/netbsdtsar/browser/trunk/src/crypto/dist/ipsec-tools/src/setkey/test-pfkey.c?rev=191</a><br>
 </div><div><br></div><div><br></div><div>I changed the function<b> </b><span \
style="color:rgb(0,0,0);font-family:monospace;font-size:11px"><b>key_setsadbaddr</b>(), \
</span><span style="color:rgb(0,0,0);font-family:monospace">to add the ports passed \
as input parameters.</span></div> <div><span \
style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span \
style="color:rgb(0,0,0);font-family:monospace">When i tried to display SA&#39;s with \
command setkey -pD, it is displaying port as Zero not the value given while creating \
SA&#39;s.</span></div> <div><span \
style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span \
style="color:rgb(0,0,0);font-family:monospace">Please let me know, anything i need to \
take care while creating 2 SA&#39;s with different Port numbers for same Source and \
Destination addresses.</span></div> <div><span \
style="color:rgb(0,0,0);font-family:monospace"><br></span></div><div><span \
style="color:rgb(0,0,0);font-family:monospace">Thanks in \
Advance.</span></div><div><span style="color:rgb(0,0,0);font-family:monospace"><br> \
</span></div><div><span \
style="color:rgb(0,0,0);font-family:monospace">Regards,</span></div><div><span \
style="color:rgb(0,0,0);font-family:monospace">Sunilkumar</span></div></div>



_______________________________________________
Users mailing list
Users@lists.strongswan.org
https://lists.strongswan.org/mailman/listinfo/users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic