I live in an environment where explicit access control is the standard,
i.e. no access until some sort of credentials are provided, so that
would be ok.
Wilm
Paul Koning schreef op 10-2-2020 om 19:55:
On Feb 10, 2020, at 1:41 PM, Wilm Boerhout
<wboerhout at gmail.com> wrote:
I am happily running an instance of pydecnet (1.0-486) to connect my simh VAX cluster and
various other stuff to HECnet (ONAPI4 29.206)
For management purposes, I'd like to periodically zero the line/circuit/node counters
on ONAPI4, but the node does not respond to the "NCP tell ONAPI4 zero <xxx>
counters" commands.
Looking at the python code, I saw some hints bit I can't get my head around how to do
this, either using the pydecnet api or remote NCP
Any help here?
*Wilm*
Wilm,
Right now there is no such operation. It would not be all that difficult to add, except
for the question of authorization. The current HTML and NML code are both read only. The
access control machinery is pretty basic. HTML can be turned on and off but if on accepts
requests from any address that can reach your system. NML also can be turned on and off.
You can also set it to require authentication (a valid username/password on your system).
But neither of them has any way to say that some senders, or some credentials, permit
modify operations while others don't.
Admittedly, zero counters is a fairly benign operation. I could add it as something
that's always available. Or add it as something that's available if enabled --
but either way with no addtional authorization mechanisms for the moment.
paul