Coder Social home page Coder Social logo

henrypp / simplewall Goto Github PK

View Code? Open in Web Editor NEW
5.4K 106.0 442.0 11.17 MB

Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer.

License: GNU General Public License v3.0

Batchfile 0.17% C 99.55% C++ 0.28%
wfp network firewall windows windows-firewall foss simplewall

simplewall's Introduction

simplewall

Definitely for advanced users.


Description:

Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer.

The lightweight application is less than a megabyte, and it is compatible with Windows 8.1 and higher operating systems. You can download either the installer or portable version. For correct working you are require administrator rights.

System requirements:

Donate:

GPG Signature:

Binaries have GPG signature simplewall.exe.sig in application folder.

  • Public key: pubkey.asc (pgpkeys.eu)
  • Key ID: 0x5635B5FD
  • Fingerprint: D985 2361 1524 AB29 BE73 30AC 2881 20A7 5635 B5FD

Nota bene:

Keep in mind, simplewall is not a control UI over Windows Firewall, and does not interact in any level with Windows Firewall. It works over Windows Filtering Platform (WFP) which is a set of internal API and system services that provide a platform for creating network filtering applications. Windows Filtering Platform is a development technology and not a firewall itself, but simplewall is the tool that uses this technology.

Features:

  • Simple interface without annoying pop ups
  • Rules editor (create your own rules)
  • Internal blocklist (block Windows spy / telemetry)
  • Dropped packets information with notification and logging to a file feature (win7+)
  • Allowed packets information with logging to a file feature (win8+)
  • Windows Subsystem for Linux (WSL) support
  • Windows services support
  • Windows Store support
  • Free and open source
  • Localization support
  • IPv6 support
To activate portable mode, create "simplewall.ini" in application folder, or move it from "%APPDATA%\Henry++\simplewall".

Reviews of idiots:

Look at them, he does not know about .gitmodules and how to use, lol.

PS: Without idiots we are not to be fun, yeah!

Installation:

When install rules, you can choose two modes:

  • Permanent rules - rules are working until you disable it manually.
  • Temporary rules - rules are reset after the next reboot.

Uninstall:

When you uninstall simplewall, all previously configured filters stay alive in system. To remove all filters created by simplewall, start simplewall and press "Disable filters" button.

Command line:

-install - enable filtering.
-install -temp - enable filtering until next reboot.
-install -silent - enable filtering without prompt.
-uninstall - remove all installed filters.

Rules editor:

simplewall have two types of custom user rules rules:

  • Global rules: rule applied for all applications.
  • Special rules: rule applied only for specified applications.

To set rule applications, open rule and then navigate to "Apps" tab.

Rule syntax format:
  • IP addresses 192.168.0.1; 192.168.0.1; [fc00::]
  • IP addresses with port 192.168.0.1:80; 192.168.0.1:443; [fc00::]:443;
  • IP ranges 192.168.0.1-192.168.0.255; 192.168.0.1-192.168.0.255;
  • IP ranges (with port) 192.168.0.1-192.168.0.255:80; 192.168.0.1-192.168.0.255:443; (v2.0.20+)
  • IP with prefix lengths (CIDR) 192.168.0.0/16; 192.168.0.0/24; fe80::/10
  • Ports 21; 80; 443;
  • Ports ranges 20-21; 49152-65534;

To specify more than one ip, port and/or host, use semicolon.

IPv4 CIDR blocks:
Address format Mask
a.b.c.d/32 255.255.255.255
a.b.c.d/31 255.255.255.254
a.b.c.d/30 255.255.255.252
a.b.c.d/29 255.255.255.248
a.b.c.d/28 255.255.255.240
a.b.c.d/27 255.255.255.224
a.b.c.d/26 255.255.255.192
a.b.c.d/25 255.255.255.128
a.b.c.0/24 255.255.255.0
a.b.c.0/23 255.255.254.0
a.b.c.0/22 255.255.252.0
a.b.c.0/21 255.255.248.0
a.b.c.0/20 255.255.240.0
a.b.c.0/19 255.255.224.0
a.b.c.0/18 255.255.192.0
a.b.c.0/17 255.255.128.0
a.b.0.0/16 255.255.0.0
a.b.0.0/15 255.254.0.0
a.b.0.0/14 255.252.0.0
a.b.0.0/13 255.248.0.0
a.b.0.0/12 255.240.0.0
a.b.0.0/11 255.224.0.0
a.b.0.0/10 255.192.0.0
a.b.0.0/9 255.128.0.0
a.0.0.0/8 255.0.0.0
a.0.0.0/7 254.0.0.0
a.0.0.0/6 252.0.0.0
a.0.0.0/5 248.0.0.0
a.0.0.0/4 240.0.0.0
a.0.0.0/3 224.0.0.0
a.0.0.0/2 192.0.0.0
a.0.0.0/1 128.0.0.0
0.0.0.0/0 0.0.0.0

IPv6 CIDR blocks:

2001:0db8:0123:4567:89ab:cdef:1234:5678
|||| |||| |||| |||| |||| |||| |||| ||||
|||| |||| |||| |||| |||| |||| |||| |||128 Single end-points and loopback
|||| |||| |||| |||| |||| |||| |||| |||127 Point-to-point links (inter-router)
|||| |||| |||| |||| |||| |||| |||| ||124
|||| |||| |||| |||| |||| |||| |||| |120
|||| |||| |||| |||| |||| |||| |||| 116
|||| |||| |||| |||| |||| |||| |||112
|||| |||| |||| |||| |||| |||| ||108
|||| |||| |||| |||| |||| |||| |104
|||| |||| |||| |||| |||| |||| 100
|||| |||| |||| |||| |||| |||96
|||| |||| |||| |||| |||| ||92
|||| |||| |||| |||| |||| |88
|||| |||| |||| |||| |||| 84
|||| |||| |||| |||| |||80
|||| |||| |||| |||| ||76
|||| |||| |||| |||| |72
|||| |||| |||| |||| 68
|||| |||| |||| |||64 Single LAN (default prefix size for SLAAC)
|||| |||| |||| ||60 Some (very limited) 6rd deployments (/60 = 16 /64)
|||| |||| |||| |56 Minimal end sites assignment[12] (e.g. Home network) (/56 = 256 /64)
|||| |||| |||| 52 (/52 = 4096 /64)
|||| |||| |||48 Typical assignment for larger sites (/48 = 65536 /64) - Many ISP also do for residential
|||| |||| ||44
|||| |||| |40
|||| |||| 36 possible future Local Internet registry extra-small allocations
|||| |||32 Local Internet registry minimum allocations
|||| ||28 Local Internet registry medium allocations
|||| |24 Local Internet registry large allocations
|||| 20 Local Internet registry extra large allocations
|||16
||12 Regional Internet Registry allocations from IANA[15]
|8
4

FAQ:

Q: Are internet connections blocked when simplewall is not running?

A: Yes. Installed filters are working even if simplewall is terminated.

Q: What apps are blocked in default configuration?

A: By default, simplewall blocks all applications. You do not need to create custom rules to block specific applications.

Q: Is it safe to use simplewall with Windows Firewall?

A: Yes. You do not need to disable Windows Firewall. These two firewalls work independently.

Q: How can i disable blocklist entirely?

A: Open Settings -> Blocklist and then click the radio buttons labeled Disable.

Q: Where is blacklist mode?

A: Blacklist was removed many days ago for uselessness. But if you need it, you can still configure it.

Solution: Configure blacklist mode in simplewall:
  1. Open Settings -> Rules
  2. Uncheck Block outbound for all and Block inbound for all options.
  3. Create user rule (green cross on toolbar) with block action, any direction, Block connection name and empty remote and local rule.
  4. You can assign this rule for apps whatever you want to block network access.

Q: Why does my network icon have an exclamation mark?

A: When you are connected to a network, Windows checks for internet connectivity using Active Probing. This feature is named as NCSI (Network Connectivity Status Indicator). You can resolve this problem in one of the following ways:

Solution 1: Enable NCSI through internal system rule:
  1. Open System rules tab.
  2. Allow NCSI rule (enabled by default).

Solution 2: Disable NCSI through system registry:

Create Disable NCSI.reg and import it into registry.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityStatusIndicator]
"NoActiveProbe"=dword:00000001
"DisablePassivePolling"=dword:00000001

Solution 3: Disable NCSI through group policy:
  1. Launch the group policy editor (gpedit.msc ).
  2. Go to Computer Configuration -> Administrative Templates -> System -> Internet Communication Management -> Internet Communication Settings.
  3. Double-click Turn off Windows Network Connectivity Status Indicator active tests and then select Enabled. Click Ok.
  4. Open the Command Prompt (Admin) and enter gpupdate /force to enforce the changes made to the Group Policies.

Q: How can I disable Windows Firewall?

Start the command line as an administrator, and enter the commands below.

Disable Windows Firewall profiles:
netsh advfirewall set allprofiles state off

Enable Windows Firewall profiles:
netsh advfirewall set allprofiles state on

Q: How can I view all filters information?

Start the command line as an administrator, and enter the commands below.

Dump filters information saved into a `filters.xml` file:
cd /d %USERPROFILE%\Desktop

netsh wfp show filters

Dump providers, callouts and layers information into a `wfpstate.xml` file:
cd /d %USERPROFILE%\Desktop

netsh wfp show state

Open it in any text editor and study.

Q: How to fix Windows Update internet access?

Windows 10 and above:

Open main window menu Settings -> Rules -> Allow Windows Update.
This is working by method described here.


Windows 8.1:

Open main window, Navigate into System rules tab and then enable Windows Update service rule.


Q: Other questions:


(c) 2016-2024 Henry++

simplewall's People

Contributors

adeii avatar alcazer avatar alphajack avatar andrewczm avatar binhnguyen99391 avatar bovirus avatar callmenemo491 avatar colorfulparade avatar dsymbol avatar eric-l10n avatar fredman95 avatar henry2o1o avatar henrypp avatar hho2002 avatar huldf avatar ieno avatar igorruckert avatar imba-tjd avatar ltguillaume avatar muhaaliss avatar nkh0472 avatar openseabrus avatar perdolka avatar phaiderikos avatar powsey avatar rddim avatar rukoto avatar sine avatar sr093906 avatar udev2019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

simplewall's Issues

Make the binary more secure (sign+GPG)

Please sign the exe so Windows show it as valid.

Also it would be nice if you provide a GPG.asc signature for the binary so we can check if the file is realy from you. The checksum only provide a integrity test.

IDM integration module

In version 2 (until the most recent) there is a problem with the program Internet Download Manager (IDM) because it's Integration Module doesn't work after installing the filters and only appears this message.

37462343152_d0e5144229_o

In version 1 (until version 1.6.5) this problem didn't exist.

I hope there's some way to fix it.

support ip:port

please if possible add support ip:port
i try this for vpn but not work
thanks

System rules & popup notifications

When I mark system rules (i.e. DNS, DHCP, IGMP) some popup notifications appears for System and svchost processes.

System and svchost are allowed and while list activated.

Is there a way to prevent popup notifications from processes System & svchost when DNS, DHCP, IGMP system rules are selected?

Thank you very much.

Notification of blocked outbound for Explorer.exe, but not logged

In Whitelist mode, I'm getting a notification of a blocked connection to a Microsoft server (40.77.226.247) by Explorer.exe, but when I try to find it in the simplewall.log file, it's nowhere to be found. I have no block/allow rule set for Explorer just yet.

[Question] - Undo all changes made by Simplewall

Yesterday I've tried SimpleWall (portable) just to see how it works. I´ve set rules and suddenly al of my apps are unable to access Internet. I've removed the portable folder and restored Windows Firewall default settings, but no luck either. I've also tried to restore system to before but that also didn't work.

So my question is: how can I undo all settings made by simplewall in order to gain Internet access again?

Thanks

simplewall does not create any entries for interpreters

Windows 7
WIndows 10 Version 1607 OS Build 14393.693

Run any network commands or interpreters to connect out via the network.

For example,

cmd.exe
ping.exe
nslookup.exe
wscript.exe
cscript.exe
powershell.exe
etc
etc

simplewall does not create entries for cmd, cmd utilities nor interpreters.

I have reported this issue before.

Simplewall UI sometimes won't show up

I tried with 1.65 to 2.0.2 with Windows 10 and 8.1 it seems to happen randomly on longer periods of PC usage (from 4 hours I believe). It shows up in taskbar preview(I can see the UI from thumbnail too) but not as a window.

simplewall and GRC | ShieldsUP

with just simplewall it can pass two test of grc.com
Solicited TCP Packets
Unsolicited Packets
great job
however third one not
Ping Reply: RECEIVED (FAILED) — Your system REPLIED to our Ping (ICMP Echo) requests, making it visible on the Internet. Most personal firewalls can be configured to block, drop, and ignore such ping requests in order to better hide systems from hackers. This is highly recommended since "Ping" is among the oldest and most common methods used to locate systems prior to further exploitation.

https://www.grc.com/x/ne.dll?bh0bkyd2
can you add predifined rule for ICMP Echo request too?

thanks

RDP

Thanks for this app, it certainly looks promising.

Now I'm testing it on a remote VM machine running on that ridiculous Win10 (at home I'm still on 8.1. and using sadly no longer developed tinywall).

So I'm rather confused by the UI of the app. There is no system-wide rule for RDP and making a custom rule changes nothing. After some tests (for which I needed accesses to host machine as otherwised RDP is blocked) apparently I need to open svchost.exe... After that RDP works but that's way too permissive.

What is the actual way to allow only RDP connections but not allowing anything else?

Need a way to filter-out loopback dropped packets from dropped packets notifications

Windows 7
Windows 10 Version 1607 OS Build 14393.693

As I user I want to enable dropped packet notifications - but at the same time - I do not want constant dropped packets notifications for loopback.

Also, if disable dropped packet notifications, but keep WFwAS enabled, simplewall will display dropped packet notifications.

I have reported these issues before.

support some other format and appcrash

hello
please add support adding rules by this way for custom rule
ip:*

  • *is any port
    ip,ip,ip and more each ip different

problem is with Windscribe
i cleared my log so i dont have them
but i first see in log file created custom rule for them
but two of them is cause crash one udp rule and one igmp

it seems dosent uninstall fully my custom rule since i deleted my custom rules then uninstall filter and install filter again main program will be crashed still when i run Windscribe
and wont log anymore
screenshot 2017-04-16 001

C:\program files\windscribe\windscribe.exe (jjj-PC\jjj) [UDP:vpn:53] Intercepts inbound or outbound connect attempts [Remote]
C:\program files\windscribe\windscribe.exe (jjj-PC\jjj) [UDP:myip:60312] Intercepts inbound or outbound connect attempts [Local]
C:\program files\windscribe\windscribe.exe (jjj-PC\jjj) [UDP:vpn:53] Intercepts inbound or outbound connect attempts [Remote]
C:\program files\windscribe\windscribe.exe (jjj-PC\jjj) [UDP:myip:51033] Intercepts inbound or outbound connect attempts [Local]

crash log
https://gist.github.com/hesss5/d0237b67fd7e8ef57935e09fa3bdfc88#file-gistfile1-txt

thanks

Suggestion: direct IP Lookup from notifications

It would be nice to be able to click on the external IP presented in a notification in order to lookup the IP with such a service.

Alternatively, a way to be able to copy the IP address to the clipboard would suffice.

question suggestion

question:i create allow rule for one program example when it ask for dns
but i wont tick it in main window to go in allowed apps
so its remain in blocked apps
so question is a created allow rule in notification window will allowed while
program is in blocked apps section or not?
and suggestion is add option in notification window to tick program so it go in allowed apps section directly

also i have this log
[‏2017/‏08/‏31 ‎‏02:59:06 AM] FwpmGetAppIdFromFileName() failed with error code 0x00000002 (C:\programdata\abelssoft\send2phone\program\send2phone.exe) [2.0.5]
[‏2017/‏08/‏31 ‎‏04:05:59 AM] FwpmEngineOpen() failed with error code 0x000006d8 () [2.0.5]
[‏2017/‏08/‏31 ‎‏05:27:21 AM] FwpmEngineOpen() failed with error code 0x80320010 () [2.0.5]

thanks

Custom Rules behavior

In whitelist mode, creating rules is very confusing.

  1. Why are custom rules after creation via a notification not enabled by default?
  2. Are custom rules created via a notificaiton linked specifically to the executable or not? Although the answer is yes (the tooltip denotes the path to the executable), the Rules Editor itself does not mention the executable anywhere.

By now I've figured out that I should create a custom rule (without enabling it), then right-click on the app and choose to allow it for that app. It's extra confusing if you're trying to create a custom rule from the context menu of an app and finding out that the created custom rule is not linked to that app.

A. I think mentioning the app path inside the Rules Editor would be necessary for clarity
B. I think creating a rule from the context menu should include the application one has right-clicked on

Uninstalling Wfp Tool Does Not Return System to the State Prior to Installation of Wfp Tool

WARNING !!

Uninstalling Wfp Tool does not return Windows Firewall and filtering for programs to a state prior to installing Wfp Tool unless...

When you uninstall Wfp Toll - BEFORE DOING SO - you must:

  1. untick "Disable Windows FIrewall"; and
  2. Uninstall filtering

Otherwise two things will happen:

A. Windows Firewall and associated services will remain disabled and cannot be started (Error 0x8007042c) https://support.microsoft.com/en-us/kb/2530126
B. Programs for which there was not an Allow rule created with Wfp Tool will not be able to connect to the internet

In other words, if you do not do the above, the disabled Windows Firewall and program filtering will persist on the system (in BFE Service\registry ?) AFTER uninstalling Wfp Tool.

You can correct this by reinstalling Wfp Tool and doing 1 and 2 above, but for 2 you must recreate all the rules that were present at the time you initially uninstalled it and then uninstall the filtering.

This issue is a real problem.

L2TP

i cant connect l2tp server behind wfptool

i Added port 500, 4500 and 5000

SW still not 1.42 blocking traffic through VPN

I am sorry to report, pal, that simplewall (1.42) is still not filtering traffic when used with VPN software. For example, when using a VPN program, I can easily browse the Web. SimpleWall lists the VPN program, which though, for navigating anonymously, I have to give it permission (that is, mark it, the VPN executable, as allowed). This time I used Simplefirewall default settings with White list mode on, but, sorry, the problem persists.

By the way, have you ever heard for evorim.com firewall? Its latest version can block VPN traffic. May you could get some programming help for solving the problem from them?

Custom rules with IP ranges do not work

The only problem seems to be that IP ranges do not work when the notation 0.0.0.0-110.44.255.255 is used. So this should be checked. IP ranges in the CIDR notation do work.

Old comment:

Apparently, allowing an app will overrule any custom (blocking) rules for that app? Custom rules should have higher priority, but the IP ranges I've set for an allowed app are NOT blocked. How should I allow an application to create outbound connections to anywhere, with the exception of a set of IP ranges?

I tried the other way around, by blocking the app and then creating a custom rule to allow everything outside of these IP ranges (and disabling notifications for the executable). No go.

On a side note: if it would have worked, can I specify multiple ranges in a single rule like this
0.0.0.0-110.44.255.255; 110.48.0.0-113.28.255.255? It seems to be accepted by the Rules Editor, but as said there is no effect at all. Even a single range like 113.30.0.0-203.216.255.255 in a custom allow rule doesn't stop SimpleWall from blocking everything for that app.

No ability to utilise DNS C-NAME resolve in firewall filters' configuration. Perhaps using a configuration specified DNS server could be acceptable.

Without the ability to resolve host IP in filter configuration some services hosted at short-lived DNS names are impossible to use. An example of such service is a SSTP based VPN on a dynamic host.
Without the IP, one has to resort to an extremely generic port based rule (allow TCP 443) for some Microsoft core processes thereby giving them very broad permissions.
These also seem to be an anomaly in DNS resolving in Windows 10 during VPN initiation phase of the built-in VPN. Until I have explicitly allowed UDP communication on port 53 the VPN was unable to resolve the hostname configured - even with the system rule "DNS+LLMNR" enabled! The process trying to resolve the IP was "svchost.exe."
I know that I can probably use a HOSTS updater to get around the DDNS VPN hostname resolution, but a general solution would be more user friendly.

[UI] Grid improvement [enhancement]

Hi again :)

Been testing all beta versions and now 2.14 is really looking awesome, a lot of UI has been improved and it more or less makes sense now :)))

Still, for the main windows grid list, it is methodologically incorrect to split apps only in two groups, i.e. Blocked and Allowed. It should be three groups minimum: Blocked completely, Allowed and Filtered apps.
The Filtered group is for the apps which have custom filters on, it should be in the middle then.

I noticed you use colours to classify different apps like System, Signed, Having Filters, Disabled notifications etc. Whilst per se it is a good thing, having too many such colours makes UI too busy and not straightforward to use. Suggesting to rework the colour system and reduce the number of colours, but that's not very important atm, I guess.

Программе нужна однозначная "защита от дурака"

Здравствуйте! Я тут столкнулся с последствиями её ошибочного применения - итогом стала блокировка сокета политиками. ОС стек видит, выход блокирован всем. Как последствие её переустановка с Recovery Service DVD изготовителя благо там и без того ошибок накопилось достаточно - ноутбук, а там свои особенности, да и в тот момент кое-какое железо поменяли из-за отказа.

Предложение такое - добавить функцию принудительного бэкапа настроек до внесения программой любых изменений и сброса всех установок фильтров WFP на момент данного бэкапа. Ранее с похожей ситуацией я сталкивался в Comodo Firewall v7.х и v8.х как последствия ошибок clink - в какой-то момент времени сеть вроде есть, дагностика сокета ничего не выявляет, а приложения и сама ОС выйти в сеть не могут и восстановление ОС из бэкапа чаще всего не помогает т.к. параметры запуска ОС сбиты наглухо.

Так что как мне кажется принудительное резервирование и возможность отката на данную резервную копию должны резко снизить верятность таких ошибок.

added process will be cleared

hello
thanks for update
run portable version
right click on main window add process > all
then i select program that i want allow,then from file menu select setting
now i check and unch some options after click apply or close
all process added by "add process > all" will disappear include white listed program
this happen with or without installed filter

[UI] [cosmetic] tooltip

Tooltip (on a grid in the main window) appears slightly wrong:
The first line is the path to the app in question and then it says "Path:" in the second line.
Then it follows with a name and signature (if any). So "Path" either should be first or maybe even better to get rid of that line completely.

WindowsSpyBlocker rules

Hi @henrypp

I'm the developer of WindowsSpyBlocker and i'm glad to see that you're using these rules ;)
I wanted to know if it would interest you that I integrate and directly generates the blocklist.xml in my repository?

The structure would look like this:

data/simplewall/win7/extra.xml
data/simplewall/win7/spy.xml
data/simplewall/win7/update.xml

Then instead of copy / paste the rules from my repository you just have to download directly from your app the rules. A project called HostsMan can manage multi sources from the web and update automatically. I think it might interest you and why not also handle the blocking of domain names.

Let me know if you are interesting.

Thanks

When an application updates, keep allowing existing rules to work

Everytime Battlenet/Overwatch updates it shows up as an filter application (unticked), currently I have 3 battle.net.exe processes listed. tl;dr basically if I whitelist battlenet then it updates it should keep the exisiting whitelisted process and not treat the update it as completely new app everytime.

Notification window [UI]

New notification window is much better than in the previous version, much appreciated.

However there are a couple of UI logic problems still there.

First, it is not very clear what exactly Allow and Block actually do. It appears that Block does nothing (keeps blocking as before or actually nothing?) and Allow will actually check the app in the main window (i.e. enables everything for that app). I reckon many users can make an easy mistake here -- for instance clicking on disable notifications and then allow instead of disable.

There are a couple of allow options to create a new custom rule, which is very convenient, however there are no options to create a custom blocking rule. E.g. I might want to block that particular IP address but allow the app to access the rest of the internet.

Suggestion:
I think the best way around it would be to create block or allow custom rule based on the button clicked i.e. "Allow" or "Block". Of course the options text would need to be reworded for that.

I.e. Create a custom rule for .... address and then subject to the button clicked the allow or block rule is created.

In the current scenario the UI logic is broken -- because currently you select e.g. Allow rule by IP and then click on Block and that does nothing, apparently.

Error with windows firewall management

First thanks for this very nice piece of software.

I have an error since the first version 2.0 i tried ( maybe the 2.0.4b ) related to the control of windows firewall service within your program.

Here is the log ( same message in prior versions ) :
[‎24/‎09/‎2017 ‏‎08:43:35] OpenService() failed with error code 0x00000005 (mpssvc) [2.0.8]
[‎24/‎09/‎2017 ‏‎08:43:36] OpenService() failed with error code 0x00000005 (mpsdrv) [2.0.8]
[‎24/‎09/‎2017 ‏‎08:46:08] OpenService() failed with error code 0x00000005 (mpssvc) [2.0.8]
[‎24/‎09/‎2017 ‏‎08:46:08] OpenService() failed with error code 0x00000005 (mpsdrv) [2.0.8]

I am using windows 10 family x64 "insider" french version.
I am under an admin account, I tried running simplewall.exe as admin, same results.

Besides after stopping windows built-in firewall, windows doesnt recognize simplewall as a valid protection.

Just wanted to let you know, and again, thanks for this.
Regards ,

SimpleWall Crashing on Win10x64

Hi, Henry:

Sorry to report this, but simplewall (1.46) crashes and is shut down by Windows every time I try to run it. I am running on a BPortuguese Windows 10 x64 1607 14393 1066 edition, NVidia GE Force 2GB, 8GM RAM, Asus MB.
Thanks for your dev efforts.
Regards.

Applications within symbolic links

If you have in application within a symbolic link it gets detected and can be configured but in whitelist mode it is always blocked.
For example if you have a second partition and mount it into c-drive with

mklink /J C:\external \\?\Volume{00000000-0000-0000-0000-000000000000}\

then the app gets detected with C:\external\app.exe but it is still blocked.

I don't know if there's anthing that can be done as the windows firewall has the same problem so it might be a filter driver issue.

Edit:
The problem only occurs if the second partition doesn't have a normal drive letter. If it has and a rule to this path exists (e.g.: D:\app.exe) the app is allowed even if it is started from C.\external\app.exe

Edit 2:
In the latest beta the blocking problem does not occur. But apps get auto-detected with a path \device\harddiskvolumeX\app.exe
If apps are added manually (e.g. from running processes) everythings works fine.

Firefox freeze because of blocked listen connections

Firefox will be freeze time to time
after install filter and closing and opening different Firefox profile it happen
and even i can not kill process.its run in background but no window open

ff

anybody have same problem?

thanks

'Disable notifications' wear out after time in some applications

today I have realized that some apps started to showing notifications even I have disabled them before. If you have made 'disable notifications 999 times' or something in main code it must be cause of it. The apps I have encountered so far are; 'lcore.exe (Logitech Gaming Software)' and 'nvidia share.exe (which is connected to ShadowPlay)'

PPTP

Can't connect to PPTP server behind wfptool

No Filtering of System32, SysWOW64 and Startup Processes

System32, SysWOW64 and Startup processes are default-allow in Wfp Tool.

Adding System32, SysWOW64 and Startup processes to the filter list (using Add Process) does not generate any alerts.

For example, add ping.exe and execute it (cmd > ping github.com) generates no alerts form Wfp Tool.

Malware often abuses System32, SysWOW64 processes and\or will insert itself to auto-run at Windows startup.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.