I execute:
Code:
/jffs/scripts/firewall ban country AD
Here is the result when there are no pre-existing countries banned:
---
Removing Previous Country Bans
Banning Known IP Ranges For AD
Downloading Lists
Filtering IPv4 Ranges & Applying Blacklists
Saving Changes
Skynet: [Complete] 128476 IPs / 1766 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 4886 Inbound / 1585 Outbound Connections Blocked! [5s]
---
then look to see if AD IPs are banned:
Code:
/jffs/scripts/firewall stats search ip 80.80.84.1
Here's the result:
---
Debug Data Detected in /tmp/mnt/data/skynet/skynet.log - 3.1M
Monitoring From Jan 2 16:48:04 To Jan 6 23:49:27
11963 Block Events Detected
2140 Unique IPs
8 Autobans Issued
0 Manual Bans Issued
80.80.84.1 is NOT in set Whitelist.
80.80.84.1 is NOT in set Blacklist.
80.80.84.1 is NOT in set BlockedRanges.
---
It appears that "AD" has not been blocked.
But, then, after adding country AD to the banned list via the UI and running:
Code:
/jffs/scripts/firewall stats search ip 80.80.84.1
Here are the results:
---
Debug Data Detected in /tmp/mnt/data/skynet/skynet.log - 3.2M
Monitoring From Jan 2 16:48:04 To Jan 7 00:06:48
11989 Block Events Detected
2144 Unique IPs
8 Autobans Issued
0 Manual Bans Issued
80.80.84.1 is NOT in set Whitelist.
80.80.84.1 is NOT in set Blacklist.
80.80.84.1 is in set BlockedRanges.
BlockedRanges Reason;
80.80.84.0/22 "Country: ad"
80.80.84.1 First Tracked On
80.80.84.1 Last Tracked On
0 Events Total
---
Country AD now appears to be blocked.