Skip to content
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

The network firewall record is not in effect. #2247

Closed
okrc opened this issue Sep 19, 2022 · 7 comments
Closed

The network firewall record is not in effect. #2247

okrc opened this issue Sep 19, 2022 · 7 comments
Labels
documentation Improvements or additions to documentation fixed in next build Fixed in the next Sandboxie version

Comments

@okrc
Copy link
Contributor

okrc commented Sep 19, 2022

Describe what you noticed and did

This record does not take effect when a comma is used to separate multiple ports or port segments.
Examples.
80,81
26000-27000,52800

A separate port segment is in effect.
Examples.
36000-37000
443

NetworkAccess=Block;Port=21100,21100;Address=172.17.115.213;Protocol=TCP
NetworkAccess=Block;Port=21000;Address=172.17.115.213;Protocol=TCP
NetworkAccess=Block;Port=10920,10921;Address=172.17.115.213;Protocol=Any
NetworkAccess=Block;Port=10920,10921;Address=172.17.115.213;Protocol=Any
NetworkAccess=Block;Port=10200-10300,10340;Address=172.17.115.213;Protocol=Any
NetworkAccess=Block;Port=8090-8900;Address=172.17.115.213;Protocol=Any
NetworkAccess=Block;Port=8081;Address=172.17.115.213;Protocol=Any
NetworkAccess=Block;Port=8080;Address=172.17.115.213;Protocol=Any

image

How often did you encounter it so far?

No response

Affected program

Download link

Where is the program located?

Not relevant to my request.

Expected behavior

What is your Windows edition and version?

Windows 11 Pro 22H2

In which Windows account you have this problem?

Not relevant to my request.

Please mention any installed security software

Hongrong

What version of Sandboxie are you running?

Sandboxie-Plus v1.3.3 64, master

Is it a new installation of Sandboxie?

I have been using the same version for some time.

Is it a regression?

No response

In which sandbox type you have this problem?

All sandbox types (I tried them all).

Can you reproduce this problem on an empty sandbox?

I can confirm it also on an empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

No response

@okrc okrc added the Confirmation pending Further confirmation is requested label Sep 19, 2022
@DavidXanatos
Copy link
Member

indeed, , can only be used when a program is already specified to to limitations of the parser so you need to sue soemthignlike
NetworkAccess=*,Block;Port=80,430
instead of
NetworkAccess=Block;Port=80,430

I'll fix the UI such that in such cases it created properly the *, prefix

@DavidXanatos DavidXanatos added fixed in next build Fixed in the next Sandboxie version and removed Confirmation pending Further confirmation is requested labels Sep 19, 2022
@okrc
Copy link
Contributor Author

okrc commented Sep 19, 2022

I tried adding the *,prefix and it reproduced it as well.

@DavidXanatos
Copy link
Member

are you sure?
with NetworkAccess=*,Block;Port=80,443
all websites are inaccessible

@okrc
Copy link
Contributor Author

okrc commented Sep 19, 2022

我怀疑语言产生了歧义,我的英文不是很好。我是说这条记录不会生效。
I suspect that the language is ambiguous and my English is not very good. I mean this record will not be valid.

@okrc
Copy link
Contributor Author

okrc commented Sep 19, 2022

Sorry, I think I know the problem. Here is *; not *,
Not this, I will try the next suggestion.

@DavidXanatos
Copy link
Member

try the entry like this

NetworkAccess=*,Block;Port=80,443

@okrc
Copy link
Contributor Author

okrc commented Sep 19, 2022

Yes, it worked, I will try to test it again in a new environment.

@isaak654 isaak654 added the documentation Improvements or additions to documentation label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation fixed in next build Fixed in the next Sandboxie version
Projects
None yet
Development

No branches or pull requests

3 participants