hipconf daemon add hi default # enables multiple identities for hipd
hipconf daemon get hi all # lists all local identities (you can use this in the DNS proxy)
I think you should add an command line option that filters the identities because it's not needed in HIPv1 (which will co-exist in parallel with HIPv2). Detecting this is tricky because some host associations can use HIPv1 and others HIPv2 (see lp:913516). Or do the DNS records (in draft-ietf-hip-rfc5205-bis) distinguish between the two protocol versions?
Also, what do plan to do if all identities get filtered out? Return an empty response or IP addresses?
The algorithms can be used/discovered as follows:
hipconf daemon add hi default # enables multiple identities for hipd
hipconf daemon get hi all # lists all local identities (you can use this in the DNS proxy)
I think you should add an command line option that filters the identities because it's not needed in HIPv1 (which will co-exist in parallel with HIPv2). Detecting this is tricky because some host associations can use HIPv1 and others HIPv2 (see lp:913516). Or do the DNS records (in draft-ietf- hip-rfc5205- bis) distinguish between the two protocol versions?
Also, what do plan to do if all identities get filtered out? Return an empty response or IP addresses?