From d64e583c6b219bda1f2ebb8cda95a572ccf28c33 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Fri, 13 Feb 2026 10:26:40 +0100 Subject: [PATCH] Update config.default.js --- config.default.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config.default.js b/config.default.js index 80cafc3..ee017e9 100644 --- a/config.default.js +++ b/config.default.js @@ -29,13 +29,12 @@ exports.MAIN = { // Generates a report comment. Please do not remove the source link, I would greatly appreciate it! Thank you. const serverId = this.MAIN.SERVER_ID ? `on ${this.MAIN.SERVER_ID} ` : ''; exports.REPORT_COMMENT = ({ date, srcIp, dstIp, proto, spt, dpt, In, Out, mac, len, ttl, id, tos, prec, res, window, urgp, syn }, fullLog) => - `UFW blocked traffic ${serverId}[${dpt}/${proto?.toLowerCase()}] | ` + - `SRC port: ${spt} | TTL: ${ttl} | LEN: ${len} | TOS: ${tos} | ` + + `Blocked by UFW ${serverId}[${dpt}/${proto?.toLowerCase()}] | SPT: ${spt} | TTL: ${ttl} | LEN: ${len} | TOS: ${tos} • ` + 'Reported by: github.com/sefinek/UFW-AbuseIPDB-Reporter'; // Alternative version: // exports.REPORT_COMMENT = ({ date, srcIp, dstIp, proto, spt, dpt, In, Out, mac, len, ttl, id, tos, prec, res, window, urgp, syn }, fullLog) => -// `Blocked by UFW ${serverId}[${dpt}/${proto?.toLowerCase()}]. Generated by: https://github.com/sefinek/UFW-AbuseIPDB-Reporter`; +// `Blocked by UFW ${serverId}[${dpt}/${proto?.toLowerCase()}]. Generated by: github.com/sefinek/UFW-AbuseIPDB-Reporter`; // See: https://www.abuseipdb.com/categories