Forums

Failure to auto-open windows firewal

john kumpf, User (Posts: 38)

Nov 15, 2015 6:09:08 pm EST

When running the agent for the second and subsequent times on a host, the firewall is not opened automatically.

This is for the temporary agent, not the installed host. [v6.3.0.6]

When you run the agent the first time, it unpacks to
C:\Users\USERNAME\AppData\Local\Temp\7ZipSfx.000
and
C:\Users\USERNAME\AppData\Local\Temp\7ZipSfx.000\rutserv.exe
gets added to the windows firewall list of Allowed Programs.

Subsequent runs get unpacked to
C:\Users\USERNAME\AppData\Local\Temp\7ZipSfx.001

C:\Users\USERNAME\AppData\Local\Temp\7ZipSfx.002
...
and so on.
But these higher-numbered paths do not get added automatically to windows firewall list of Allowed Programs
I add them manually, and it works.
Perhaps agent upon exit is supposed to delete the 7ZipSfx.000 dir and re-use it next run, but you can't count on that cuz crashes happen, especially in PC support contexts, which I assume is common for your program.

Perhaps agent is supposed to detect at startup that the 7ZipSx.000 dir exists, delete it then, and re-use it.

Or perhaps it is supposed to use consecutive numbered dirs, but in that case it should add rutserv.exe in those dirs to Allowed Programs in windows firewall.
Edited:john kumpf - Nov 15, 2015 6:15:16 pm EST

Conrad Sallian, Administrator (Posts: 1152)

Nov 16, 2015 1:54:15 pm EST

Hello John,

You are absolutely right pointing at this issue, and we already have it on our roadmap to make the Agent unpack into a persistent folder instead of in temporary folders. This will be implemented in one of the nearest updates.

* Website time zone: America/New_York (UTC -5)