[Swan-dev] 5.0 RC1 connection not found

Andrew Cagney andrew.cagney at gmail.com
Sat Jan 13 22:54:59 EET 2024


> root at Ritchie:/etc/ipsec.d# cat RITA6C
> conn RITA6c
>     left=fd51:20d9:5ad2:b::2
>     leftid="CN=Ritchie Certificate"
>     leftrsasigkey=%cert
>     leftcert=RIcert
>     right=fd51:20d9:5ad2:b::1
>     rightid="CN=Tarjan Certificate"
>     rightrsasigkey=%cert
>     auto=add

rename RITA6C to RITA6C.conf, vis:

[root at fedora ipsec.d]# ipsec addconn --verbose xxx
opening file: /etc/ipsec.conf
debugging mode enabled
could not open include wildcard filename(s): '/etc/ipsec.d/*.conf'
end of file /etc/ipsec.conf
loading named conns: xxx
 (notfound)
conn 'xxx': not found (tried aliases)
[root at fedora ipsec.d 21]# mv xxx xxx.conf
[root at fedora ipsec.d]# ipsec addconn --verbose xxx
opening file: /etc/ipsec.conf
debugging mode enabled
including file '/etc/ipsec.d/*.conf' ('/etc/ipsec.d/*.conf') from
/etc/ipsec.conf:80
end of file /etc/ipsec.d/xxx.conf
resuming /etc/ipsec.conf:80
end of file /etc/ipsec.conf
Loading conn xxx

addconn and add are pretty much the same command, but only the former
documents --verbose :-(
filling a bug


More information about the Swan-dev mailing list