This commit is contained in:
Sefinek 2024-12-25 00:59:22 +01:00
parent 73a8fb269f
commit d935ad871a

View file

@ -96,7 +96,7 @@ const processLogLine = async line => {
const categories = config.DETERMINE_CATEGORIES(proto, dpt);
const comment = config.REPORT_COMMENT(logData, line, SERVER_ID);
log(0, `Reporting IP ${srcIp} (${proto} ${dpt}) with categories: ${categories}`);
log(0, `Reporting ${srcIp} (${dpt}/${proto}) with categories: ${categories}`);
if (await reportToAbuseIPDb(srcIp, categories, comment)) {
markIPAsReported(srcIp);
@ -132,6 +132,6 @@ const processLogLine = async line => {
});
});
log(0, '=====================================================================');
log(0, `Ready! Now monitoring: ${UFW_FILE}`);
log(0, '=====================================================================');
})();