USM time windows check question

Bob Natale <[email protected]>
Newsgroups gmane.ietf.snmpv3
Message-ID <[email protected]>
Hi,

In considering RFC3414 Sec 3.2.7b, I am curious
as to whether the ordering of the sub-sections
1) and 2) has any significance...?  That is,
is that ordering supposed to indicate that the
tests and actions in 1) should be performed
first and then the tests and actions in 2) should
be performed...?

Common-sense would suggest that the ordering
means something (generally we do step 1 before
step 2), but there are some reasons for thinking
that might not apply here.  :-)

First, there is no "then" or "else" prefixed to
2)...suggesting that the two sets of tests and
actions are performed independently.  Second, as it
turns out, however, the two sets of "if" conditions
are not mutually exclusive and for certain values
of the subject variables, performing 1) before 2)
can lead to invalid, but unavoidable, results.
(It's late here now, so I'm going to skip laying
out a detailed example...but if anyone thinks it's
necessary, I'll add it in a follow-up.)

The bottom line is that I think the tests and
actions described in 2) need to be performed
before those in 1) and that this ordering and
the specific dependency need to be spelled out
in any future revision of the spec.  That is,
the time window check should be done before
checks that might lead to updating the local
record of the authEngine's timeliness variables.
Doing them in reverse order (i.e., as currently
ordered in the spec) can lead to situations in
which otherwise out of time window messages
morph into valid messages or, at the very least,
inappropriately lead to "updates" of the local
record of the authEngine's timeliness variables.

I will appreciate any and all feedback on this
topic.

Cheers,

BobN
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.