Re: ulogd / JSON output / enhancement proposal

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

 



On 2023-12-14, at 18:52:10 +0100, Gérald Colangelo wrote:
> To complete my previous message, here is a patch for
> ulogd_output_JSON.c (latest version) that implements a "softfail"
> configuration option.  If set to 1, error while connecting to unix
> socket are ignored during startup and plugin will attempt to connect
> next time it will be triggered.  This may be helpful when the software
> that must listen on unix socket takes too long to launch.

The JSON plug-in already has support for reopening the socket on receipt
of a signal or in the event of a write failure, so I think it probably
makes sense to build on that.  I'll send a patch.

J.

Attachment: signature.asc
Description: PGP signature


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

  Powered by Linux