Hvorfor kaldes en netværkstunnel kaldet en "tunnel"?
2023 Forfatter: Peter John Melton | [email protected]. Sidst ændret: 2023-05-26 18:43
Den terminologi man møder når man kommer ind i computervirksomheden, kan virke underlig eller lade dig forvirrede til tider og undre sig over, hvordan og hvorfor disse vilkår er i brug. Med det i tankerne har dagens SuperUser Q & A-post svarene på en forvirret læsers spørgsmål.
Dagens Spørgsmål & Svar session kommer til os med venlig hilsen af SuperUser-en underafdeling af Stack Exchange, en community-driven gruppe af Q & A-websteder.
Spørgsmålet
SuperUser læser user7681202 ønsker at vide, hvorfor en netværkstunnel hedder en "tunnel":
I do not understand why the “tunnel” metaphor is used to describe a networking tunnel.
At first, I thought the reason was because the data was sent in an encrypted form so that an eavesdropper would not be able to see the data (seeing the data wrapped in a tunnel instead).
But what of the tunneling protocols that do not use encryption? Why are they also called “tunnels”?
Hvorfor hedder en netværkstunnel en "tunnel"?
Svaret
SuperUser bidragsydere Mokubai og DavidPostill har svaret for os. Først op, Mokubai:
In the case of roads, a real world tunnel is a constructed passage that allows you to pass directly from point A to point B instead of taking a route that is longer and/or has more things to slow you down. Examples include tunnels through mountains that you might otherwise have to go around, underpasses that let you get to the other side of the road without walking across it, and subway tunnels that let trains move around a city without the need to contend with roads and buildings.
In each of these cases, a tunnel provides a direct path that avoids some type of complexity you would otherwise have to deal with. In networking, it is used in the same way.
An IPv4 over IPv6 tunnel allows IPv4 to pass through an IPv6 network into another IPv4 network, something that would otherwise not be possible without the originating computer understanding the IPv6 network.
A VPN is a tunnel specifically intended for connecting two private networks without the overhead of translating the IP addresses between private and public addresses at each end.
An example that combines the two is game VPN software like Hamachi that could be used to play “over the Internet” games which used old protocols like IPX or relied on local discovery to find other players.
Efterfulgt af svaret fra DavidPostill:
Why is a network tunnel called a “tunnel”?
The phrase was first used (as far as I can tell) in the RFC 1075 Distance Vector Multicast Routing Protocol, where it is defined as follows:
And…Although the above states, “We consider tunnels to be a transitional hack.”, tunneling is still used today with essentially the same meaning. The data sent through a tunnel is encapsulated so that it can be transmitted via a protocol that would otherwise not support the transmission:Image
Source: Networking 101 – Understanding Tunneling
Har du noget at tilføje til forklaringen? Ik anyik notk not notikkkkkk not not noting notkfikik not any anyik any for anyik notikikinging not Vil du læse flere svar fra andre tech-savvy Stack Exchange brugere? Tjek den fulde diskussionstråd her.
Nogle gange skal du bruge en VPN-forbindelse for at give adgang til eksterne netværksressourcer, og for at du bruger en VPN, men hvis du ikke vil have hele din kundetrafik til at gå gennem VPN-linket, skal du konfigurere dit VPN at forbinde i en "split tunnel" tilstand. Sådan gør du det på Ubuntu.
Når du arbejder med Windows PowerShell, er du måske kommet over krydset cmdlet og fundet dig selv forvirret. Er en cmdlet noget helt anderledes end en kommando eller er det bare PowerShells navn til dem? Dagens SuperUser Q & A-post har svaret på en nysgerrig læsers spørgsmål.
Opkalderen sagde "Jeg ringer til dig fra Windows tech support." De falske tech support scammers gjorde fejlen ved at ringe til os i dag, og vi spillede sammen for at lære deres tricks bare for sjov. Her er hvad der skete.
Dagens Spørgsmål & Svar session kommer til os med tilladelse til SuperUser, en underafdeling af Stack Exchange, en community-driven gruppe af Q & A-websteder.
Der er få sikkerhedsproblemer en sund dosis paranoia og knowhow kan ikke tage sig af. I dag ser vi på, hvordan du sikrer din Android-telefons mobildatatilslutning mod indtrængen ved hjælp af fri software og en simpel SSH-tunnel.