A connection type is the physical way two devices exchange data: a cable, a radio band, or a beam of light. The five you meet every day are Ethernet, Wi-Fi, Bluetooth, Near Field Communication (NFC) and infrared, and they trade off the same three things: how far they reach, how fast they go and how much power they burn.
For security, range is the one that matters most. It decides where somebody has to be standing to reach the link at all. To see which radios your own machine has, and switch off the ones you don't use, skip to Check yours on Linux and Windows.
Connection types at a glance
| Type | Medium | Range |
|---|---|---|
| Ethernet | Copper or fibre cable | 100 m per copper segment |
| Wi-Fi | Radio at 2.4, 5 and 6 GHz | A room to a building, walls permitting |
| Bluetooth | Radio at 2.4 GHz | Less than a metre to more than a kilometre |
| NFC | Magnetic induction at 13.56 MHz | Up to about 2 cm |
| Infrared | Light | Line of sight |
The Bluetooth range is the Bluetooth Special Interest Group's own figure, and the spread is real: it depends on transmit power, the receiver and what's in the way.
Ethernet: the wired connection
Ethernet sends frames over a cable, and it's what desktops, servers and switches use. Reaching it means reaching the cable or a port on the switch it plugs into. Copper Ethernet runs up to 100 metres per segment, and fibre runs much further. The cables and connectors are covered in network cabling and connectors, and what travels over them in Ethernet frames and switching.
Every wireless type below gives that physical boundary up.
Wi-Fi: wireless networking
Wi-Fi is the Wi-Fi Alliance's name for wireless networking built on the 802.11 family of standards from the Institute of Electrical and Electronics Engineers (IEEE). It connects a device to a network through an access point, carrying the same Ethernet-style traffic a cable would.
In October 2018 the Wi-Fi Alliance replaced the letter names with generation numbers:
| Name | IEEE standard | Bands |
|---|---|---|
| Wi-Fi 4 | 802.11n | 2.4 and 5 GHz |
| Wi-Fi 5 | 802.11ac | 5 GHz in the standard, and most products are dual-band with 2.4 GHz added |
| Wi-Fi 6 | 802.11ax | 2.4 and 5 GHz |
| Wi-Fi 6E | 802.11ax | Adds the 6 GHz band |
| Wi-Fi 7 | 802.11be | 2.4, 5 and 6 GHz, with 320 MHz channels in 6 GHz |
Lower frequencies travel further and get through walls better; higher ones carry more data over a shorter distance. That's why the 2.4 GHz network from the same router usually reaches further than the 5 GHz one.
A card only uses the bands it was built for, and on Linux iw list prints every band and channel the card supports.
The full list runs to hundreds of lines, so grep picks out the part that matters:
Show the first channel of each band.
iw list | grep -A1 'Frequencies:' Frequencies:
* 2412.0 MHz [1] (22.0 dBm)
--
Frequencies:
* 5180.0 MHz [36] (22.0 dBm) (no IR)grep -A1 prints each matching line and the one after it.
2412 MHz is channel 1 in the 2.4 GHz band, and 5180 MHz is channel 36 in the 5 GHz band, so this card has two bands.
(22.0 dBm) is the most power the card may transmit on that channel, and (no IR) is a regulatory flag for the country the card is set to.
Show the highest channel the card knows.
iw list | grep 'MHz \[' | tail -1 * 5905.0 MHz [181] (disabled)tail -1 keeps only the last line.
The highest channel listed is 5905 MHz, still in the 5 GHz band (and disabled here), and the 6 GHz band isn't listed at all, so this card can't join a 6 GHz network, whatever the router supports.
Bluetooth: short-range device links
Bluetooth connects devices to each other rather than to a network: a phone to headphones, a laptop to a mouse. It uses the same 2.4 GHz band as Wi-Fi, from 2.402 to 2.480 GHz, and comes in two forms that share the band but not the radio scheme:
| Bluetooth Classic | Bluetooth Low Energy (LE) | |
|---|---|---|
| Channels | 79, each 1 MHz wide | 40, each 2 MHz wide (3 for advertising, 37 for data) |
| Built for | Continuous streams | Very low power, short bursts |
| Typical use | Audio to speakers and headphones, file transfer | Fitness bands, trackers, sensors, positioning |
A Low Energy device that wants to be found announces itself on the three advertising channels to anyone listening, which is how a phone finds a tracker it has never paired with.
Bluetooth is a full protocol stack running in the operating system, reachable by radio, and that has gone wrong at scale. In September 2017, the CERT Coordination Center (CERT/CC) published vulnerability note VU#240311, a set of flaws in Bluetooth implementations across Android, Linux, iOS and Windows that Armis had reported as BlueBorne. CERT/CC's summary of the impact: "An unauthenticated, remote attacker may be able to obtain private information about the device or user, or execute arbitrary code on the device." Remote here means anywhere within radio range.
NFC: touch-range communication
NFC works at 13.56 MHz with a typical range of up to 2 cm, according to the NFC Forum, which certifies NFC devices to work at 5 mm. The two devices are coupled by a magnetic field rather than a broadcast signal, so the link barely exists beyond touching distance.
An NFC device runs in one of three modes:
| Mode | What the phone acts as | Example |
|---|---|---|
| Reader/writer | A contactless reader | Reading a tag on a poster or a product |
| Peer-to-peer | One of two equal devices | Two phones exchanging data when touched |
| Card emulation | A contactless card | Paying at a card terminal with a phone |
Card emulation is the one with money behind it. When the card data lives in a phone's secure element, a dedicated chip separate from the main processor, the NFC Forum describes it as giving the same security level as a contactless smart card.
Infrared: line-of-sight light
Infrared sends data as pulses of light just past the red end of the spectrum, where the eye can't see it. Light doesn't pass through walls, so infrared needs a clear line of sight between the two ends, usually across a room.
That makes it the easiest connection here to contain: close the door and the signal stays in. Most people now meet it only in a television or air conditioner remote.
Where an attacker has to be
Each type sets the attacker's position before any software is involved:
| Type | To reach the link, an attacker needs to be |
|---|---|
| Ethernet | At a port or a cable |
| Wi-Fi | Within radio range, which often includes the car park and the corridor outside |
| Bluetooth | Within radio range, which a directional antenna and a sensitive receiver extend |
| NFC | Within a few centimetres of the device |
| Infrared | In line of sight, usually in the same room |
That's also why a radio that isn't needed is worth switching off: a disabled radio has no range.
On Linux, rfkill does it:
List every radio and whether it's blocked.
rfkill list0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no"Soft blocked" is a switch in software; "hard blocked" is a physical switch or a firmware setting. Both radios here are on.
Switch a radio off, and back on.
rfkill block bluetooth
rfkill unblock bluetoothblock sets the soft block, so the Bluetooth radio stays off until unblock.
Check yours on Linux and Windows
On Linux
Your network interfaces: ifconfig -s, which prints one short line per interface.
Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg
lo 65536 6 0 0 0 6 0 0 0 LRU
wlp0s20f3 1500 261949 0 0 0 184555 0 0 0 BMRUlo is the loopback interface, names starting wl are wireless and names starting en are wired.
This laptop has only lo and one wl interface, because it has no Ethernet port.
Your Wi-Fi bands: iw list | grep -A1 'Frequencies:', read as above.
Your radios: rfkill list, and rfkill block for any you don't use.
On Windows
These run in Command Prompt. Nothing here was captured on Windows, so no output is shown.
Your network adapters: ipconfig /all. Each adapter has its own heading, with the Wi-Fi card under a heading that starts "Wireless LAN adapter".
Your Wi-Fi standards: netsh wlan show drivers, then the "Radio types supported" line, which names the 802.11 standards the card can use.
