virtual ethernet adapter driver

Hi

i have to develop virtual ethernet adapter driver. but i do not know how to start?

WINDDK has some example?

xxxxx@gmail.com wrote:

i have to develop virtual ethernet adapter driver. but i do not know how to start?

“Virtual” means that you will not actually have an Ethernet adapter.
So, what WILL you be talking to? Where will the packets come from and
go to?


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.

basically we are building a VPN client so for that i need a virtual Ethernet adapter driver.

For starters carefully examine, build and debug the Passthru and MUX samples
from the WDK. Neither of these is exactly what you want, but both
illustrate NDIS fundamentals that you must know thoroughly in order to
develop your driver.

Good luck,

Thomas F. Divine

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of
xxxxx@gmail.com
Sent: Monday, September 14, 2009 3:33 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] virtual ethernet adapter driver

basically we are building a VPN client so for that i need a virtual
Ethernet adapter driver.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

> i have to develop virtual ethernet adapter driver. but i do not know how
to start?

Does your boss/customer read this list?

WINDDK has some example?

VNETMINI
NDISWDM

Did you bother to look?

From the “Network Samples” section of the WDK documentation:


The NDIS Virtual Miniport Driver sample illustrates the functionality of a
deserialized NDIS miniport driver without requiring a physical network
adapter.

Because the driver does not interact with any hardware, it makes it very
easy to understand the miniport interface and the usage of various NDIS
functions without the clutter of hardware-specific code that is normally
found in a fully functional driver. The driver can be installed either
manually using the Add Hardware wizard as a root enumerated virtual miniport
driver or on a virtual bus (like toaster bus).

Note This sample provides an example of minimal driver intended for
education purposes. The driver and its sample test programs are not intended
for use in a production environment.

The driver can be built in the Microsoft Windows XP, Windows Server 2003,
and Windows Vista WDK build environments.

The driver can be installed in the Windows XP, Windows Server 2003, and
Windows Vista operating system.

“Have fun storming the castle…”*,
Dave Cattley

* [Miracle Max, ‘The Princess Bride’]

I am trying to develop virtual Ethernet adapter miniport. My dilemma is how

to make it “talk” to outside world through existing physical Ethernet

adapter, or I should say miniport, in the similar fashion as VMWare /

Virtual PC does.

What I am looking is direction on where to look for a solution. (ideas,hints)

Thanks in advance

Did you read the responses, they gave you all the direction you should need.
If you still can’t do this, I suggest a new field of work.


Don Burn (MVP, Windows DKD)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr

wrote in message news:xxxxx@ntdev…
>
> I am trying to develop virtual Ethernet adapter miniport. My dilemma is
> how
>
> to make it “talk” to outside world through existing physical Ethernet
>
> adapter, or I should say miniport, in the similar fashion as VMWare /
>
> Virtual PC does.
>
> What I am looking is direction on where to look for a solution.
> (ideas,hints)
>
> Thanks in advance
>
>
>
> Information from ESET NOD32 Antivirus, version of virus
> signature database 4434 (20090917)

>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>

Information from ESET NOD32 Antivirus, version of virus signature database 4434 (20090917)

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

ya don i am done what they said. but the main concern is that in my VPN client software user is supposed to connect VPN through DSL and how my virtual Ethernet adapter driver would fetch this packet from internet traffic (from which layer of network.) ? i searched on internet but no luck.

> I am trying to develop virtual Ethernet adapter miniport. My dilemma is how

to make it “talk” to outside world through existing physical Ethernet

adapter

What you’re speaking about is doable, for instance, using MUX IM driver, which is “virtual Ethernet over another Ethernet”.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

ya “virtual Ethernet over another Ethernet” like sonic wall vpn client ,citrix vpn client,cisco client etc.

None of these clients are “Virtual Ethernet over Ethernet” or MUX-IM
drivers. They are all “Virtual Ethernet” exposing IPv4 over TCP/IP of some
sort of secure encapsulation like IPSec.

PPPoE is an example of a ‘VPN’ over Ethernet directly. PPPoE is implemented
as an IM driver. The others are not.

What sort of encapsulation do you plan to use for this VPN?

Heaven knows we need another one since PPP+L2F, PPP+L2TP, PPP+PPTP PPP+HTTP,
GRE, UDP/ESP, IP+IP, IP+TLS, and who all knows or cares anymore.

But if you are just going to be doing what everyone else does, that is going
to look an awful lot like NDISWDM (root enumerated) talking to TDI or WSK
instead of talking to NDISPROT. Of course then you can come back and ask
how to write a TDI client or how to direct all of your packets into
user-mode or whatever.

Good Luck,
Dave Cattley

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Thursday, September 17, 2009 2:47 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] virtual ethernet adapter driver

ya “virtual Ethernet over another Ethernet” like sonic wall vpn client
,citrix vpn client,cisco client etc.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

thanks david.

> PPPoE is an example of a ‘VPN’ over Ethernet directly. PPPoE is implemented

as an IM driver.

PPPoE is a WAN miniport upper edge and NDIS protocol lower egde.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com

Yes exactly. I kind of IM driver. Nobody ever said that the edges
themselves had to be of the same type. If one does this with an NDISWAN
Miniport upper edge and follows the rules precisely (serialized miniport)
you get to have fun with NdisIMSwitchToMiniport() etc. If you care to go
figure out how to do a newer 5.x CoNDIS miniport, well, you can live in the
de-serialized world still.

All fun stuff.

Cheers,
Dave Cattley

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Maxim S. Shatskih
Sent: Thursday, September 17, 2009 5:03 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] virtual ethernet adapter driver

PPPoE is an example of a ‘VPN’ over Ethernet directly. PPPoE is
implemented
as an IM driver.

PPPoE is a WAN miniport upper edge and NDIS protocol lower egde.


Maxim S. Shatskih
Windows DDK MVP
xxxxx@storagecraft.com
http://www.storagecraft.com


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Looks like market for writing soft NDIS driver is much larger than the NIC one.

Calvin

If only …

I assume ‘market’ here means that there is some remuneration involved :slight_smile:

Cheers,
Dave Cattley

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.ca
Sent: Thursday, September 17, 2009 9:55 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] virtual ethernet adapter driver

Looks like market for writing soft NDIS driver is much larger than the NIC
one.

Calvin


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

If you don’t get paid for it, why bother? You could just sit back with the
adult beverage of your choice and party on doing whatever you like. Some
may like doing drivers, but it is a completely different ballpark with
self-motivation being the only driver (pun intended - ;).

“David R. Cattley” wrote in message news:xxxxx@ntdev…
> If only …
>
> I assume ‘market’ here means that there is some remuneration involved :slight_smile:
>
> Cheers,
> Dave Cattley
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.ca
> Sent: Thursday, September 17, 2009 9:55 PM
> To: Windows System Software Devs Interest List
> Subject: RE:[ntdev] virtual ethernet adapter driver
>
> Looks like market for writing soft NDIS driver is much larger than the NIC
> one.
>
> Calvin
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>

If you don’t get paid for it, why bother? You could just sit back with the adult beverage of your choice and party on doing whatever you like.

LOL

mm

I have on [very rare] occasion worked for “adult beverages” *as*
remuneration (although I generally expect pizza too). :wink:

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of David Craig
Sent: Thursday, September 17, 2009 11:47 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] virtual ethernet adapter driver

If you don’t get paid for it, why bother? You could just sit back with the
adult beverage of your choice and party on doing whatever you like. Some
may like doing drivers, but it is a completely different ballpark with
self-motivation being the only driver (pun intended - ;).

“David R. Cattley” wrote in message news:xxxxx@ntdev…
> If only …
>
> I assume ‘market’ here means that there is some remuneration involved :slight_smile:
>
> Cheers,
> Dave Cattley
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.ca
> Sent: Thursday, September 17, 2009 9:55 PM
> To: Windows System Software Devs Interest List
> Subject: RE:[ntdev] virtual ethernet adapter driver
>
> Looks like market for writing soft NDIS driver is much larger than the NIC
> one.
>
> Calvin
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>
>


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer