Svoboda | Graniru | BBC Russia | Golosameriki | Facebook

To install click the Add extension button. That's it.

The source code for the WIKI 2 extension is being checked by specialists of the Mozilla Foundation, Google, and Apple. You could also do it yourself at any point in time.

4,5
Kelly Slayton
Congratulations on this excellent venture… what a great idea!
Alexander Grigorievskiy
I use WIKI 2 every day and almost forgot how the original Wikipedia looks like.
Live Statistics
English Articles
Improved in 24 Hours
Added in 24 Hours
What we do. Every page goes through several hundred of perfecting techniques; in live mode. Quite the same Wikipedia. Just better.
.
Leo
Newton
Brights
Milds

From Wikipedia, the free encyclopedia

In computer networking, TUN and TAP are kernel virtual network devices. Being network devices supported entirely in software, they differ from ordinary network devices which are backed by physical network adapters.

The Universal TUN/TAP Driver originated in 2000 as a merger of the corresponding drivers in Solaris, Linux and BSD.[1] The driver continues to be maintained as part of the Linux[2] and FreeBSD[3][4][5] kernels.

YouTube Encyclopedic

  • 1/3
    Views:
    5 764
    2 471
    926
  • 178 TAP Interface sample access - Linux TUN/TAP virtual network interfaces - Episode2
  • 341 Linux TUN TAP virtual network interfaces - VTUN Project Source Code Walk - Ep3
  • 354 Linux TUN/TAP virtual interfaces - Debugging VTUN Tunnels - Config & Settings - Ep4

Transcription

Design

TUN and TAP in the network stack

Though both are for tunneling purposes, TUN and TAP can't be used together because they transmit and receive packets at different layers of the network stack. TUN, namely network TUNnel, simulates a network layer device and operates in layer 3 carrying IP packets. TAP, namely network TAP, simulates a link layer device and operates in layer 2 carrying Ethernet frames. TUN is used with routing. TAP can be used to create a user space network bridge.[2]

Packets sent by an operating system via a TUN/TAP device are delivered to a user space program which attaches itself to the device. A user space program may also pass packets into a TUN/TAP device. In this case the TUN/TAP device delivers (or "injects") these packets to the operating-system network stack thus emulating their reception from an external source.[2]

Applications

Virtual private networks
Virtual-machine networking
Connecting real machines with network simulation
NAT

Platforms

Platforms with TUN/TAP drivers include:

See also

References

  1. ^ "Universal TUN/TAP driver". VTun project on SourceForge. Retrieved 2019-07-12.
  2. ^ a b c "Universal TUN/TAP device driver". Linux kernel. Retrieved 2020-08-17.
  3. ^ "TUN(4) manual page". FreeBSD. Retrieved 2019-07-12.
  4. ^ "TAP(4) manual page". FreeBSD. Retrieved 2019-07-12.
  5. ^ "VPNs to bypass Internet Censorship in Saudi Arabia". Retrieved 12 June 2019.
  6. ^ "ns3::TapBridge Class Reference". nsnam.org. Retrieved 2019-03-28.
  7. ^ "TUNTAP PDU". Retrieved 2023-02-08.
  8. ^ Back to My Mac uses an IPv6 tunnel on device utun0.
  9. ^ "de.schaeuffelhut.android.openvpn". F-Droid. 2013-01-10. Retrieved 2019-03-28.

External links


This page was last edited on 3 May 2024, at 14:00
Basis of this page is in Wikipedia. Text is available under the CC BY-SA 3.0 Unported License. Non-text media are available under their specified licenses. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc. WIKI 2 is an independent company and has no affiliation with Wikimedia Foundation.