> Am 07.02.2018 um 12:39 schrieb Martin Pieuchot <[email protected]>: > > On 07/02/18(Wed) 12:18, Reyk Floeter wrote: >>>> Am 07.02.2018 um 11:23 schrieb Martin Pieuchot <[email protected]>: >>>> On 07/02/18(Wed) 01:37, Reyk Floeter wrote: >>>>>>> Am 02.01.2018 um 15:23 schrieb Martin Pieuchot <[email protected]>: >>>>>>> >>>>>>> On 19/12/17(Tue) 18:06, Marco Pfatschbacher wrote: >>>>>>> On Tue, Dec 19, 2017 at 12:43:48PM +0100, Martin Pieuchot wrote: >>>>>>> I'd like to see some information about my tunnels in my NMS. >>>>>> >>>>>> Nice. I would find that very useful :) >>>>>> >>>>>>> The problem is that there's not standard MIB for this and most vendor >>>>>>> MIBs are huge and are not easy to implement. >>>>>> >>>>>> What about https://tools.ietf.org/html/rfc4807 ? >>>>> >>>>> This MIB is about the "Policy Database Configuration" which, as far as I >>>>> understand, would be useful to export the content of isakmpd.policy(5). >>>> >>>> The Security Policy Database has nothing to do with isakmpd.policy or >>>> keynote. >>> You forgot the word "Configuration". Here's what the RFC abstract says: >>> >>> "This document defines a Structure of Management Information Version 2 >>> (SMIv2) Management Information Base (MIB) module for configuring the >>> security policy database of a device implementing the IPsec protocol." >>> >> >> It is still not related to isakmpd.policy ;) > > What are filters then? To me they map to policies defined in isakmpd.policy. >
Yes and no. Our flows do have some filter actions (eg. „deny“) but it is not like the standard SPD. In some ways our IPsec is special because it predated all of this crap. And the filters seem to have some pf-like rules. But the SPD is what we call flows, no matter the differences. There are n other places where this matters, for example compare pfkeyv2 KAME vs. OpenBSD. >> You could implement it as read-only: > > Sure I could, but why should I? It is always better to implement standard MIBs instead of custom or semi-official ones. snmpd shouldn’t have too many special ones. But if you carefully considered it, while understanding some basic IPsec terms, and opted for the other MIB for good reasons than I have no problems with it. Reyk
