Point-to-point tunnel interface

Discussion in 'Windows Vista Drivers' started by Florent, Sep 1, 2005.

  1. Florent

    Florent Guest

    I've been looking at how to develop a tunnel interface, similar to what we
    find in Linux/*BSD environments, tun(4). This interface is seen as a
    point-to-point interface, and can be read/write into to move packets in and
    out of the kernel. This is really useful to create new tunnel encapsulation
    methods (IPv4-over-IPv4, IPv4-over-UDP/v4, IPv6-over-*, etc.)

    On Windows, information is available to create a NDIS miniport driver, but
    this approach would make the driver "ethernet-like" (broadcast interface)
    instead of p2p. Consequence is one has to handle things like ARP and such to
    make that interface appear as p2p. I believe the same applies to an IM
    driver approach.

    It appears like the approach should be a something like a NDISWAN driver,
    where this interface is seen be the operating system as a "Tunnel Adapter",
    but without the L2 framing (PPP, etc.). Is that approach possible? Is there
    any pointer for documentation on doing this kind of development?

    Florent, Sep 1, 2005
    1. Advertisements

  2. Deserialized NDIS miniport over TDI client is a solution.
    Maxim S. Shatskih, Sep 1, 2005
    1. Advertisements

  3. Florent

    Florent Guest

    Won't it still be a 'connectionless' miniport, and thus will behave as an
    Ethernet driver? If so, it will require some code to handle the ARP/ND for
    IPv4/v6 (which would not be necessary if the interface is seen as a
    'non-broadcast' interface).

    Florent, Sep 1, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.