Hi Michael,

2018-06-22 22:06 GMT+02:00 Michael Grimm <[email protected]>:
> After applying your patch:
>         Jun 22 21:22:01 HOSTNAME <daemon.notice> [31033]: NOTICE [JAILNAME] 
> Unban x.x.x.x
>
> Watch: 'fail2ban.actions' -the service- is missing.

That's likely due to the fact that it now interprets the first word in
the message as the remote hostname, which gets discarded.

Attached is a somewhat refined patch that only tries to parse the
hostname in remote messages if they are preceded by a timestamp. If
the timestamp is missing, it assumes the entire payload is the
message. Can you give this one a try? Thanks!

-- 
Ed Schouten <[email protected]>
Nuxi, 's-Hertogenbosch, the Netherlands

Attachment: syslogd-optional-timestamp-v2.diff
Description: Binary data

_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to