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

Centralize Firewall Requirements #78

Open
hinerm opened this issue Nov 5, 2020 · 2 comments
Open

Centralize Firewall Requirements #78

hinerm opened this issue Nov 5, 2020 · 2 comments

Comments

@hinerm
Copy link
Member

hinerm commented Nov 5, 2020

There was a report that updating to the latest (6.0.1) launcher on Windows 10 resulted in a new request for firewall access from javaw.exe, whereas in the past the access was via ImageJ-win64.exe.

Looking through my personal firewall records I found entries for both ImageJ-win64.exe and various Java runtimes.

So it seems that each Java version requires its own access, and if a Java version used with an old launcher had already been excepted, we would need to confirm that this actually is due to the launcher and not changing Java versions.

Locally, I when testing with ImageJ 1.x with an ImageJ.cfg, I get a firewall request for the JRE pointed to in the ImageJ.cfg.

I have not been able trigger a firewall request from either ImageJ-win64.exe or its bundled Java.

I also noticed that some ImageJ plugins may have their own firewall hits (3D viewer?).

So I would like to understand:

  • When exactly are these firewall hits made?
  • Can they be run through a common process so that changes to the Java version, launcher, or plugins do not trigger new Firewall hits?
@imagesc-bot
Copy link

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/updated-imagej-launcher-java-bundles/44841/15

@ctrueden
Copy link
Member

ctrueden commented Nov 6, 2020

Might it depend on whether the launcher falls back to system Java? I believe that when it falls back to system Java, a new process is started, whereas when a Java library is dynamically linked, no new process.

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

3 participants