ArticleslgStudy

computer science

Network tap

Network tap is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Network tap rather than just read about it. In short: A network tap is a system that monitors events on a local network. A tap is typically a dedicated hardware device that provides a way to access the data flowing across a computer network.

Network tap — main illustration
Network tap — illustration

Key takeaways

  • Network tap belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Network tap to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Network tap from memory before moving on to harder problems.

Reference excerpt

A network tap is a system that monitors events on a local network. A tap is typically a dedicated hardware device that provides a way to access the data flowing across a computer network. The network tap has (at least) three ports: an A port, a B port, and a monitor port. A tap inserted between A and B passes all traffic (send and receive data streams) through unimpeded in real time, but also copies that same data to its monitor port, enabling a third party to listen. Network taps are commonly used for network intrusion detection systems, VoIP recording, network probes, RMON probes, packet sniffers, and other monitoring and collection devices and software that require access to a network segment. Taps are used in security applications because they are non-obtrusive, are not detectable on the network (having no physical or logical address), can deal with full-duplex and non-shared networks, and will usually pass through or bypass traffic even if the tap stops working or loses power.

Terminology The term network tap is analogous to phone tap or vampire tap. Some vendors define TAP as an acronym for test access point or terminal access point; however, those are backronyms. The monitored traffic is sometimes referred to as the pass-through traffic, while the ports that are used for monitoring are the monitor ports. There may also be an aggregation port for full-duplex traffic, wherein the A traffic is aggregated with the B traffic, resulting in one stream of data for monitoring the full-duplex communication. The packets must be aligned into a single stream using a time-of-arrival algorithm. Vendors will tend to use terms in their marketing such as breakout, passive, aggregating, regeneration, bypass, active, inline power, and others. Unfortunately, vendors do not use such terms consistently. Before buying any product, it is important to understand the available features and check with vendors or read the product literature closely to figure out how marketing terms correspond to reality. All of the "vendor terms" are common within the industry, have real definitions and are valuable points of consideration when buying a tap device. A distributed tap is a set of network taps that report to a centralized monitoring system or packet analyzer.

Tapping technology methods There are various methods for monitoring a network. Many tapping methods can be used, according to the network technology, the monitoring objective, the resources available and the size of the target network. Various methods will be developed below.

Tapping by software This type of tapping focuses on tapping by making use of software, and without making any significant change to an infrastructure's hardware. This type of tapping is often the cheapest one to implement, but it needs several implementations to give a truly complete look of the network.

Monitoring software The simplest type of monitoring is logging into an interesting device and running programs or commands that show performance statistics and other data. This is the cheapest way to monitor a network, and is highly appropriate for small networks. However, it does not scale well to large networks. It can also impact the network being monitored; see observer effect.

SNMP Another way to monitor devices is to use a remote management protocol such as SNMP to ask devices about their performance. This scales well, but is not necessarily appropriate for all types of monitoring. The inherent problems with SNMP are the polling effect. Many vendors have alleviated this by using intelligent polling schedulers, but this may still affect the performance of the device being monitored. It also opens up a host of potential security problems.

Port mirroring Another method to monitor networks is to use port mirroring (called "SPAN", for Switched Port Analyzer, by vendors such as Cisco, and given other names, such MLXe telemetry by Brocade Communications and other vendors)(also known as MIRROR port) or a monitoring protocol such as TZSP on routers and switches. This is a low-cost alternative to network taps and solves many of the same problems. However, not all routers and switches support port mirroring, and, on those that do, using port mirroring can affect the performance of the router or switch. These technologies may also be subject to the problem with full-duplex described elsewhere in this article, and there are often limits for the router or switch on how many pass-through sessions can be monitored, or how many monitor ports (generally two) can monitor a given session. Often, when the SPAN port is overloaded, packets will be dropped before reaching the monitoring device. There is also the possibility of losing some of the error packets that may be causing problems. If this data is not sent to the monitoring device because it is dropped, it is impossible to troubleshoot, no matter how advanced the device that is used.

Promiscuous sniffer This tapping method consists of enabling promiscuous mode on the device that is used for the monitoring and attaching it to a network hub. This works well with older LAN technologies such as 10BASE2, FDDI, and Token Ring. On such networks, any host can automatically see what all other hosts are doing by enabling promiscuous mode. However, modern switched network technologies create point-to-point links between pairs of devices, making it impossible to tap network traffic with this method.

Tapping by hardware This type of tap uses a dedicated hardware device inserted directly into the physical network connection, such as an Ethernet or fiber-optic cable, to passively copy data as it passes between two devices, without altering the traffic or adding processing load to the network equipment being monitored.

In-line sniffer

… excerpt ends here. Continue reading the full article.

Illustrations

Network tap: Basic functionality of an optical network tap
Basic functionality of an optical network tap
Network tap: Physical connections for a 1000BASE-T Gigabit Ethernet link
Physical connections for a 1000BASE-T Gigabit Ethernet link
Network tap: Schematic function of a Gbit Copper TAP
Schematic function of a Gbit Copper TAP

Worked examples

Example 1 — a first encounter with Network tap

Start with the simplest possible case. Write down what Network tap claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Network tap before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Network tap ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Network tap

In research
Network tap appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Network tap in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Network tap is common in secondary-school and first-year university syllabi. It links to neighbouring topics Computer security hardware, Intrusion detection systems, Networking hardware, so understanding it makes those chapters shorter.
In everyday life
Look for Network tap outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Network tap” →

How to study Network tap in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Network tap means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Network tap out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Network tap in simple terms?

A network tap is a system that monitors events on a local network. A tap is typically a dedicated hardware device that provides a way to access the data flowing across a computer network.

Why does Network tap matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Network tap?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Network tap.

Tags

  • Computer security hardware
  • Intrusion detection systems
  • Networking hardware

Keep exploring