-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Fix and update IP cache routines with better error checking and logging. Example from debug log /var/log/abuseipdb-detailed.log detecting corrupted ip cache file 2023-09-18 04:01:06,831 - DEBUG - Sending Trigger: LF_SSHD 2023-09-18 04:01:06,831 - ERROR - Failed to decode JSON from cache file. Returning an empty cache. 2023-09-18 04:01:06,831 - ERROR - Corrupted cache file detected. Recreating it. 2023-09-18 04:01:06,832 - DEBUG - Loaded cache: {} 2023-09-18 04:01:06,832 - DEBUG - Cleaned cache: {} 2023-09-18 04:01:06,832 - DEBUG - Current cache: {} 2023-09-18 04:01:06,832 - DEBUG - Processing IP: 43.131.59.246 2023-09-18 04:01:06,832 - DEBUG - IP in cache: False 2023-09-18 04:01:06,833 - DEBUG - IP 43.131.59.246 not found in cache. Preparing to send report.
- Loading branch information
1 parent
60052f4
commit 8f36254
Showing
1 changed file
with
50 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters