Thanks Eric,
I see your point that the phase 2 ID needs to be specified as to
type.
I had not thought of that before.
But, the granularity property in the IPsecAction (what do we call it,
object, group, table, thingie?) seems to me to be mismatched with the
set of possible 2 ID types. Specifically, we do not need ports and
protocols in phase 2 IDs but on the other hand, we do need specific
addresses, subnets, and ranges of addresses in IPv4 and IPv6. (I don't
know if FQDN, user@FQDN, DN, GN, and keyID are supportable as phase 2
IDs, could someone else inform our disussion here. I don't see any thing
saying they can not be used at phase 2, but I also don't see how data,
not verifiable in a packet, could be used as a phase 2 ID.) In the case
of subnets and ranges of addresses, these cannot be inferred from a
packet-on-hand and a granularity property.
So now I am left with my original request and a new question. Can we
please provide filtering control for ports and protocols? And now, how
should we know what client ID to use in (and the type of) the phase 2
Identification payload?