[Winpcap-users] Building Winpcap for Vista on XP

Bengt Werstén Bengt.Wersten at enea.com
Fri Jan 30 07:46:32 GMT 2009


Hi,

 

Thanks a lot. If I understood it right we can run both 32-bits DLL's on a 64-bit machine. Only the driver has to be built for different architectures. 

 

How do you sign the driver today? Is it a time consuming task to do (I guess M$ is involved some way)?

 

Thanks,

Bengt Werstén

 

________________________________

From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
Sent: den 29 januari 2009 19:29
To: winpcap-users at winpcap.org
Subject: Re: [Winpcap-users] Building Winpcap for Vista on XP

 

 

	----- Original Message ----- 

	From: Bengt Werstén <mailto:Bengt.Wersten at enea.com>  

	To: winpcap-users at winpcap.org 

	Sent: Thursday, January 29, 2009 12:26 AM

	Subject: RE: [Winpcap-users] Building Winpcap for Vista on XP

	 

	Hi,

	 

	I have modified it, new name to avoid collision of cource, to only support sending packages in an attempt to have one build usable on XP, Vista and Vista-x64. I have disabled WAN and almost every other feature define to make it small and handy. I can understand that I need two verions of the sys file for each architecture. It is howerver possible to use the same packet.dll on all systems even if I build everything on XP?

	 

I hope you modified all the names and tested a standard winpcap installation running in parallel with yours :-)

Regarding the build system, it really doesn't matter at all (except for the driver for NT4, for which you don't care). WinPcap is build completely on an XP machine (apart from the NT4 driver). If you have disabled support for wan, then the same version of packet.dll should work on all the windows NT flavours excluding NT4 (2000/xp/2003/vista/2008). There is just one important thing that you need to be aware of: the driver for x64 should be digitally signed in order for it to load on Vista/2008. This is a requirement from microsoft.

	 

	To sum up, how many version of the files mynpf.sys, mypacket.dll and mywinpcap.dll do I need and how many different systems to have to use to build them on?

	 

mynpf.sys for x86 and x64 (excluding NT4)

mypacket.dll (one for x86 and eventually one for x64)

mywpcap.dll (one for x86 and eventually one for x64) 

 

Only one build system.

 

GV

	 

	Thanks,

	Bengt Werstén

	
________________________________


	From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
	Sent: den 28 januari 2009 22:05
	To: winpcap-users at winpcap.org
	Subject: Re: [Winpcap-users] Building Winpcap for Vista on XP

	 

	You can build the WinPcap DLLs or kernel driver on the OS of your choice, but there are different versions of the driver for x86, x64 and NT4. There are two versions of wpcap (x86 and x64) and a number of versions of packet.dll (NT4, 2000/XP/2003, Vista/2008, in the x86 and x64 version).

	 

	What are you trying to do?

	 

	Have a nice day

	GV

		----- Original Message ----- 

		From: Bengt Werstén <mailto:Bengt.Wersten at enea.com>  

		To: winpcap-users at winpcap.org 

		Sent: Tuesday, January 27, 2009 11:59 PM

		Subject: [Winpcap-users] Building Winpcap for Vista on XP

		 

		Hi,

		 

		Can I use a winpcap built in a XP x86 environment on any of Vista x86 or Vista x64 or do you need to build it on every system? Please specify if this is true for either Packet.dll or the driver npf.sys.

		 

		Regards,

		Bengt Werstén 

		
________________________________


		_______________________________________________
		Winpcap-users mailing list
		Winpcap-users at winpcap.org
		https://www.winpcap.org/mailman/listinfo/winpcap-users

	
________________________________


	_______________________________________________
	Winpcap-users mailing list
	Winpcap-users at winpcap.org
	https://www.winpcap.org/mailman/listinfo/winpcap-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.winpcap.org/pipermail/winpcap-users/attachments/20090130/f7d585ce/attachment-0001.htm


More information about the Winpcap-users mailing list