From 72f1430401409beeb45daf5e2ef646cb272d1385 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Fri, 13 Feb 2026 10:06:35 +0100 Subject: [PATCH] Update config.default.js --- config.default.js | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/config.default.js b/config.default.js index ed7a010..80cafc3 100644 --- a/config.default.js +++ b/config.default.js @@ -26,17 +26,12 @@ exports.MAIN = { }; -// Generates a report submission. +// 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) => - `Blocked by UFW ${serverId}[${dpt}/${proto?.toLowerCase()}] -Source port: ${spt} -TTL: ${ttl} -Packet length: ${len} -TOS: ${tos} - -This report was generated by: -https://github.com/sefinek/UFW-AbuseIPDB-Reporter`; // Please don't delete this URL, I'd be very grateful. Thank you! 💙 + `UFW blocked traffic ${serverId}[${dpt}/${proto?.toLowerCase()}] | ` + + `SRC port: ${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) =>