Rob Austein wrote:
At Tue, 15 Jul 2008 06:49:49 +1000, Geoff Huston wrote:
In reading draft-ietf-sidr-roa-format-03.txt with the changes to the
ROA format arising from the last WG meeting, I was wondering if
there was a "canonical form" for a ROA, or not.

[...]

Perhaps, but the definition would likely be hard to get right and
harder to implement.  The only real definition I can think of would
involve computing the union of the set of prefixes expressed by each
prefix-maxLength pair, then attempting to compute some kind of minimal
expression of that set.  This also begs the question of whether it's
an error to specify a redundant set of prefix-maxLength pairs.

Well the middle of that paragraph is an algorithm, to be sure, but is it
the same as the specification of a "canonical form"?

To put it in a slightly different way, what I wondering was is there a
means of specifying this "minimal expression" you refer to?


I suspect that in the vast majority of cases there will not be any
useful canonicalization to be performed, ie, the output of the
canonicalization function will end up being the same as the input.

My intuition about use cases leads me to a different conclusion, but
its all speculation at this stage, of course.

My question was motivated by working through some interface issues in
terms of tools to manage ROAs, and the concepts of comparison operators
and equivalence came up. I was wondering how to compare the address part
of ROAs for equivalence and from this I was lead to the question of
canonical representations, since at some point you either have to fully expand (this could be potentially yicky - 10.0.0.0/8-24 would be a relatively large set I guess) or fully compress the ROA into some "canonical form" in order to undertake the comparison operation.

regards,

 Geoff

_______________________________________________
Sidr mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/sidr

Reply via email to