New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
programs that are located on mounted/removable drives don't get recognized after unmount/mount #128
Comments
I wonder how other firewalls handle this. Did they implement an "app-is-available-check"-method that gets called everytime an app tries to make a connection? Maybe this would be a solution for simplewall aswell? i think simplewall also just needs to add refresh-method that gets called everytime an app tries to make a connection attempt. then it would always get the current state of the app that tries to connect. |
well, it seems like it's partially working now in v2.2.1 beta, isn't it? however it seems like there is something missing. when such an app gets mounted, simplewall detects the app as available again, but when this app first tries to connect online, simplewall fires up a notification popup whether it should allow it or not. until clicking on "allow" all packets get dropped, despite having the app already ticked as allowed app and simplewall should actually just allow any connection attempts without notifications - even after unmounting/mounting the drive on which the app resides. is there any intention with this behaviour or is something wrong? |
just an update on this issue on v.2.2.3: when I boot my computer and simplewall has started it checked all the existing apps and marks those not existing in red color. so this problem unfortunately still exists/or exists again in v2.2.3. |
Method checking new devices mounted and refresh filters when new device available already exists long time ago. So check 2.2.5 Beta! |
@henrypp maybe the problem relies in |
@tokariu check 2.2.7 All encrypted file containers are mounted as normal harddisk, i just install veracrypt now and all worked as well, it seems simplewall does not see any notification about device change on your system, in 2.2.7 maybe fixed. |
@henrypp did check 2.2.7RC. But it's still the same. just for testing purposes try to have f.i. jdownloader2 in a VC container and mount it as lets say.. drive X: then shut everything down, make a reboot for example and back in simplewall both programs show up as red/offline, that of course is normal, because the container with the program is not mounted yet. PS:
|
I discovered a problem with the recognition of programs when they are on removable/mountable drives.
for instance:
i've got a an encrypted container which i can mount under the label K:. on this drive is a program that wants to connect to the internet, and simplewall detects it and shows a notification. I choose ALLOW and everything is fine.
now when i unmount K:\ and later i mount K:\ again, simplewall does not recognize the program anymore. in simplewall it is marked with RED color, saying this program is missing (even though I just mounted it again and it is available). In the Error log it reads:
At this point, simplewall blocks all packets of the program, because it doesn't recognize it. It also doesn't show a new notification popup to ask me if I want to allow it to connect to the internet.
When I close simplewall and start it again, the program gets recognized and it can connect to the internet.
I think simplewall needs a new method that recognize when programs are available on removable / mountable drives.
EDIT: If you hit F5 to refresh the app-list in simplewall, it works again. But it shouldn't depend on manually hitting refresh. It would be better if simplewall keeps track of available programs automatically.
The text was updated successfully, but these errors were encountered: