diff --git a/README.md b/README.md index f8bd8a1..b66dba7 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ journalctl -u abuseipdb-ufw.service -f ### 📄 Example report ``` -Blocked by UFW (TCP on port 80). +Blocked by UFW (TCP on 80) Source port: 28586 TTL: 116 Packet length: 48 diff --git a/README_PL.md b/README_PL.md index fa51917..fb6880f 100644 --- a/README_PL.md +++ b/README_PL.md @@ -63,7 +63,7 @@ journalctl -u abuseipdb-ufw.service -f ### 📄 Przykładowe zgłoszenie ``` -Blocked by UFW (TCP on port 80). +Blocked by UFW (TCP on 80) Source port: 28586 TTL: 116 Packet length: 48 diff --git a/reporter.sh b/reporter.sh index f18ea2b..db67649 100644 --- a/reporter.sh +++ b/reporter.sh @@ -74,7 +74,7 @@ is_local_ip() { report_to_abuseipdb() { local ip="$1" categories="$2" proto="$3" spt="$4" dpt="$5" ttl="$6" len="$7" tos="$8" timestamp="$9" - local comment="Blocked by UFW ($proto on port $dpt). + local comment="Blocked by UFW ($proto on $dpt) Source port: $spt" [[ -n "$ttl" ]] && comment+="