[Openswan dev] Send CISCO_SPLIT_DNS in modecfg attribute

Paul Wouters paul at nohats.ca
Fri Feb 17 09:46:21 EST 2012


On Fri, 17 Feb 2012, elison.niven at elitecore.com wrote:

> When connecting iPhone 4 with openswan-2.6.36, I get the following in the
> logs:
>
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute INTERNAL_ADDRESS_EXPIRY received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute APPLICATION_VERSION received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_BANNER received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_DEF_DOMAIN received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_SPLIT_DNS received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_SPLIT_INC received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_UNKNOWN received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_DO_PFS received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_SAVE_PW received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_FW_TYPE received.
> Feb 17 13:28:33 elisonniven pluto[5557]: "iphone-psk"[2] 10.103.6.102 #1:
> unsupported mode cfg attribute CISCO_BACKUP_SERVER received.

Some of those are supported....

> I only want to send the CISCO_SPLIT_DNS attribute to the client.
> How do I send a hard-coded value for CISCO_SPLIT_DNS  (say 8.8.8.8) from
> modecfg_resp in pluto/xauth.c ?

Add to your conn:
 	modecfgdns1=8.8.8.8

Paul


More information about the Dev mailing list