[Swan-dev] what is INTERFACE_IP / ifaceip / interface-ip= for?

Andrew Cagney andrew.cagney at gmail.com
Sun Jan 3 15:17:58 UTC 2021


On Sun, 3 Jan 2021 at 09:31, Andrew Cagney <andrew.cagney at gmail.com> wrote:
>
> I suspect it has something to do with XFRMI.  As best I can, in the
> current code, it is simply being passed to up-down scripts as
> INTERFACE_IP=...?
> While the name ifaceip leads me to think it's got something to do with
> the host interfaces, I suspect it is connected to the XFRMI client
> interface IP (if this is true I'll rename the field to
> client_interface_ip)?

PS: should text_cidr_to_subnet(), which parses the field, reject
"::/<anything>"?  Currently it is silently ignored.


More information about the Swan-dev mailing list