Cisco Standard ACLs: One Source Rule Can Reach Far
In Cisco IOS network software, a standard access control list, or ACL, permits or denies traffic based on its source address. It examines that address in each packet, a small unit of data traveling across the network.
IP stands for Internet Protocol, the rules used to address and deliver network data. A source IP address is the numerical network address presented for the packet's sender.
The rule is deliberately narrow. A standard IP ACL doesn't distinguish two packets from the same source by which destination they are going to or which application service they seek.
That narrow choice can have a broad effect. If you reject a source at a point shared by several routes, its traffic toward all those destinations may be rejected there.
- Configure a router or switch straight from your laptop's USB port.
- Get back into a device you can't reach over the network.
- Use it with Windows, Mac or Linux, so one cable covers every laptop you own.
Follow one packet through the list
An ACL contains rules that match addresses and decide whether to permit or deny the matching traffic. The device checks the rules in the order they appear in its effective list. The first match decides the result. If nothing matches, an implicit denial applies—traffic is refused even though no final deny line has been written explicitly.
An address rule can identify a particular source or a group. Cisco wildcard masks describe which parts of an address must match. A zero bit means “compare this position”; a one bit means “ignore this position.” Bits are the individual zeros and ones making up the numerical address.
Cisco's IP access-list documentation explains the matching and mask rules. Some entries for individual addresses may be stored in a different order from the one in which they were entered. The device uses the resulting list.
Writing a list also isn't the same as applying it to traffic. For interface filtering, the list must be attached to the relevant network connection, called an interface. It also needs an incoming or outgoing direction.
How a Router Decides What Gets Through
Incoming means packets entering through that interface. Outgoing means packets leaving through it. The same list attached in another place or direction can affect a different set of communications.
Placement supplies the destination context
Suppose a guest device should be prevented from reaching an office network but still allowed to reach another network. A standard rule can recognize the guest's source address. It can't express the office destination inside that source-only test.
If the rule is applied where both routes pass, it could block both. Placing it on the relevant path toward the office changes which traffic encounters it. The network path supplies context that the rule itself lacks.
When the policy needs to name a source, destination and service together, an extended ACL provides additional matching fields, including destination addresses, communication protocols and ports. A protocol is a set of communication rules; ports are numbers used to distinguish services or endpoints.
These are filtering decisions about packet information. They don't authenticate the person using an address or inspect every allowed message for harmful content. The National Institute of Standards and Technology's firewall guide distinguishes this kind of filtering from connection tracking and application inspection.
Cisco Extended ACLs: The Rule Order Can Change Everything

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

Ingress Filtering: Does That Source Address Belong Here?

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