Ingress Filtering: Does That Source Address Belong Here?
Ingress filtering checks traffic as it enters a network or network device. In its anti-spoofing use, it asks whether a packet's claimed source address makes sense for the connection it arrived on.
A packet is a small unit of network data. An IP address is a numeric network address used to send and receive that data.
Check the return address against the entrance
A packet carries a source address that says where it came from. IP spoofing means putting a false address in that field.
The address alone doesn't prove the sender's identity.
Suppose an internet service provider, or ISP, connects a customer that uses a particular range of addresses. Traffic entering through that customer's connection should normally use source addresses permitted for that customer.
If a packet on that connection claims to come from an unrelated address range, the provider can drop it. “Drop” means discard the packet instead of forwarding it.
This is the approach described in RFC 2827, an Internet Engineering Task Force networking document also known as Best Current Practice 38, or BCP 38.
How a Router Decides What Gets Through
It's a check on where a claimed address is allowed to originate—not a list of websites or people that the provider considers trustworthy.
Why forged addresses cause trouble
An attacker can put a victim's address on requests sent to other systems. Those systems may then send their replies to the victim, who never asked for them.
This is a reflection attack, described in RFC 5358. Enough unwanted traffic can overwhelm a service and make it unavailable, an outcome called denial of service.
Filtering near the source can stop forged requests from leaving the originating network and reaching those other systems. The protection benefits people elsewhere on the internet too.
Ingress depends on where you're standing
The same packet can be leaving the customer's network while entering the provider's network.
From the customer's viewpoint, checking that outgoing traffic is allowed is egress filtering. From the provider's viewpoint, the packet has reached an ingress connection.
That distinction explains why anti-spoofing guidance often tells providers to filter traffic received from their customers. It isn't only about screening traffic on its way to a potential victim.
- Skip the install: pfSense Plus comes preloaded, so you can start writing rules right away.
- Get a firewall, router and VPN in one silent box that sips power.
- Keep receiving pfSense Plus updates for the life of the product.
The rule has to fit the real routes
Routers are devices that forward packets between networks.
A network can use a configured list of allowed source ranges. Some routers instead check whether the packet arrived through the connection they would use to send traffic back toward its claimed source.
That second approach can reject legitimate traffic when the outward and return paths differ. Such routing is called asymmetric routing, and it's a normal possibility on networks with multiple connections.
RFC 3704 explains these tradeoffs and alternative checks. Administrators need rules that reflect the actual network, including legitimate changes to address ranges and paths.
What a passing packet hasn't proved
A packet from an allowed address can still carry harmful traffic. An attacker might also forge another address within the same permitted range, a limitation explicitly noted in RFC 2827.
Passing the check therefore doesn't establish a person's identity, prove the contents are harmless, or prevent every traffic flood.
The useful question is narrower: should this source address be arriving through this connection? Ingress filtering adds protection by enforcing that boundary correctly.
IP Spoofing: The Trouble With a False Return Address

Egress Filtering: Decide What Your Network Can Send Out

Filtering Routers: The Route Exists, but Traffic May Be Refused

QUOTE:
"Amateurs hack systems, professionals hack people."
