2 Aug 2005 11:34
larger options
Francis Dupont <Francis.Dupont <at> enst-bretagne.fr>
2005-08-02 09:34:56 GMT
2005-08-02 09:34:56 GMT
I've just create a 4096 bit RSA key and encode the public part in DER.
The size is 550, draft-arkko-mipshop-cga-cba-01.txt puts CGA parameters
which includes a public key in a MIPv6 option with a maximal length of
255 octets, cf RFC 3775 section 6.2.1 page 47:
Option Length
8-bit unsigned integer, representing the length in octets of the
mobility option, not including the Option Type and Option Length
fields.
This problem is generic, I believe at least half of the mipshop I-D
use oversized option. How and where to fix this?
Regards
Francis.Dupont <at> enst-bretagne.fr
PS: a way to fix it: mark size 255 as oversized option: the real length is
in the two next octets.
Another way: use the first bit (length > 127) as oversized option:
length field is extended to two octets and the real length is taken from
them with the first bit masked...
PPS: don't forget to defined what is included in the length (I'd like
to get extended length not included).
PPPS: where is mipshop or mip6 WG. I am strongly in favor of a fast track
document. If I remember well I have a short slot at the end of mip6 WG
session this afternoon... mip6 W chairs?
.
How about the length in the IPv6 header describes the length of the
entire packet including extended options.
=> I don't believe the size constraint of MH (2K) is a problem.
I'm not sure if overloading the MH protocol number is too evil.
=> it is evil.
Does this sound like a good or a bad idea?
=> IMHO we have just to extend option format (and only this).
Regards
Francis.Dupont <at> enst-bretagne.fr
RSS Feed