Fixes
This commit is contained in:
parent
73a8fb269f
commit
d935ad871a
1 changed files with 2 additions and 2 deletions
4
index.js
4
index.js
|
|
@ -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, '=====================================================================');
|
||||
})();
|
||||
Loading…
Add table
Reference in a new issue