Skip to content

Add folder #307

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

Closed
Jtasiu opened this issue Jan 19, 2019 · 4 comments
Closed

Add folder #307

Jtasiu opened this issue Jan 19, 2019 · 4 comments

Comments

@Jtasiu
Copy link

Jtasiu commented Jan 19, 2019

Is there a way to add entire folder of programs to simplewall? I see it is possible to select multiple .exes/other files but is it possible to add a folder including subfolders?

@ltguillaume
Copy link
Contributor

ltguillaume commented Jan 29, 2019

Now you're just lazy ;-) :-P If you happen to use Total Commander, press Ctrl+B inside the folder, go to an .exe and press Alt+NumPlus. Now drag the files into simplewall.

@ghost
Copy link

ghost commented Jan 29, 2019

There are applications that change their path each update. League of Legends and Discord, for example. I need these five files allowed to have the game working. As you see, there are folders with numbers. Next update there will be other numbers. This add folder feature would be very convenient.

League of Legends\RADS\solutions\lol_game_client_sln\releases\0.0.1.255\deploy\League of Legends.exe
League of Legends\RADS\projects\league_client\releases\0.0.0.183\deploy\LeagueClientUx.exe
League of Legends\RADS\projects\league_client\releases\0.0.0.183\deployLeagueClient.exe
League of Legends\RADS\projects\league_client\releases\0.0.0.182\deploy\LeagueClientUx.exe
League of Legends\RADS\projects\league_client\releases\0.0.0.182\deployLeagueClient.exe

@ltguillaume
Copy link
Contributor

ltguillaume commented Jan 29, 2019

@dima-lisolyub That's a lot like #136 and cannot be easily handled, since the Windows Filtering Platform only allows full paths to a single executable.

It would require that simplewall monitors all filesystem changes in the specified folder and adds a rule as soon as a new executable pops up in the folder. It's possible, but probably not a small thing to implement. It would also probably only be useful when using simplewall in whitelist mode, because there would definitely be a delay between the creation of the file and the creation of the filter, during which the file could already have accessed the network when in blacklist mode.

@skupjoe
Copy link

skupjoe commented Jul 14, 2023

Wildcard support would work for this and also solve this issue if it could somehow be implemented.

Or if we could just go by relative program name (no fully declared path)

#1441 for more thoughts/discussion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants