Create a simple VPN application with the help of Microsoft Loop back adapter ?

Note too that the class A network 127.0.0.0/8 is reserved for loopback addresses. While it is possible to use another address, it would be a non standard configuration. By default Windows, and just about every other platform in existence, has a loopback adapter installed with 127.0.0.1 as the IP address.

In Windows, using Kernel Mode Sockets, it is certainly possible to communicate with a driver, but why would you want to? The only reasonable answer is to allow your UM software to communicate with a KM server that may or may not be located locally without using any special case code.

Obviously, you don?t communicate with the loopback adapter per se, you communicate over the loopback adapter with some other process or driver on your system

To learn about IP and socket operations, start with google. There is a wealth of information on the net as the basics of this are 40+ years old

Sent from Mailhttps: for Windows 10

From: Tim Robertsmailto:xxxxx
Sent: May 31, 2017 2:55 AM
To: Windows System Software Devs Interest Listmailto:xxxxx
Subject: Re: [ntdev] Create a simple VPN application with the help of Microsoft Loop back adapter ?

On May 30, 2017, at 11:21 PM, xxxxx@gmail.com wrote:
>
> Thanks @Tim Roberts @Jason Stephenson @M M for your valuable suggestions . From your suggestion i can understand that Network drivers are accessed indirectly through socket calls.
>
> Can you please suggest any useful doc/links for how to write samples to access Network drivers indirectly through socket calls ?

If you don’t know socket calls, then you are obviously not ready to write or simulate network drivers.

> And still i have a doubt : can i use Microsoft loop back adapter as a virtual device driver with assigning some static IP address ? After that can i communicate with this drivers via through socket calls ?

The loopback adapter will show up as any other network adapter. You can assign a static IP address to it just like you assign a static IP address to any other network adapter. If you create a socket that routes to that IP address, then the data will go through the loopback adapter. But then what?
?
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.


NTDEV is sponsored by OSR

Visit the list online at: http:

MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers!
Details at http:

To unsubscribe, visit the List Server section of OSR Online at http:</http:></http:></http:></mailto:xxxxx></mailto:xxxxx></https:>