[Wine] Tricking a process in WINE to think its on a certain IP address

Christoph Frick frick at sc-networks.de
Sat Jun 17 03:13:47 CDT 2006


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


More information about the wine-users mailing list