[strongSwan] dns entries in config payload

Milton Lie mlie at swbell.net
Tue Jan 3 23:35:02 CET 2012


Hi Tobias,

It works as expected.  Was not working due to operator error.
Was working with too many machines / terminal windows, and edited a wrong file.

Sorry to inconvenience you.  You guys are great!
Appreciate very much how responsive the strongswan team is.

BR,
-Milton



________________________________
From: Tobias Brunner <tobias at strongswan.org>
To: Milton Lie <mlie at swbell.net>
Cc: Users at lists.strongswan.org
Sent: Tue, January 3, 2012 2:54:59 PM
Subject: Re: dns entries in config payload

Hi Milton,

> It properly installs the virtual IP from the config payload, but the code
> does not appear to process DNS entries? 

Hm, the question is whether the gateway actually sends the DNS server
attributes.  Please make sure the attr plugin is loaded there (see [1]
for details).

> Believe the code should be in src/libcharon/sa/ike_sa.c?

No, the DNS attributes are actually handled in the android plugin (if
any are received), which writes them to the Android system properties
net.dns1|2.

Regards,
Tobias

[1] http://wiki.strongswan.org/projects/strongswan/wiki/Attrplugin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20120103/58705ebd/attachment.html>


More information about the Users mailing list