skip to content

Why is a firewall rule export not evidence that a segment boundary actually denies traffic?

level: juniorimportance: must knowfreq 55%

answer

  1. intent versus effect
  2. is that box even in the path
  3. first match wins, and it may not be yours
  4. the exported text is not the running state
  5. only originated traffic returns an outcome

basics

~20 s

A rule export shows intent, not effect. It cannot show whether the traffic ever reaches that device, whether an earlier or later rule matches first, or whether the device is in the path at all. Only traffic originated from inside the segment produces an outcome.

solid answer

~60 s

An exported rule base is a statement of what one device would decide about packets that arrive at it. Denial is an end-to-end property, and three assumptions sit between the rule and that property: that traffic actually traverses this device, that its decision is the last word, and that the running state matches the exported text. Any of the three can be false quietly - a direct branch uplink, an east-west flow that never leaves a hypervisor, a permissive rule that matches first, a NAT translation, a policy push that failed on one device out of four hundred. An intruder in the branch segment does not read your configuration; they send a packet and see what comes back. So should you. The credible evidence is an originated probe from inside the source segment toward the destination, with a paired control flow you expect to succeed, recorded per source-destination pair. That is also the only form an assessor who does not trust the control owner will accept, because you did not author the result.

go deeper

for a junior

Be ready to say plainly that a rule describes a decision about packets that arrive, while denial is about packets that were sent. Name at least one way traffic can bypass the device entirely.

for a middle

An interviewer expects the mechanics: first-match ordering, object expansion, address translation, and the gap between an exported configuration and the running state on a fleet of devices.

for a senior

Show the test design, not just the scepticism - originate from inside the segment, always pair a negative probe with a control you expect to succeed, and observe the far side so a silent result is not read as proof.

for a principal

Own the framing that a control is credible only when its evidence is produced by someone other than the control owner, and that unprobed pairs must be reported as unknown rather than quietly absorbed into a green summary.

## The claim and the artefact The claim is "this boundary denies traffic from segment A to segment B". The artefact usually offered is a rule export - a printout of one device's policy showing a deny entry. These are not the same kind of statement. The rule describes what one box would decide about packets **that arrive at it**. The claim is about what happens to packets **sent from A toward B**. Three assumptions bridge them, and each fails in ordinary estates. ### 1. The path assumption: is the device even in line? A rule can only act on traffic that crosses it. Traffic bypasses a policy device far more often than diagrams suggest: - a direct link between two sites, or a branch that reaches a neighbouring branch across an overlay rather than through the hub; - east-west traffic between two virtual machines on the same hypervisor host, which never touches a physical path; - a route leak between VRFs, or a summary route installed for a migration and never withdrawn; - a remote-access or site-to-site tunnel that terminates *inside* the destination zone, so the tunnelled traffic appears already past the boundary; - a second uplink added for a project years ago and still carrying a default route. In every one of these the deny rule is correct, present, and irrelevant. ### 2. The evaluation assumption: does your rule decide? Policy is first-match. A broad permit higher in the base shadows your deny and nothing warns you. Address and service objects expand to more than their names imply, and object contents drift when a subnet is re-used for a different purpose. Destination NAT can rewrite the destination before or after policy lookup depending on the platform, so a packet you believe matches the deny is evaluated against a different address. Reading the base top to bottom by eye is exactly the task humans are worst at, and a four-thousand-rule base defeats it. ### 3. The state assumption: is the running config the exported config? The export came from somewhere - a management console, a backup, a change ticket. It may not be what is running: a push that failed on some devices, a rule disabled during an incident and never re-enabled, a device that failed open or was put into a bypass mode, a candidate configuration never committed. At four hundred sites, "mostly deployed" is the normal state of any policy. ## What originating traffic proves instead A probe host inside segment A sends real traffic toward a real destination in segment B and records the outcome. That result is end-to-end: it folds in routing, every device on the path, policy order, translation and running state at once. It cannot be argued with by reading a config. Two disciplines make the result meaningful: - **A positive control.** Alongside the flow you expect to be denied, send one you expect to succeed - typically to the same destination host on a permitted port, or to a known-good service in the same zone. If the control also fails, your negative result proves nothing about the boundary; it proves the probe host, its link, or your routing is broken. - **Far-side observation.** A silent result is ambiguous by nature. A listener on the destination side that records arrivals separates "the traffic was discarded somewhere" from "the traffic arrived and something answered". ## What a probe still does not prove Be honest about the residue, because interviewers push here: - A result is a point in time. A pass at 02:00 says nothing about 14:00, and a change window sits between them. - A result is per **directed pair and per service**. A to B denied on one port is not A to B denied, and B to A is a different question with a different answer. - It measures **reachability**, not authority. A boundary that denies reachability still lets an intruder holding a working session use every destination they are already permitted to use. - A pair you never probed is not a pass. It is unknown, and it must be displayed as unknown. ## Why the question is asked this way The people who need this evidence - an insurer, an auditor, a customer's assessor, a regulator - will not accept an artefact the control owner produced from their own device. A result set they can watch you generate, from inside the segment, against a named destination, with a control flow that succeeded, is a different class of evidence. Getting into the habit of proving controls by outcome rather than by configuration is what the question is really testing.

  • So what would you actually hand over as evidence that the boundary denies?
    A result set, not a configuration: probes originated from a host inside the source segment toward named destinations in the target segment, each paired with a control flow that succeeded, each stamped with a time, and organised as a source-to-destination matrix so the assessor can see which pairs were covered and which were never tested. Configuration is offered only as the explanation for the result, never as the result.
  • Name two ways the deny rule can be correct and the traffic still gets through.
    First, the traffic never meets the rule: a direct site link, an overlay path, two virtual machines on the same hypervisor, a VRF leak, or a tunnel terminating inside the destination zone. Second, the rule is not the one that decides: a broader permit earlier in a first-match base, an address or service object that expands wider than its name, or a destination translation that changes what the packet matches.
  • The probe passes today. Why is that not a standing claim?
    Because it is a measurement of one directed pair, on one service, at one moment. Change windows, a failed policy push, a new route, a re-used subnet or a migration overlay can all invalidate it within hours. That is why the honest artefact carries a timestamp and a coverage date, and why unprobed pairs are shown as unknown rather than inheriting yesterday's green.

A recipe pinned to the kitchen wall is not proof of what was served. You find that out by tasting the plate that arrived at the table.

saying these in an interview costs you the question

  • Treats the rule base as the source of truth for enforcement
  • Assumes the device is in the path because the diagram shows it
  • Confuses a configuration review with a test of effect
  • Ignores first-match ordering and object expansion
  • Offers change tickets or a policy screenshot as denial evidence
  • Assumes the exported config equals the running config everywhere

context