|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: Problem with use of NotUnderstood in negotiationsBart,
So the question is,
in what order does a device do the checking.
There
are many possibilites for handling a received key that is
unknown and comes in
with the value unknown:
A) Check
key
if key unknown, send
key=NotUnderstood
else ...process
key=value pair
B) Check
key
if key unknown
if value=NotUnderstood
silently drop (or close connection)
else send
key=NotUnderstood
I expect case A is
more likely to get implemented in the absence
of an explicit
statement. There would normally be no need to
examine the value of
a key when one doesn't understand the key.
In this case, the
receiver never does a test that detects the
apparent protocol
violation of making an offer with a value
NotUnderstood.
So, if we want to
stop the loop that Bill has found, we should
put in an explicit
requirement to test the value for NotUnderstood
before responding to
a key with NotUnderstood.
The alternative is
to leave things as they are and count on
implementations to
abort the negotiation based on a timeout
or a
count of excessive number of negotiation PDU
exchanges.
Regards,
Pat
-----Original Message-----
From: Bart Crane [mailto:bcrane@iready.com] Sent: Friday, August 09, 2002 12:33 PM To: ips@ece.cmu.edu Subject: RE: Problem with use of NotUnderstood in negotiations This new rule is not necessary. Sec. 4.2 says: The constants None, Reject, Irrelevant, and
NotUnderstood In the situation you describe, the sender will be expecting
The receiver does not understand "keyB", and so responds with
To the sender, this appears to be the start of negotiating
a But, this is not a valid use of the value "NotUnderstood",
So, the new rule of not-responding to keys with the value
Bart. -----Original Message----- I encountered a problem with how draft 15 specifies using
NotUnderstood as Yes, well-behaved negotiators won't offer a key they don't
understand. But I propose we change the text to: Any key not understood by the acceptor may be ignored by the
acceptor Note: I can easily see closing the connection with an error in
the above Thoughts? Take care, Bill
Home Last updated: Sun Aug 11 00:18:55 2002 11604 messages in chronological order |