Router Model: RT-AC87U
Skynet Version: v5.1.5 (24/08/2017)
iptables v1.4.14 - (eth0)
ipset v6.32, protocol version: 6
FW Version: 380.68_0 (Aug 18 2017)
Install Dir; /jffs (62.8M Space Available)
Boot Args; /jffs/scripts/firewall start banmalware autoupdate
Install Dir Writeable
Startup Entry Detected
No Lock File Found
Cronjobs Detected
IPSet Supports Comments
Level 5 Messages Won't Be Logged
Autobanning Enabled
Debug Mode Disabled
No Duplicate Rules Detected In RAW
No Duplicate Rules Detected In FILTER
Whitelist IPTable Detected
Skynet IPTable Detected
Whitelist IPSet Detected
BlockedRanges IPSet Detected
Blacklist IPSet Detected
Skynet IPSet Detected
Skynet: [Complete] 132360 IPs / 2866 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [2s]
22:48:02 Skynet: [INFO] Startup Initiated... ( banmalware autoupdate )
Aug 24 22:48:46 Skynet: [Complete] 132360 IPs / 2866 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [44s]
Aug 24 22:51:58 Skynet: [Complete] 132360 IPs / 2866 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [2s]
Thanks for the watch and help.
Code:Router Model: RT-AC87U Skynet Version: v5.1.5 (24/08/2017) iptables v1.4.14 - (eth0) ipset v6.32, protocol version: 6 FW Version: 380.68_0 (Aug 18 2017) Install Dir; /jffs (62.8M Space Available) Boot Args; /jffs/scripts/firewall start banmalware autoupdate Install Dir Writeable Startup Entry Detected No Lock File Found Cronjobs Detected IPSet Supports Comments Level 5 Messages Won't Be Logged Autobanning Enabled Debug Mode Disabled No Duplicate Rules Detected In RAW No Duplicate Rules Detected In FILTER Whitelist IPTable Detected Skynet IPTable Detected Whitelist IPSet Detected BlockedRanges IPSet Detected Blacklist IPSet Detected Skynet IPSet Detected Skynet: [Complete] 132360 IPs / 2866 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [2s]
Honestly, I have no idea why this is so. There is no reason.
iptables-save, the output is too large to post. which part are you interested in?
A logdrop -i eth0 -m set --match-set Whitelist src -j ACCEPT
-A logdrop -i eth0 -p tcp -m multiport --sports 80,443,143,993,110,995,25,465 -m state --state INVALID -j DROP
-A logdrop -p icmp -m icmp --icmp-type 11 -j ACCEPT
-A logdrop -p icmp -m icmp --icmp-type 3 -j ACCEPT
-A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,PSH,ACK -j ACCEPT
-A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,ACK -j ACCEPT
-A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG RST -j ACCEPT
-A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG RST,ACK -j ACCEPT
-A logdrop -i eth0 -m state --state INVALID -j LOG --log-prefix "[BLOCKED - NEW BAN] " --log-tcp-sequence --log-tcp-options --log-ip-options
-A logdrop -i eth0 -m state --state INVALID -j SET --add-set Skynet src
-A logdrop -j DROP
COMMIT
Code:A logdrop -i eth0 -m set --match-set Whitelist src -j ACCEPT -A logdrop -i eth0 -p tcp -m multiport --sports 80,443,143,993,110,995,25,465 -m state --state INVALID -j DROP -A logdrop -p icmp -m icmp --icmp-type 11 -j ACCEPT -A logdrop -p icmp -m icmp --icmp-type 3 -j ACCEPT -A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,PSH,ACK -j ACCEPT -A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,ACK -j ACCEPT -A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG RST -j ACCEPT -A logdrop -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG RST,ACK -j ACCEPT -A logdrop -i eth0 -m state --state INVALID -j LOG --log-prefix "[BLOCKED - NEW BAN] " --log-tcp-sequence --log-tcp-options --log-ip-options -A logdrop -i eth0 -m state --state INVALID -j SET --add-set Skynet src -A logdrop -j DROP COMMIT
iptables-save | grep "\--log-prefix"
Does Skynet block certain countries by default?
Is there a command to list what countries are being blocked?
sh /jffs/scripts/firewall update -f
ASUSWRT-Merlin RT-AC87U 380.68-0 Fri Aug 18 21:40:17 UTC 2017
miju@RT-AC87U:/tmp/home/root# iptables-save | grep "\--log-prefix"-A logaccept -m state --state NEW -j LOG --log-prefix "ACCEPT " --log-tcp-sequence --log-tcp-options --log-ip-options
-A logdrop -i eth0 -m state --state INVALID -j LOG --log-prefix "[BLOCKED - NEW BAN] " --log-tcp-sequence --log-tcp-options --log-ip-options
The output is:
ip6tables -D logdrop -m state --state NEW -j LOG --log-prefix "DROP " --log-tcp-sequence --log-tcp-options --log-ip-options
Understand.
It would be good if you can simply switch it off permanently.
sh /jffs/scripts/firewall update -f
ip6tables -D logdrop -m state --state NEW -j LOG --log-prefix "DROP " --log-tcp-sequence --log-tcp-options --log-ip-options
Is planned and at all possible in the future an Full IPv6 support?
Can I remove this line again?
Thanks for the update @Adamm! The list of countries comes from pfSense pfBlockerNG package default geo location list. I also added PH as I saw some scan attempts from there recently. I will add more countries as I monitor where the scan attempts originate from.Now that I have access to my router, I've tried to replicate your issue with no luck. Your output here also indicates it isn't printing drop messages so its quite confusing. If you are still experiencing this, please post the output of the following;
Code:iptables-save | grep "\--log-prefix"
No
Forgot to add this during the comment support update, for now this will show under "debug info" if it detects country blocking in use, it should look something like the following;
As I didn't push a version change, you will need to force update to get these changes;
Code:sh /jffs/scripts/firewall update -f
Router Model; RT-AC88U
Skynet Version; v5.1.5 (26/08/2017)
iptables v1.4.14 - (ppp0)
ipset v6.32, protocol version: 6
FW Version; 380.68_0 (Aug 18 2017)
Install Dir; /tmp/mnt/RT-AC88U/skynet (434.8M Space Available)
Boot Args; /jffs/scripts/firewall start debug banmalware autoupdate usb=/tmp/mnt/RT-AC88U
Banned Countries; cn ru jp ua gb de br fr in tr it kr pl es vn ar co tw mx cl ph
Install Dir Writeable
Startup Entry Detected
Lock File Detected (pid=7247)
Cronjobs Detected
IPSet Supports Comments
Level 5 Messages Won't Be Logged - Only 5+
Autobanning Disabled
Debug Mode Disabled
No Duplicate Rules Detected In RAW
No Duplicate Rules Detected In FILTER
Whitelist IPTable Not Detected
Skynet IPTable Not Detected
Whitelist IPSet Detected
BlockedRanges IPSet Not Detected
Blacklist IPSet Detected
Skynet IPSet Not Detected
Skynet: [Complete] 132173 IPs / 53569 Ranges Banned. 0 New IPs / 0 New Ranges Banned. Inbound / Outbound Connections Blocked! [3s]
Router Model; RT-AC88U
Skynet Version; v5.1.5 (26/08/2017)
iptables v1.4.14 - (ppp0)
ipset v6.32, protocol version: 6
FW Version; 380.68_0 (Aug 18 2017)
Install Dir; /tmp/mnt/RT-AC88U/skynet (434.8M Space Available)
Boot Args; /jffs/scripts/firewall start debug banmalware autoupdate usb=/tmp/mnt/RT-AC88U
Banned Countries; cn ru jp ua gb de br fr in tr it kr pl es vn ar co tw mx cl ph
Install Dir Writeable
Startup Entry Detected
No Lock File Found
Cronjobs Detected
IPSet Supports Comments
Level 5 Messages Won't Be Logged - Only 5+
Autobanning Enabled
Debug Mode Enabled
No Duplicate Rules Detected In RAW
No Duplicate Rules Detected In FILTER
Whitelist IPTable Detected
Skynet IPTable Detected
Whitelist IPSet Detected
BlockedRanges IPSet Detected
Blacklist IPSet Detected
Skynet IPSet Detected
Skynet: [Complete] 132173 IPs / 53569 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [3s]
Router Model: RT-AC68U
Skynet Version: v5.1.4 (16/08/2017)
iptables v1.4.14 - (eth0)
ipset v6.32, protocol version: 6
FW Version: 380.68_0 (Aug 18 2017)
Install Dir; /tmp/mnt/usb/skynet (57.2G Space Available)
Boot Args; /jffs/scripts/firewall start debug banmalware autoupdate usb=/tmp/mnt/usb
Install Dir Writeable
Startup Entry Detected
cat: can't open '/tmp/skynet.lock': No such file or directory
Lock File Detected (pid=)
Cronjobs Detected
IPSet Supports Comments
Autobanning Enabled
Debug Mode Enabled
No Duplicate Rules Detected In RAW
No Duplicate Rules Detected In FILTER
Whitelist IPTable Detected
Skynet IPTable Detected
Whitelist IPSet Detected
BlockedRanges IPSet Detected
Blacklist IPSet Detected
Skynet IPSet Detected
Skynet: [Complete] 132506 IPs / 2866 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 0 Inbound / 0 Outbound Connections Blocked! [1s]
marco@router:/tmp# ll /tmp | grep "skynet"
marco@router:/tmp#
I noticed that after the upgradeJust checked my debug info, out of curiousity, and something seems a bit contradictive:
Code:marco@router:/tmp# ll /tmp | grep "skynet" marco@router:/tmp#
Is the lockfile mentioned located elsewhere?
No Lock File Found
Lock File Detected (pid=7247)
Router Model; RT-AC68U
Skynet Version; v5.1.5 (26/08/2017)
iptables v1.4.14 - (eth0)
ipset v6.32, protocol version: 6
FW Version; 380.68_0 (Aug 18 2017)
Install Dir; /tmp/mnt/usb/skynet (57.2G Space Available)
Boot Args; /jffs/scripts/firewall start debug banmalware autoupdate usb=/tmp/mnt/usb
Install Dir Writeable
Startup Entry Detected
No Lock File Found
Cronjobs Detected
IPSet Supports Comments
Level 5 Messages Will Be Logged
Autobanning Enabled
Debug Mode Enabled
No Duplicate Rules Detected In RAW
No Duplicate Rules Detected In FILTER
Whitelist IPTable Detected
Skynet IPTable Detected
Whitelist IPSet Detected
BlockedRanges IPSet Detected
Blacklist IPSet Detected
Skynet IPSet Detected
Skynet: [Complete] 132506 IPs / 2866 Ranges Banned. 0 New IPs / 0 New Ranges Banned. 51 Inbound / 84 Outbound Connections Blocked! [3s]
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!