Add IP as hostname to log messages when request blocked

Created on 27 February 2025, about 1 month ago

Problem/Motivation

The Crowdsec middleware may block an IP when that's the result of the upstream IP verification. This prints the IP address in the log message, but it should also be output as the hostname in watchdog.

Proposed resolution

Add the IP as the hostname to the watchdog record.

Feature request
Status

Active

Version

1.1

Component

Code

Created by

🇩🇪Germany jurgenhaas Gottmadingen

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024