From 3986ff4e803fc596c1aaa440ade240b07c559426 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Wed, 25 Dec 2024 01:16:10 +0100 Subject: [PATCH] Fixes --- default.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/default.config.js b/default.config.js index 2571087..81737f9 100644 --- a/default.config.js +++ b/default.config.js @@ -48,6 +48,10 @@ TOS: ${tos || 'N/A'} This report was generated by: https://github.com/sefinek/UFW-AbuseIPDB-Reporter`; // Please do not remove this URL; I would be very grateful! Thank you. 💙 +// Alternative log: +// exports.REPORT_COMMENT = ({ timestamp, In, Out, srcIp, dstIp, res, tos, prec, ttl, id, proto, spt, dpt, len, urgp, mac, window, syn }, fullLog, serverName) => +// `Blocked by UFW ${serverName ? `on ${serverName} ` : ''}[${dpt}/${proto?.toLowerCase()}]. Source port ${spt || 'N/A'}. Packet length ${len || 'N/A'}. Report was generated by: https://github.com/sefinek/UFW-AbuseIPDB-Reporter`; // Please do not remove this URL; I would be very grateful! Thank you. 💙 + // See: https://www.abuseipdb.com/categories const categories = {