henrypp / simplewall

Simple tool to configure Windows Filtering Platform (WFP) which can configure network activity on your computer.
GNU General Public License v3.0
6.34k stars 492 forks source link

[Bug] Simplewall looses app rule when app file is deleted #1886

Closed OneForgottenMan closed 1 month ago

OneForgottenMan commented 2 months ago

Checklist

App version

3.8.4

Windows version

Windows 7 SP1

Steps to reproduce

  1. Run SFX app, which unpacks itself into temp folder (path is always the same)
  2. Give unpacked app access to internet
  3. Close app (the unpacked app is deleted from temp)
  4. Run app again

Expected behavior

Simplewall should check that application with that path already exists in list and use existing rule. (This was the case when I was on 3.6, I just recently jumped to 3.8)

Actual behavior

Simplewall looses an added application after its file is deleted, as a result, a deleted application in the list now points to just "C:\". explorer_3EZGZWCV2T

Logs

No response

henrypp commented 1 month ago

https://github.com/henrypp/simplewall/issues/1887#issuecomment-2371818015