Steven Smith
2006-Jun-16 18:10 UTC
[Wine] Tricking a process in WINE to think its on a certain IP address
I want to make a process believe that its machine's IP address is whatever IP address I specify. Do you have any ideas on how to do this? I have been trying to go through the WINE source code, and have been looking in socket.c and iphlpapi_main.c, but I don't see any small number of places to change. I have set up a bunch of virtual IP addresses, all associated with my machine. However, when I run a process under WINE on my machine, the process will use the main IP address of the machine. What I want is for it to use one of the virtual IP addresses on the machine. The big idea is that I want to run several copies of a Windows app on the same machine and make each copy think that it is running on a separate machine, each with its own IP address. Although VMWare would make this possible, WINE is so much lighter and faster that I could have many more copies of WINE running than VMWare. Thanks, Steven
Christoph Frick
2006-Jun-17 03:13 UTC
[Wine] Tricking a process in WINE to think its on a certain IP address
On Fri, Jun 16, 2006 at 07:01:18PM -0400, Steven Smith wrote:> I want to make a process believe that its machine's IP address is whatever > IP address I specify. Do you have any ideas on how to do this? I have > been trying to go through the WINE source code, and have been looking in > socket.c and iphlpapi_main.c, but I don't see any small number of places to > change. > > I have set up a bunch of virtual IP addresses, all associated with my > machine. However, when I run a process under WINE on my machine, the > process will use the main IP address of the machine. What I want is for it > to use one of the virtual IP addresses on the machine. > > The big idea is that I want to run several copies of a Windows app on the > same machine and make each copy think that it is running on a separate > machine, each with its own IP address. Although VMWare would make this > possible, WINE is so much lighter and faster that I could have many more > copies of WINE running than VMWare.does the software you want to run on wine gets the ips from the registry? then you could just set it there and run it with different WINEPREFIX:es. -- cu -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 163 bytes Desc: not available Url : http://www.winehq.org/pipermail/wine-users/attachments/20060617/8df15e40/attachment.pgp
Daniel Skorka
2006-Jun-17 05:45 UTC
[Wine] Tricking a process in WINE to think its on a certain IP?address
Christoph Frick <frick@sc-networks.de> wrote:> On Fri, Jun 16, 2006 at 07:01:18PM -0400, Steven Smith wrote: > >> The big idea is that I want to run several copies of a Windows app on the >> same machine and make each copy think that it is running on a separate >> machine, each with its own IP address. Although VMWare would make this >> possible, WINE is so much lighter and faster that I could have many more >> copies of WINE running than VMWare.I wouldn't know how to do that, but the idea sounds interesting. I think you should go over to wine-devel@winehq.org and ask the developers how to do (or implement) that.> > does the software you want to run on wine gets the ips from the > registry? then you could just set it there and run it with different > WINEPREFIX:es.I don't think windows even stores the IP address in the registry. At least on my wine installation the registry does not contain it. Daniel>
Apparently Analagous Threads
- Re: Install LiveZilla In wine
- Tricking asterisk to think the call has ended, but it was continuing on the other side
- Install LiveZilla In wine
- Tricking asterisk to think the call has ended, but it was continuing on the other side
- Horizontal Y axis title above the y axis