John Fitzgerald
Very Senior Member
It's better to "be the hammer".Feels like a game of whackamole, @Adamm! Lol
It's better to "be the hammer".Feels like a game of whackamole, @Adamm! Lol
Hi,
From last day, Skynet blocked telegram in my router. When skynet disabled, works properly.
I tried to uninstall and install again, but the problem still active.
Now i temporary disabled Skynet.
Please help me to resolve this problem (what i need to do in unban, or other suggestions)
Thank You!
Usage;
Skynet provides both a user interactive menu, and command line interface for those who prefer it.
To open the menu its as simple as;
Code:firewall
For users on firmware v384.15+ (Merlin) or v374.43_43E6 (Johns Fork) there will also be a WebUI tab under the heading Firewall.
And for the CLI users, here's a list of possible commands.
Code:Example Unban Commands; ( firewall unban ip 8.8.8.8 ) This Unbans The IP Specified ( firewall unban range 8.8.8.8/24 ) This Unbans the CIDR Block Specified ( firewall unban domain google.com ) This Unbans the URL Specified ( firewall unban comment "Apples" ) This Unbans Entries With The Comment Apples ( firewall unban country ) This Unbans Entries Added By The "Ban Country" Feature ( firewall unban asn AS123456 ) This Unbans the ASN Specified ( firewall unban malware ) This Unbans Entries Added By The "Ban Malware" Feature ( firewall unban nomanual ) This Unbans Everything But Manual Bans ( firewall unban all ) This Unbans All Entries From Both Blacklists Example Ban Commands; ( firewall ban ip 8.8.8.8 "Apples" ) This Bans The IP Specified With The Comment Apples ( firewall ban range 8.8.8.8/24 "Apples" ) This Bans the CIDR Block Specified With The Comment Apples ( firewall ban domain google.com ) This Bans the URL Specified ( firewall ban country "pk cn sa" ) This Bans The Known IPs For The Specified Countries (Accepts Single/Multiple Inputs If Quoted) https://www.ipdeny.com/ipblocks/ ( firewall ban asn AS123456 ) This Bans the ASN Specified Example Banmalware Commands; ( firewall banmalware ) This Bans IPs From The Predefined Filter List ( firewall banmalware google.com/filter.list ) This Uses The Filter List From The Specified URL ( firewall banmalware reset ) This Will Reset Skynet Back To The Default Filter URL ( firewall banmalware exclude "list1.ipset|list2.ipset" ) This Will Exclude Lists Matching The Names "list1.ipset list2.ipset" From The Current Filter (Quotes And Pipes Are Nessessary For Seperating Multiple Entries!) ( firewall banmalware exclude reset ) This Will Reset The Exclusion List Example Whitelist Commands; ( firewall whitelist ip 8.8.8.8 "Apples" ) This Whitelists The IP Specified With The Comment Apples ( firewall whitelist range 8.8.8.8/24 "Apples" ) This Whitelists The Range Specified With The Comment Apples ( firewall whitelist domain google.com) This Whitelists the URL Specified ( firewall whitelist asn AS123456 ) This Whitelists the ASN Specified ( firewall whitelist vpn) Refresh VPN Whitelist ( firewall whitelist remove all) This Removes All Non-Default Entries ( firewall whitelist remove entry 8.8.8.8) This Removes IP/Range Specified ( firewall whitelist remove comment "Apples" ) This Removes Entries With The Comment Apples ( firewall whitelist refresh ) Regenerate Shared Whitelist Files ( firewall whitelist view ips|domains|imported ) View Whitelist Entries Based On Category (Leave Blank For All) Example Import Commands; ( firewall import blacklist file.txt "Apples" ) This Bans All IPs From URL/Local File With The Comment Apples ( firewall import whitelist file.txt "Apples" ) This Whitelists All IPs From URL/Local File With The Comment Apples Example Deport Commands; ( firewall deport blacklist file.txt ) This Unbans All IPs From URL/Local File ( firewall deport whitelist file.txt ) This Unwhitelists All IPs From URL/Local File Example Update Commands; ( firewall update ) Standard Update Check - If Nothing Detected Exit ( firewall update check ) Check For Updates Only - Wont Update If Detected ( firewall update -f ) Force Update Even If No Changes Detected Example Settings Commands; ( firewall settings autoupdate enable|disable ) Enable/Disable Skynet Autoupdating ( firewall settings banmalware daily|weekly|disable ) Enable/Disable Automatic Malware List Updating ( firewall settings logmode enable|disable ) Enable/Disable Logging ( firewall settings filter all|inbound|outbound ) Select What Traffic To Filter ( firewall settings unbanprivate enable|disable ) Enable/Disable Unban_PrivateIP Function ( firewall settings loginvalid enable|disable ) Enable/Disable Invalid Packet Logging ( firewall settings banaiprotect enable|disable ) Enable/Disable Banning IPs Flagged By AiProtect ( firewall settings securemode enable|disable ) Enable/Disable Insecure Settings Being Applied In WebUI ( firewall settings fs google.com/filter.list|disable ) Configure/Disable Fast Malware List Switching ( firewall settings syslog|syslog1 /tmp/syslog.log|default ) Configure Custom Syslog/Syslog-1 Location ( firewall settings iot unban|ban 8.8.8.8,9.9.9.9 ) Unban|Ban IOT Device(s) (or CIDR) From Accessing WAN (Allow NTP / Remote Access Via OpenVPN Only) (Use Comma As Separator) ( firewall settings iot view ) View Currently Banned IOT Devices ( firewall settings iot ports 123,124,125 ) Allow Port(s) To Access WAN (Use Comma As Separator) ( firewall settings iot ports reset ) Reset Allowed Port List To Default ( firewall settings iot proto udp|tcp|all ) Select IOT Allowed Port Protocol ( firewall settings lookupcountry enable|disable ) Enable/Disable Country Lookup For Stat Data ( firewall settings cdnwhitelist enable|disable ) Enable/Disable CDN Whitelisting ( firewall settings webui enable|disable ) Enable/Disable WebUI Example Debug Commands; ( firewall debug watch ) Show Debug Entries As They Appear ( firewall debug info ) Print Useful Debug Info ( firewall debug info extended ) Debug Info + Config ( firewall debug genstats ) Update WebUI Stats ( firewall debug clean ) Cleanup Syslog Entries ( firewall debug swap install|uninstall ) Install/Uninstall SWAP File ( firewall debug backup ) Backup Skynet Files To Skynets Install Directory With The Name "Skynet-Backup.tar.gz" ( firewall debug restore ) Restore Backup Files From Skynets Install Directory With The Name "Skynet-Backup.tar.gz" Example Stats Commands; ( firewall stats ) Compile Stats With Default Top10 Output ( firewall stats 20 ) Compile Stats With Customizable Top20 Output ( firewall stats tcp ) Compile Stats Showing Only TCP Entries ( firewall stats tcp 20 ) Compile Stats Showing Only TCP Entries With Customizable Top20 Output ( firewall stats search port 23 ) Search Logs For Entries On Port 23 ( firewall stats search port 23 20 ) Search Logs For Entries On Port 23 With Customizable Top20 Output ( firewall stats search ip 8.8.8.8 ) Search Logs For Entries On 8.8.8.8 ( firewall stats search ip 8.8.8.8 20 ) Search Logs For Entries On 8.8.8.8 With Customizable Top20 Output ( firewall stats search malware 8.8.8.8 ) Search Malwarelists For Specified IP ( firewall stats search manualbans ) Search For All Manual Bans ( firewall stats search device 192.168.1.134 ) Search For All Outbound Entries From Local Device 192.168.1.134 ( firewall stats search device reports ) Search Previous Hourly Report History ( firewall stats search invalid ) Search For Invalid Packets ( firewall stats search iot ) Search For IOT Packets ( firewall stats search connections ip|port|proto|id xxxxxxxxxx) Search Active Connections ( firewall stats remove ip 8.8.8.8 ) Remove Log Entries Containing IP 8.8.8.8 ( firewall stats remove port 23 ) Remove Log Entries Containing Port 23 ( firewall stats reset ) Reset All Collected Logs
Help! - Application.exe or Website.com Is Blocked;
Don't worry, tracking down false positive bans was at the core of design. Generally speaking you can follow these steps to find (and whitelist) anything incorrectly on your Blacklist!
1.) Enable Logging
Code:firewall settings logmode enable
2.) Open the blocked application/website and use the command;
Code:firewall debug watch
Now look for a flood of [BLOCKED - OUTBOUND] coming from the same IP. This most likely will be the IP you are looking for if its being spammed in large numbers.
3.) Copy the IP following "DST=" it should look something like this;
Code:DST=175.115.37.52
4.) Double check the IP is not actually something that should be banned, use a search tool like alienvault. If its related to a domain additional "Associated Domain" information should be printed beneath the log.
Code:https://otx.alienvault.com/indicator/ip/175.115.37.52/
5.) Great we have confirmed we found the IP of the blocked website/application we are looking for, lets whitelist it!
Code:firewall whitelist ip 175.115.37.52
killall: syslog-ng: no process killed
[i] Logging Enabled
[i] Watching Syslog For Log Entries (ctrl +c) To Stop
killall: syslog-ng: no process killed
^C-
[*] Stopping Log Monitoring
killall: syslog-ng: no process killed
=============================================================================================================
[#] 35539 IPs (+0) -- 2534 Ranges Banned (+0) || 60 Inbound -- 99 Outbound Connections Blocked! [debug] [63s]
I have one entry with multiple instances.Is the Top10 HTTP(s) Blocks section working okay for everyone else? 3 days of running and no entries(?).
View attachment 56047
I feell the *-- may be relevant, but willing to be corrected.
EDIT: Got a funny feeling I've asked this before.
Thanks. All I can say is I must have well-behaved devices.I have one entry with multiple instances.
AiProtect enabled?Thanks. All I can say is I must have well-behaved devices.
Nope. I don't think it's necessary.AiProtect enabled?
Is the Top10 HTTP(s) Blocks section working okay for everyone else? 3 days of running and no entries(?).
View attachment 56047
I feell the *-- may be relevant, but willing to be corrected.
EDIT: Got a funny feeling I've asked this before.
It's good to see you back around these parts @Adamm . Thank you for being here, and your hard work. Skynet is working better than ever.No outbound blocks is good, it means none of your devices are trying to call home to a malicious server. The *— is simply the spinner feature for an “animated” interactive menu
It's good to see you back around these parts @Adamm . Thank you for being here, and your hard work. Skynet is working better than ever.
chmod: /jffs/scripts/firewall: No such file or directory
Any thoughts?
Yeah. I'd already found it.Skynet - Unable to Install Skynet
I've pored through the forum trying to find a solution. Unable to install Skynet. This is error i get - "chmod: /jffs/scripts/firewall: No such file or directory Updated chart.js Updated chartjs-plugin-zoom.js Updated hammerjs.js Updated skynet.asp" "^[` Restarting Firewall Service To...www.snbforums.com
How long does it take for the Skynet log to become larger tan 0 ?
New router (RT-AX88U Pro) fresh WRT Merlin, followed by a new install of Skynet
(First installation of Skynet failed because of faulty USB drive)
In the routerinterface I see "No data to display" but there are IPs and Ranges banned ??
I removed and reinstalled Skynet a few times, nothing changed
I found the following thread where @dave14305 suggest a few commands, I tried both, log stays steady at 0 bytes and No data to display
https://www.snbforums.com/threads/no-data-to-display-in-skynet-statistics.78976/page-2
I'm only a simple flabbergasted user, if anyone can help me, please do
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!