Re: Tricking a process in WINE to think its on a certain IP address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: pgpPv8H1pip4Y.pgp
Description: PGP signature

_______________________________________________
wine-users mailing list
wine-users@xxxxxxxxxx
http://www.winehq.org/mailman/listinfo/wine-users

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux