0.4.2
This commit is contained in:
1 parent
46c4c9825a
commit
bbfb55d890
4 files changed
+6
-7
No files matched your search
@@ -9,8 +9,7 @@ const { axios } = require('./scripts/services/axios.js');
|
||||
const { saveBufferToFile, loadBufferFromFile, sendBulkReport, BULK_REPORT_BUFFER } = require('./scripts/services/bulk.js');
|
||||
const { reportedIPs, loadReportedIPs, saveReportedIPs, isIPReportedRecently, markIPAsReported } = require('./scripts/services/cache.js');
|
||||
const { refreshServerIPs, getServerIPs } = require('./scripts/services/ipFetcher.js');
|
||||
const { name, version, repoFullUrl } = require('./scripts/repo.js');
|
||||
const sendWebhook = require('./scripts/services/discordWebhooks.js');
|
||||
const { repoSlug, repoUrl, version } = require('./scripts/repo.js');
|
||||
const isSpecialPurposeIP = require('./scripts/isSpecialPurposeIP.js');
|
||||
const logger = require('./scripts/logger.js');
|
||||
const config = require('./config.js');
|
||||
@@ -190,7 +189,7 @@ const processLogLine = async (line, test = false) => {
|
||||
if (DISCORD_WEBHOOK_ENABLED && DISCORD_WEBHOOK_URL) await require('./scripts/services/summaries.js')();
|
||||
|
||||
// Ready
|
||||
await sendWebhook(`[${name}](${repoFullUrl}) was successfully started!`, 0x59D267);
|
||||
await logger.webhook(`[${repoSlug}](${repoUrl}) was successfully started!`, 0x59D267);
|
||||
logger.log(`Ready! Now monitoring: ${UFW_LOG_FILE}`, 1);
|
||||
process.send?.('ready');
|
||||
})();
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "ufw-abuseipdb-reporter",
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ufw-abuseipdb-reporter",
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2",
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"axios": "^1.9.0",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ufw-abuseipdb-reporter",
|
||||
"version": "0.4.1",
|
||||
"version": "0.4.2",
|
||||
"homepage": "https://github.com/sefinek/UFW-AbuseIPDB-Reporter#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/sefinek/UFW-AbuseIPDB-Reporter/issues"
|
||||
|
||||
+1
-1
Submodule scripts updated: beaa3d6e20...5c10018b4d.
Reference in new issue
Block a user