[strongSwan] dns entries in config payload

Tobias Brunner tobias at strongswan.org
Tue Jan 3 21:54:59 CET 2012


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




More information about the Users mailing list