Page 1 of 1
proxified internet access
Posted: Wed Feb 21, 2007 10:30 am
by street011
Is it possible to create a setting in sandboxie for a (socks) proxy, that all programs use as default way to access the network/internet?
Posted: Wed Feb 21, 2007 2:55 pm
by tzuk
There is a planned feature to import a registry .REG file on sandbox creation, will this indirectly be a solution to what you want?
Posted: Wed Feb 21, 2007 4:36 pm
by street011
if that registry file/entry routes all internet traffic through the specified proxy it is
it should be possible to do right now too right?
can you help me out?
Posted: Thu Feb 22, 2007 7:03 am
by tzuk
I really don't understand what you mean.
I was saying, if this proxy re-routing that you want to have, if this is something that is configurable via the registry.
If so then I am suggesting that in a future version, Sandboxie will be able to automatically apply registry settings from a .REG file into the sandbox.
Posted: Thu Feb 22, 2007 8:38 am
by street011
i see i see...
well i'm using tor or other proxies some times, but i hate to change settings all the time, would be nice if i could put a setting in sandboxie (eg: SocksProxy=127.0.0.1:9050) then sandboxie would make sure all internet access from every program that runs inside is going through that proxie instead of a direct connection.
i have no clue if that's possible with registry settings, i'm not that familiar with the internal workings of windows... but maybe it's just a simple (registry?) setting related to internet explorer (at least i know i need to run IE once on my pc for other programs to recognize an internet connection at all, for example firefox won't work,at least on my pc, unless i ran IE once after clean windows install)
Posted: Thu Feb 22, 2007 9:51 am
by tzuk
Once I create the feature to auto-import registry settings, I'm sure finding the specific IE (or Firefox or whatever) registry setting will be fairly easy.
(That is, if the browser app is configurable through the registry, which in most cases, I suppose it would be.)
Posted: Thu Feb 22, 2007 10:44 am
by street011
actualy i'm looking for a way to make the proxie default for all applications running inside the sandbox, not only the browser.
maybe there's a fairly easy way to make that option in the sandbox config?
i hope you understand what i mean.
Posted: Thu Feb 22, 2007 1:27 pm
by tzuk
I think we just went back to the beginning.
Posted: Fri Feb 23, 2007 5:00 am
by street011
tzuk wrote:I think we just went back to the beginning.
i'm sorry if i don't understand what you're saying correctly,
you're saying that all traffic from sandboxed programs can be routed through the proxy by changing one 'simple' setting in the sandbox-registry that affects all applications in the box?
independant from the program settings itsself?
Posted: Fri Feb 23, 2007 6:50 am
by tzuk
No, no ... I was saying that I'm going to make it possible to ask Sandboxie:
Every time a sandbox is created (for example after deletion), then please automatically import these registry (.REG) files into the sandbox.
Then it's going to be to up to you to figure out how your particular software of choice (proxy, whatever) can be configured to behave in the sandbox in the way you want it. Then export that configuration to a .REG file. It's very easy with RegEdit once you know what to export.
And you could have Sandboxie automatically apply these settings for you.
So in a way it's going to be a solution to what you want -- to not having to configure manually -- but I'm only going to give a generic way to do this, and you're going to have to fill in the details.
Now ok?
Posted: Fri Feb 23, 2007 2:07 pm
by tzuk
Okay, this is possible now with version 2.78.9, if you want to give it a try.
Posted: Fri Feb 23, 2007 3:00 pm
by street011
yes i read it
tried it, but... didn't work...
all i could find was:
Code: Select all
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings]
"ProxyServer"="127.0.0.1:9050"
"ProxyEnable"=dword:00000001
but it didn't work
maybe somebody else on this forum can help me out here
Posted: Sat Feb 24, 2007 9:09 am
by tzuk
For me that worked just fine. I copy-pasted your lines exactly into c:\proxy.reg and added:
And then I started sandboxed IE, and it caused the proxy configuration to change to 127.0.0.1:9050. I also couldn't browse anymore (I don't have a proxy server on port 9050), so I assume it actually does work.
Did you save the .reg file as Unicode? You have to, otherwise regedit silently ignores it.
Posted: Sat Feb 24, 2007 9:14 am
by street011
tzuk, indeed that works for internet exploiter, but not for all the other programs im running sandboxed (except for msn, it takes the settings from IE).
but my mirc and firefox just refuse to even take a look at general internet settings and access the web directly
Posted: Tue Feb 27, 2007 3:49 pm
by tzuk
So I revised the setting that it may be more versatile.
It's now AutoExec and can run any program as part of
sandbox customization.
You can still import registry:
But you can also prepare other configuration files, for example:
Code: Select all
AutoExec=cmd /c copy c:\ProxifiedFirefox\firefox.conf "%Appdata%\Mozilla\Firefox\profiles\YourProfile.default\FirefoxConfigurationFile.ini"
You just need to find out which Firefox configuration file it would be ...
I hope it helps then...