[Swan] Problem with using FQDN in left/right if it starts with a number

Paul Wouters paul at nohats.ca
Wed Jan 6 21:04:43 UTC 2021

On Tue, 5 Jan 2021, Nick Howitt wrote:

> Hi Paul,
> If you have a conn:
> conn njh

>  left=12345.example.com

> Then load it with "ipsec auto --add njh" you get the following:
> [root at server ~]#  ipsec auto --add njh
> 000 failed to convert '12345.example.com' at load time: not a numeric IPv4 address and name lookup failed (no
> validation performed)
> 002 added connection description "njh"

Fixed with: https://github.com/libreswan/libreswan/commit/2aa8f96b3ef24e03b286676985981400f3e1f5fa

will be in libreswan 4.2.

Thanks for the report,


More information about the Swan mailing list