[Winpcap-users] Building Winpcap for Vista on XP

Bengt Werstén Bengt.Wersten at enea.com
Mon Feb 9 10:22:14 GMT 2009


Thanks,

 

The only thing we have changed are the names to make it unique and made the service autostart to get rid of administrator requirement when using winpcap. We have the possibility to sign the driver with our certificate but does the WinPcap has any internal signing procedure we could utilize for branches made on it or do you recoomend us to sign it ourselfs?

 

Regards,

Bengt 

________________________________

From: winpcap-users-bounces at winpcap.org [mailto:winpcap-users-bounces at winpcap.org] On Behalf Of Gianluca Varenni
Sent: den 30 januari 2009 17:02
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 11:46 PM

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

	 

	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)?

	 

You need to buy an x509 certificate from one of the blessed companies and then basically follow some of the instructions in the Kernel-Mode Code Signing Walkthrough white paper from Microsoft

 

http://www.microsoft.com/whdc/winlogo/drvsign/kmcs_walkthrough.mspx

 

Have a nice day

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 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

	
________________________________


	_______________________________________________
	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/20090209/0dec05bc/attachment-0001.htm


More information about the Winpcap-users mailing list