Re: nftables monitor json mode is broken

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:
> > Why? Is unfixable to consider this?

I'm not sure.

It depends on several factors:
1. Do we have users of the json monitor mode?
2. Can they cope with *partial* info?
   For non-json, the user will be a human and they
   can the delete messages will have enough info to
   correlate it with the corresponding add messages.

   But for automated robots consuming json? Dunno.
3. Is the burden of correlating the delete info
   with the full information about the deleted object
   on the nft monitor -j side or the consumer of the
   (Then incomplete) json info?

> this is a relatively large rework, I started some code but is
> incomplete, including rule caching to deal with runtime incremental
> updates.

Thanks Pablo.

> I think it should be better to fix what we have then look pick back on
> the rework at some point.

I also prefer repair to "nuke it".
But I dislike the idea of spending time on something that is not
used in practice.

I refuse to believe there are people that prefer to
stare at "nft monitor -j"...

And if there a scripts that consume it, I don't understand
the use case.

Sorry if I was too terse in my initial complaint.




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux