Attacks on your local network: spoofing, rogue routers and rogue DHCP servers
A device on your own network can put itself between its neighbours and the firewall. It answers "the gateway is at my address", announces itself as an IPv6 router, or hands out addresses with its own gateway and DNS server. Its neighbours then send it their traffic: a man in the middle. A home router plugged into the wrong port does the same harm by mistake.
Security › Live attacks › LAN attacks watches the firewall's own LAN ports for these signs, IPv4 and IPv6. It alerts you, and in Protect mode (the default) it isolates the device that does it.
At a glance:
| Step | Where | What |
|---|---|---|
| 1 | Nothing to set up | It watches every LAN-side port the firewall serves from the start, in Protect mode |
| 2 | Security › Live attacks › LAN attacks › Other DHCP servers / Other IPv6 routers | List a second DHCP server or router you run on purpose; save and commit |
| 3 | When something is found | Read the finding: the device, its switch port, what it claimed and the evidence. Turn its switch port off if it is a stranger |
What it finds
| Sign | What it means | Strength |
|---|---|---|
| A device claims the firewall's own address, or the failover pair's shared address | ARP spoofing (IPv4) or neighbour advertisement spoofing (IPv6): its neighbours would send it the firewall's traffic | strong |
| A device claims the gateway's address while the real gateway still answers | A man in the middle between the network and its gateway | strong |
| An IPv6 router advertisement from anyone but the firewall | A rogue router: devices take its prefix, its gateway and its DNS server | strong (weak when it says it is no router) |
| A DHCP offer or answer from any server but the firewall | A rogue DHCP server: devices get its gateway and DNS server | strong |
| A DHCPv6 answer from any server but the firewall | A rogue DHCPv6 server | strong |
| A device claims an address the firewall's DHCP server gave another device | ARP poisoning, or a hand-set address that collides, a second network adapter or a virtual machine of the device that owns it | medium |
| One address moves between two devices several times a minute | The pattern of ARP poisoning | medium |
| One device claims many addresses within a minute | It answers for other devices (or it is a proxy-ARP router: trust it) | medium |
| Many new devices appear on one port within seconds | A MAC flood: the switch's table fills and it sends everyone's traffic to every port | medium |
| The gateway's MAC changed while the old one is silent | A replaced router, or the start of a takeover | weak |
Which ports are watched. A port is watched when the firewall serves its network: the firewall has its own fixed address there and no gateway. Internet ports, ports with no address yet, and ports that take their address by DHCP or from router advertisements are never watched, even if you list them: their DHCP servers and routers (your provider's, an upstream router's) are the legitimate ones.
What it never does to the firewall itself. It never quarantines a gateway of the firewall's own routes; you get the alert with Isolate anyway instead. No block, automatic or by hand, ever takes one of the firewall's own addresses. A claim of a firewall address seen on a port other than the one that holds it isn't counted: computers announce addresses of their other network cards that way.
Networks that use only IPv4 are affected too. Windows, macOS, Android and iOS turn IPv6 on by themselves. A rogue router advertisement gives them an IPv6 address and the attacker's DNS server, and they prefer it. The firewall watches for router advertisements on every LAN port, whether or not you use IPv6.
What happens
| Mode | What it does |
|---|---|
| Protect (default) | Alerts on every medium or strong sign. A strong sign isolates the device for 60 minutes: the firewall refuses it, and it reaches only the firewall and your remediation servers. When a device claims the firewall's own address, the firewall announces its address again at once, so its neighbours keep sending to the right place. |
| Alert only | Alerts. Nothing is isolated, and the firewall doesn't announce its addresses again. |
| Off | Nothing is watched. |


Every finding also appears in Security › Live attacks as kind LAN attack. It raises the alert check LAN attacks (Monitoring › Alerts): by email and phone push, critical for medium and strong signs. Weak signs are listed without an alert.
Never isolated:
- the firewall and its failover partner;
- from 1.5.10, the devices an administrator is signed in from: an address that used the web console, the API or SSH as a signed-in administrator in the last two hours, and the MAC behind it. Isolating one would lock you out;
- from 1.5.10, the firewall's own upstream: the DHCP servers and routers the firewall itself took its address or default route from (see below);
- the gateways of the firewall's own routes;
- the devices on the never-block list, and the devices exempt from threat intelligence or DNS interception;
- the management servers and the remediation servers;
- the devices under Never isolated on this page.
For these, the alert says why, and the finding offers Isolate anyway.
The firewall's own upstream (from 1.5.10). A port that gets its address by DHCP or router advertisements, or has a gateway, isn't watched: its servers are the network's own. When you change such a port to a static address, for example a management port the installer set up by DHCP, the port is watched from then on. The firewall remembers, for 90 days and for that port only, the DHCP servers and routers it used there. They aren't reported as rogue there, and they are never isolated. The same server on another port is still reported. In 1.5.9, a management port changed from DHCP to a static address could have its own DHCP server reported as a rogue DHCP server ten minutes later and isolated, and that was the computer the console was open from.
The victim is never touched. Only the device that sent the packets is isolated, by its MAC. The device whose address it claims is the victim: it is never isolated, blocked, scored or cut off, and its connections are kept. An attacker writes the firewall's neighbour table, so an address listed there for the attacker's MAC proves nothing: the isolation carries the attacker's own address only when the firewall's DHCP server gave that address to the attacker's MAC. When the claimed address belongs to a never-block device, nothing is isolated automatically, at any strength: the claimer may be that device's second network adapter or a virtual machine on it. The finding offers Isolate anyway, which isolates the claimer's MAC only.
What the alert says. An address-spoofing alert names who claims which address, which device really owns it, and what the firewall did. For example:
Address spoofing on lan0: an unknown device (MAC 02:00:5e:00:53:66) claims 192.0.2.11, which belongs to laptop-01 An unknown device (MAC 02:00:5e:00:53:66) says 192.0.2.11 is its address. This firewall's DHCP server gave 192.0.2.11 to laptop-01 (MAC 02:00:5e:00:53:11), the device that really owns it. That is how ARP poisoning starts (a device putting itself in the middle); it can also be a device with 192.0.2.11 set by hand, a second network adapter of laptop-01, or a virtual machine bridged on it. … What the firewall did: alerted only, nothing isolated (a medium sign). Laptop-01 is never isolated or blocked for this.
The finding on the page shows the same line: who claims the address and whose it is. When one address moves between two devices and no DHCP lease names its owner, the firewall can't tell which one is real: it alerts and names neither as the sender.
Is it really an attack? Often it is your own equipment. Check, in this order:
- a device with the address set by hand that the DHCP server also hands out: give it a reservation or an address outside the range;
- a second network adapter of the owner (Wi-Fi and cable at once, a docking station, a USB adapter) with the same address set by hand;
- a virtual machine or container bridged on the owner, set to the same address. If none of these, find the MAC's switch port (Switch port) and unplug it.
What isolation can't do. The firewall refuses an isolated device, but a device on the same switch and VLAN can still send frames straight to its neighbours. Press Switch port on the finding: when the switch is under Network › Switches, Korthveil shows which port the device is plugged into, and you can turn it off there.
The failover pair
When the pair hands over, the partner takes the shared addresses and announces them. That never raises an alarm:
- the two firewalls tell each other their MACs over the pair link. From 1.5.8 each firewall keeps its partner's MACs in its database, so it still knows them right after a restart or an update, when the partner may not answer yet;
- before a claim of a shared address could count as spoofing, the firewall asks its partner again at once and waits up to 15 seconds for the answer, so a partner with a new port, a bond or a USB adapter is recognised;
- while the partner can't answer (an older version, or the pair link is down), a device that takes a shared address is trusted when it sends the pair's own VRRP announcements within seconds. A partner that takes over always does.
Every release is tested for this: the failover pair test fails if a takeover, a handback or Force failover makes any LAN-attack finding.
The shared addresses include the IPv6 link-local address that the pair adds for each shared IPv6 address (fe80::200:5eff:fe00:2 followed by the router ID in hexadecimal, for example fe80::200:5eff:fe00:201 for router ID 1). From 1.5.8, handing that address back to the partner never counts as spoofing of the firewall's own address. In 1.5.7, during an update where one firewall already ran 1.5.7 and the other still ran 1.5.6, it could raise a false critical alert, "IPv6 neighbour spoofing", naming the partner. The partner was never isolated.
The DHCP and router check
The firewall sees only the frames that reach it. Many DHCP servers answer only the device that asked, and DHCPv6 servers always do. So every 10 minutes the firewall asks on each LAN port itself, from its own address:
- a DHCP discover;
- a DHCPv6 solicit;
- a router solicitation.
Every server and router then answers the firewall. These are three small packets every 10 minutes. The firewall never takes a lease. Turn the check off under Thresholds and checks if you must.
From 1.5.10 the support bundle (System › Diagnostics › Support bundle) shows what the check found: every router and DHCP server that answered on each port, allowed or not, and when each port was last asked (lan-attacks.json, router-advertisements.json). It also has the DHCP server's leases, IPv4 and IPv6, with each device's MAC and host name (dhcp-leases.json), and what the firewall's own router advertisements say. Passwords and keys are never in it.
When it finds your own equipment
A second router, a Windows DHCP server, a Wi-Fi access point that hands out addresses: if you run it on purpose, press It is ours: allow it on its finding. The finding adds the device to Other DHCP servers, Other IPv6 routers or Trusted devices. Then Review and commit.
A device you didn't expect is the real find. Unplug it, or turn its switch port off.

Some access points, mesh nodes and Wi-Fi repeaters take their address from the DHCP server with one MAC and then answer for it with a second MAC made from the first: the same maker prefix marked "locally administered", and the same last two bytes (for example 06:00:5e:0a:53:61 for 04:00:5e:ba:53:61). From 1.5.8 that is recognised as the same device and is not reported. In 1.5.7 it showed as Address spoofing, a medium finding, repeated every few seconds; It is ours: allow it stops it there. A device that answers with both MACs in turn is still reported as an address moving between MACs.
Managed switches
Managed switches can stop these attacks at the port, before any frame reaches a neighbour:
- DHCP snooping only lets DHCP answers in on the port the real server is on;
- dynamic ARP inspection drops ARP answers that don't match the DHCP leases;
- RA guard drops router advertisements on ports without a router;
- port security limits the MACs per port, which stops MAC floods.
Turn them on in the switch's own pages (Network › Switches › Open console). Korthveil can't yet turn them on for you: that comes with the switch model profiles, each tested before it is offered.
What is kept
- Never packets. The firewall copies only ARP, neighbour discovery, DHCP and VRRP packets, and only the first 14 bytes (the MAC addresses) of other broadcasts. It counts them and keeps addresses and MACs.
- The findings: the last 200 of 14 days, in the firewall's database.
- Interfaces: at most 5 000 packets a second per port are read. A flood beyond that is counted, and the page shows it.
Tuning
| Setting | Where | Default |
|---|---|---|
| Ports watched | policy.lanAttacks.interfaces |
every LAN-side port the firewall serves |
| New MACs in 10 seconds that make a flood | Thresholds and checks | 100 |
| How long a strong sign isolates | Thresholds and checks | 60 minutes |
| The DHCP and router check | Thresholds and checks | on |

For the record
- Decision: adr/0311 part A. Requirement: REQ-THR-036.