Multiple Instances

Please post your problem description here

Moderator: Barb@Invincea

Post Reply
Guest

Multiple Instances

Post by Guest » Mon Jul 16, 2007 4:26 pm

I am trying to get multiple instances of a program to run. I thought this would work by starting the first instance sandboxed and then starting another one outside of the sandbox. The program is still able to detect that the program is running even though it is inside the sandbox.
Is there any way to do this?

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Mon Jul 16, 2007 4:30 pm

Have you tried multiple sandboxes? Maybe that would work?
Windows 7 SP1 x64, Sandboxie v3.70 x64 with Experimental Protection, GnuPG, OTR (Off-The-Record), Sticky Password, My Brain.

Guest

Post by Guest » Mon Jul 16, 2007 4:39 pm

Multiple sandboxes seems to do the same thing.

I tried it this way.
Open sandbox 1
Install program to sandbox 1
Open sandbox 2
Install program to sandbox 2
Go back to sandbox 1
launch program in sandbox 1 (shows as running in sandbox 1)
Go to sandbox 2
launch program in sandbox 2 (shows as running in sandbox 2)
Error pops up saying it is already running and closes.

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Mon Jul 16, 2007 6:18 pm

If your program does not support multiple instances, I think you're out of luck. If you open Task Manager you'll see your sandboxed program listed there. When you try to open the un-sandboxed instance, it sees that too and will not continue.

SnDPhoenix
Posts: 2690
Joined: Tue Dec 26, 2006 5:44 pm
Location: West Florida

Post by SnDPhoenix » Mon Jul 16, 2007 8:21 pm

Actually now that i think about it, i think i remember somebody posting how you can keep 2 sandboxes from being able to read from each other, that way each sandbox could only read the contents inside of itself, or maybe it was somebody makeing a feature request, or maybe that never happened in the first place, omg im going crazy :shock:
Windows 7 SP1 x64, Sandboxie v3.70 x64 with Experimental Protection, GnuPG, OTR (Off-The-Record), Sticky Password, My Brain.

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Mon Jul 16, 2007 10:41 pm

I posted the opposite question acutally, how to get two sandboxes talking to eachother. So far no solution, but I don't need it anymore. Anyway, I'm pretty sure in v3 now two sandboxes cannot talk by default. Either way, it doesn't keep a sandboxed program from seeing what processes are running, and all sandoxed programs show up in task manager.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Jul 17, 2007 7:49 am

The program is still able to detect that the program is running even though it is inside the sandbox.
I'd like to check the program myself and see what it's doing to find copies of itself. Please say which program, and provide a download link, if possible.
tzuk

wraithdu
Posts: 1410
Joined: Fri Jun 29, 2007 2:54 pm

Post by wraithdu » Tue Jul 17, 2007 9:27 am

In my example, if I run Firefox un-sandboxed, then try to run PortableFirefox sandboxed, the PFF launcher checks for a running instance of FF and exits. I assume it just checks for the FF process.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Jul 17, 2007 9:56 am

In my example, if I run Firefox un-sandboxed, then try to run PortableFirefox sandboxed
That's ok, it's working as designed: Program running in a particular sandbox should see all unsandboxed programs and the programs in its own sandbox, but not in any other sandbox.

The original poster said, "Multiple sandboxes seems to do the same thing," implying that there are no un-sandboxed instances, and a program running in sandbox A is able to see programs running in sandbox B. And that's a somewhat difference scenario.
tzuk

Guest

Post by Guest » Tue Jul 17, 2007 10:34 am

The download for the installer is here:
http://lastmile.gomez.com/PEERInstall.exe

You only need to go as far as launching the program in both sandboxes... No need to actually fill in the initial preference sheet
I installed them separately in their own sandboxes.

The second instance pops up saying that it is already running and closes.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Jul 17, 2007 12:15 pm

Alright, I looked into. It doesn't look like one instance sees the other, it looks like the first instance of PEER occupies some non-sandboxable resource (a TCP/IP port, to give it a name). Then the second instance simply cannot occupy the same resource (the particular TCP/IP port is already in use). The second instance complains, and aborts.
tzuk

Guest

Post by Guest » Tue Jul 17, 2007 2:01 pm

Thanks for looking into it.

Guess it seems like it isn't possible unless someone has an idea.

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Tue Jul 17, 2007 2:33 pm

If you could configure each instance to use a separate port number, then it might work, but I have no idea if the program lets you do that.
tzuk

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest