Project

General

Profile

Bug #2794

Updated by Tobias Brunner almost 2 years ago

Hi Team,

I used the below configuration in the ipsec.conf, I'm able to establish tunnels with the multiple peers as i've not mentioned the me_peerid (accroding to the man page , it says if me_peerid is not given it will take up as the right id which is '%any' in this case).

<pre>
conn medsrv
leftid=gateway@medsrv.org
leftauth=psk
right=10.11.70.111
rightid=mediator@strongswan.org
rightauth=psk
mediation=yes
auto=start

conn Gateway-Agent1
leftauth=psk
rightauth=psk
leftid=gateway@strongswan.org
right=%any
rightid=%any
leftsubnet=3.1.1.0/24
rightsubnet=3.1.1.0/24
mediated_by=medsrv
auto=add
</pre>



*But the same functionality i'm not able to achieve through vici interface, if i don't add the "me_peerid" then i'm seeing the below dump. ( I tried with "%any" in the me_peerid then also it is failing but not dumping)*

<pre>


07[DMN] thread 7 received 11
07[LIB] dumping 1 stack frame addresses:
07[LIB] /lib/x86_64-linux-gnu/libpthread.so.0 @ 0x7f6f544ec000 [0x7f6f544fd390]
07[LIB] -> ??:?
dumping 1 stack frame addresses:
/lib/x86_64-linux-gnu/libpthread.so.0 @ 0x7f6f544ec000 [0x7f6f544fd390]
-> ??:?
07[DMN] killing ourself, received critical signal
</pre>


Thanks,

Back