From 4057d6be114dd5a89e16672aa24b52797004e161 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sat, 8 Feb 2025 15:55:19 +0100 Subject: [PATCH] Fix #4 --- README.md | 6 +++--- install.sh | 4 ++-- package-lock.json | 12 ++++++------ package.json | 4 ++-- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 1788bbd..f8fe8a6 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ A utility designed to analyze UFW logs and report IP addresses blocked by the fi To prevent excessive reporting of the same IP address within a short period, the tool uses a temporary cache file to track previously reported IP addresses. This project was originally written in [Bash](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/tree/bash) but has been rewritten in [Node.js](https://nodejs.org). All my integration tools are now written in Node, hence this change. -If you were using the old version, please [uninstall it](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/tree/node.js?tab=readme-ov-file#%EF%B8%8F-remove-the-old-version) as it will no longer be supported. +If you were using the old version, please [uninstall it](https://github.com/sefinek/UFW-AbuseIPDB-Reporter/tree/main?tab=readme-ov-file#%EF%B8%8F-uninstall-the-deprecated-version-if-you-have-it) as it will no longer be supported. If you like this repository or find it useful, I'd greatly appreciate it if you could give it a star ⭐. Many thanks! Also, check this out: [sefinek/Cloudflare-WAF-To-AbuseIPDB](https://github.com/sefinek/Cloudflare-WAF-To-AbuseIPDB) @@ -32,12 +32,12 @@ Also, check this out: [sefinek/Cloudflare-WAF-To-AbuseIPDB](https://github.com/s ### Automatic (easy & recommenced) #### Via curl ```bash -bash <(curl -fsS https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/node.js/install.sh) +bash <(curl -fsS https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/main/install.sh) ``` #### Via wget ```bash -bash <(wget -qO- https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/node.js/install.sh) +bash <(wget -qO- https://raw.githubusercontent.com/sefinek/UFW-AbuseIPDB-Reporter/main/install.sh) ``` ### Manually diff --git a/install.sh b/install.sh index 84fbc88..c5e585b 100644 --- a/install.sh +++ b/install.sh @@ -18,7 +18,7 @@ cat << "EOF" |_|_| |_|\__\___|\__, |_| \__,_|\__|_|\___/|_| |_| |___/ - >> Made by sefinek.net || Last update: 01.02.2025 << + >> Made by sefinek.net || Last update: 08.02.2025 << This installer will configure UFW-AbuseIPDB-Reporter, a tool that analyzes UFW logs and reports to AbuseIPDB the IP addresses that have violated firewall rules. Join my Discord @@ -158,7 +158,7 @@ cd /opt || { echo "❌ Failed to change directory to '/opt'. Exiting..."; exit 1 if [ ! -d "UFW-AbuseIPDB-Reporter" ]; then echo "📥 Cloning the UFW-AbuseIPDB-Reporter repository..." - sudo git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git --branch node.js || { echo "❌ Failed to clone the repository. Exiting..."; exit 1; } + sudo git clone https://github.com/sefinek/UFW-AbuseIPDB-Reporter.git || { echo "❌ Failed to clone the repository. Exiting..."; exit 1; } else echo "✨ The UFW-AbuseIPDB-Reporter repository already exists" fi diff --git a/package-lock.json b/package-lock.json index 959f999..556f5d6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ufw-abuseipdb-reporter", - "version": "0.1.2", + "version": "0.1.3", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ufw-abuseipdb-reporter", - "version": "0.1.2", + "version": "0.1.3", "license": "GPL-3.0", "dependencies": { "axios": "^1.7.9", @@ -16,14 +16,14 @@ "simple-git": "^3.27.0" }, "devDependencies": { - "@eslint/js": "^9.19.0", + "@eslint/js": "^9.20.0", "globals": "^15.14.0" } }, "node_modules/@eslint/js": { - "version": "9.19.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.19.0.tgz", - "integrity": "sha512-rbq9/g38qjfqFLOVPvwjIvFFdNziEC5S65jmjPw5r6A//QH+W91akh9irMwjDN8zKUTak6W9EsAv4m/7Wnw0UQ==", + "version": "9.20.0", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.20.0.tgz", + "integrity": "sha512-iZA07H9io9Wn836aVTytRaNqh00Sad+EamwOVJT12GTLw1VGMFV/4JaME+JjLtr9fiGaoWgYnS54wrfWsSs4oQ==", "dev": true, "license": "MIT", "engines": { diff --git a/package.json b/package.json index e028517..11c2398 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ufw-abuseipdb-reporter", - "version": "0.1.2", + "version": "0.1.3", "description": "A tool (with a simple installer) that monitors UFW firewall logs in real time and reports IP addresses to the AbuseIPDB database.", "keywords": [ "ufw", @@ -30,7 +30,7 @@ "simple-git": "^3.27.0" }, "devDependencies": { - "@eslint/js": "^9.19.0", + "@eslint/js": "^9.20.0", "globals": "^15.14.0" } }