TUN/TAP

TUN/TAP

In computer networking, TUN and TAP are virtual network kernel drivers. They implement network devices that are supported entirely in software, which is different from ordinary network devices that are backed up by hardware network adapters.

TAP (as in network tap) simulates an Ethernet device and it operates with packets such as Ethernet frames. TUN (as in network TUNnel) simulates a network layer device and it operates with packets such as IP packets. TAP is used to create a network bridge, while TUN is used with routing.

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

TUN/TAP is used for:
* virtual private networks
** OpenVPN, Ethernet/IP over TCP/UDP; encrypted, compressed
** tinc (protocol) [http://www.tinc-vpn.org/] , Ethernet/IPv4/IPv6 over TCP/UDP; encrypted, compressed
** VTun [http://vtun.sourceforge.net/] , Ethernet/IP/serial/Unix pipe over TCP; encrypted, compressed, traffic shaping
** OpenSSH
** ICMPTX [http://thomer.com/icmptx/] , IP over ICMP (ping)
** NSTX [http://thomer.com/howtos/nstx.html] , iodine [http://code.kryo.se/iodine/] , IP over DNS
** HTun [http://htun.runslinux.net/] , IP over HTTP
** coLinux, Ethernet/IP over TCP/UDP
** Hamachi
** VPN-X Java TAP Wrapper, VPN-X can be a P2P VPN, can be a SSL VPN
* virtual machine networking
** Bochs
** coLinux
** Hercules (S/390 emulator)
** QEMU
** User-mode Linux
** VirtualBox

TUN/TAP drivers are available on at least the following platforms:
* FreeBSD
* Linux, starting around version 2.1.60
* Mac OS X
* NetBSD
* OpenBSD
* Solaris Operating System
* Microsoft Windows 2000/XP/Vista

External links

* http://vtun.sourceforge.net/
* http://www.kernel.org/pub/linux/kernel/people/marcelo/linux-2.4/Documentation/networking/tuntap.txt
* http://tuntaposx.sourceforge.net/ - tun/tap driver for Mac OS X


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • TUN/TAP — TUN und TAP sind virtuelle Netzwerk Kerneltreiber, die Netzwerkgeräte über Software simulieren. Während sich normalerweise hinter einem Netzwerkgerät (wie z.B. eth0) direkt eine entsprechende Hardware in Form einer Netzwerkkarte verbirgt, werden… …   Deutsch Wikipedia

  • TUN/TAP — В терминологии компьютерных сетей, TUN и TAP виртуальные сетевые драйверы ядра системы. Они представляют собой программные сетевые устройства, которые отличаются от обычных аппаратных сетевых карт. TAP симулирует модели OSI, оперируя кадрами TUN… …   Википедия

  • Tun — ist eine Abkürzung für: Tunesien, ISO 3166 und olympisches Länderkürzel Flughafen Tunis im IATA Flughafencode Tunnels over TCP/IP, ein virtueller Netzwerktreiber, siehe TUN/TAP Transistor Universal NPN, siehe Transistor #Bipolartransistor Tun ist …   Deutsch Wikipedia

  • TAP — may refer to: * Tap (valve), controls the release of a liquid or gas * Tap or Flap consonant, a type of consonantal sound * Telephone tapping, the monitoring of telephone conversations by a third party * Tap (transformer), an intermediate… …   Wikipedia

  • TUN — ist eine Abkürzung für: Tunesien, ISO 3166 und olympisches Länderkürzel Flughafen Tunis im IATA Flughafencode Tunnels over TCP/IP, ein virtueller Netzwerktreiber, siehe TUN/TAP Transistor Universal NPN, siehe Universaltransistoren und dioden Tun… …   Deutsch Wikipedia

  • TAP — Unter Tap versteht man: einen Tanzschritt, siehe Tap (Tanzschritt) eine Artikulationsart, siehe Tap (Phonetik) Tap ist der Nachname des in der Schweiz lebenden kambodschanischen Künstlers Paintwo Die Abkürzung TAP steht für: „Tandem Affinity… …   Deutsch Wikipedia

  • Tap — Unter Tap versteht man: einen Tanzschritt, siehe Tap (Tanzschritt) eine Artikulationsart, siehe Tap (Phonetik) Tap ist der Nachname des in der Schweiz lebenden kambodschanischen Künstlers Paintwo Die Abkürzung TAP steht für: „Tandem Affinity… …   Deutsch Wikipedia

  • OpenVPN — ‎ Original author(s) James Yonan Developer(s) OpenVPN project / OpenVPN Technologies, Inc. Initial release 1.1.0 / April 10, 2002 …   Wikipedia

  • Comparison of open source operating systems — These tables compare the various free software / open source operating systems. Where not all of the non EOL versions support a feature, the first version which support it is listed. Contents 1 General information 2 Supported architectures 3… …   Wikipedia

  • OpenVPN — Для улучшения этой статьи желательно?: Проставив сноски, внести более точные указания на источники. Переработать оформление в соответствии с правилами написания статей …   Википедия

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”