The Wayback Machine - https://web.archive.org/web/20240922091545/https://www.geeksforgeeks.org/access-lists-acl/
Open In App

Access-Lists (ACL)

Last Updated : 16 Jun, 2022
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Access-list (ACL) is a set of rules defined for controlling network traffic and reducing network attacks. ACLs are used to filter traffic based on the set of rules defined for the incoming or outgoing of the network. 

ACL features – 

  1. The set of rules defined are matched serial wise i.e matching starts with the first line, then 2nd, then 3rd, and so on.
  2. The packets are matched only until it matches the rule. Once a rule is matched then no further comparison takes place and that rule will be performed.
  3. There is an implicit denial at the end of every ACL, i.e., if no condition or rule matches then the packet will be discarded. 
     

Once the access-list is built, then it should be applied to inbound or outbound of the interface: 
 

  • Inbound access lists – 
    When an access list is applied on inbound packets of the interface then first the packets will be processed according to the access list and then routed to the outbound interface. 
     
  • Outbound access lists – 
    When an access list is applied on outbound packets of the interface then first the packet will be routed and then processed at the outbound interface. 
     

Types of ACL – 
There are two main different types of Access-list namely: 

  1. Standard Access-list – 
    These are the Access-list that are made using the source IP address only. These ACLs permit or deny the entire protocol suite. They don’t distinguish between the IP traffic such as TCP, UDP, HTTPS, etc. By using numbers 1-99 or 1300-1999, the router will understand it as a standard ACL and the specified address as the source IP address. 
     
  2. Extended Access-list – 
    These are the ACL that uses source IP, Destination IP, source port, and Destination port. These types of ACL, we can also mention which IP traffic should be allowed or denied. These use range 100-199 and 2000-2699.

Also, there are two categories of access-list:  

  1. Numbered access-list – These are the access list that cannot be deleted specifically once created i.e if we want to remove any rule from an Access-list then this is not permitted in the case of the numbered access list. If we try to delete a rule from the access list then the whole access list will be deleted. The numbered access-list can be used with both standard and extended access lists. 
     
  2. Named access list – In this type of access list, a name is assigned to identify an access list. It is allowed to delete a named access list, unlike numbered access list. Like numbered access lists, these can be used with both standards and extended access lists. 
     

Rules for ACL – 

  1. The standard Access-list is generally applied close to the destination (but not always).
  2. The extended Access-list is generally applied close to the source (but not always).
  3. We can assign only one ACL per interface per protocol per direction, i.e., only one inbound and outbound ACL is permitted per interface.
  4. We can’t remove a rule from an Access-list if we are using numbered Access-list. If we try to remove a rule then the whole ACL will be removed. If we are using named access lists then we can delete a specific rule.
  5. Every new rule which is added to the access list will be placed at the bottom of the access list therefore before implementing the access lists, analyses the whole scenario carefully.
  6. As there is an implicit deny at the end of every access list, we should have at least a permit statement in our Access-list otherwise all traffic will be denied.
  7. Standard access lists and extended access lists cannot have the same name. 
     

Advantages of ACL – 

  • Improve network performance.
  • Provides security as the administrator can configure the access list according to the needs and deny the unwanted packets from entering the network.
  • Provides control over the traffic as it can permit or deny according to the need of the network.


Similar Reads

Access and Trunk Ports
Switch ports are Layer 2 interfaces that are used to carry layer 2 traffic. A single switch port can carry single VLAN traffic. Frames are handled differently according to the type of link they are traversing. Note: All switch ports are assigned VLAN 1 by default (VLAN 1 cannot be modified or deleted). There are 2 different types of ports in a swit
5 min read
Java | CDMA (Code Division Multiple Access)
CDMA is a channelization protocol for Multiple Access, where information can be sent simultaneously through several transmitters over a single communication channel. It is achieved in below steps: A signal is generated which extends over a wide bandwidth. The code which performs this action is called spreading code. Later on, a specific signal can
6 min read
Standard Access-List
Prerequisite - Access-lists (ACL) Access-list (ACL) is a set of rules defined for controlling network traffic and reducing network attacks. ACLs are used to filter traffic based on the set of rules defined for the incoming or outgoing of the network. Standard Access-list - These are the Access-list which are made using the source IP address only. T
4 min read
Extended Access-List
Prerequisite - Access-lists (ACL), Standard Access-list Access-list (ACL) is a set of rules defined for controlling network traffic and reducing network attacks. ACLs are used to filter traffic based on the set of rules defined for the incoming or outgoing of the network. Extended Access-list - It is one of the types of Access-list which is mostly
4 min read
Role-based Access Control
Only the administrator should have complete access to the network while the other employees like junior network engineer need not full access to the network device. A junior-level engineer generally requires only to crosscheck the configuration of the device, not to add or delete any configuration so why should give full access to that employee? Fo
7 min read
Reflexive Access-List
By default, an access-list doesn't keep track of the sessions. An access list consists of various permit and denies rules which are scanned from top to bottom. If any of the conditions match then it is executed and no other condition is matched. For a very small office, a reflexive Access-list acts as a stateful firewall as it allows only the traff
4 min read
Time based Access-List
Prerequisite - Access-lists (ACL) An access-list is used mainly for packet filtering. It is a sequential series of various permit or deny conditions in which if one of the condition matches, it is executed and no other condition is matched further. Also, it contains an implicit deny at the end therefore the rules should have atleast one permit cond
4 min read
Lightweight Directory Access Protocol (LDAP)
Lightweight Directory Access Protocol (LDAP) is an internet protocol works on TCP/IP, used to access information from directories. LDAP protocol is basically used to access an active directory. Features of LDAP: Functional model of LDAP is simpler due to this it omits duplicate, rarely used and esoteric feature. It is easier to understand and imple
4 min read
Access Control Tactics in Computer Networks
Discretionary Access Control: Discretionary Access Control grants or restricts object access determined by the object’s owner. Controls are discretionary because an object owner with certain access permissions can pass on those permissions to another subject. In systems that utilize discretionary access controls, the owner of an object can choose w
2 min read
Virtual Time Carrier Sensed Multiple Access (VT-CSMA)
Virtual Time Carrier Sensed Multiple Access (VTCSMA) is used mostly in hard real-time system. It is used in transferring signals simultaneously and efficiently in a real-time system for avoiding a collision. In a real-time system, CSMA can not be used but Virtual Time CSMA can be used for signal transfer. Every node in VTCSMA uses 2 types of clocks
2 min read
Remote Direct Memory Access (RDMA)
Remote Direct Memory Access(RDMA) is the access of memory of one computer by another in a network without involving either one's operating system, processor or cache.It improves throughput and performance of systems as it frees up many resources. Operations such as read and write can be performed on remote machine without interrupting CPU of that m
4 min read
Wireless Media Access Issues in Internet of Things
When it comes to communication using a wireless medium there is always a concern about the interference due to other present wireless communication technologies. Wireless means communication and message transfer without the use of physical medium i.e., wires. Let us understand how communication is done between them. Different Mobile stations(MS) ar
3 min read
Introduction of High Speed Downlink Packet Access (HSDPA)
HSDPA stands for High Speed Downlink Packet Access. It provides faster download speeds. It is an upgrade from the form of UMTS. HSDPA provides a download rate of up to 7.2 Mbps. HSDPA is an enhanced 3G mobile telephone communications protocol. The 3.5G, 3G+ or turbo 3G, which allows networks based on Universal Mobile Telecommunications System to ha
4 min read
Difference between Microsoft Excel and Microsoft Access
1. Microsoft Excel : Microsoft Excel is used to displays the data in horizontal and vertical rows. The data are usually stored in the cells. We have an option of formulas in the Excel that can be used for data and its place of storage. You can even add any charts, graphics, etc. to make it more presentable. Excel locks the whole spreadsheet once it
3 min read
Link Access Procedure (LAP) Protocols
Link Access Procedure (LAP) is basically considered as an ITU family of Data Link Layer (DLL) protocols that are subsets of High-Level Data Link Control (HDLC). LAP is particularly derived from IBM’s System Development Life Cycle (SDLC). There are several LAP protocols. Each of these protocols is usually a subset of HDLC tailored for a particular p
2 min read
Link Access Protocol D-channel (LAPD)
LAPD or Link Access Protocol on D channel is basically Layer 2 protocol usually required on ISDN D channel. It is being derived from Link Access Protocol Balanced (LAPB) protocol. It was specially designed and developed to simply satisfy the signaling requirements of ISDN basic access. The main objective of LAPD is simply to provide a secure, error
3 min read
Link Access Procedure Balanced (LAPB) Frame Types
Link Access Procedure, Balanced (LAPB) is protocol that is usually required for data link layer. It is version of High-Level Data Link Control (HDLC) in Asynchronous Balanced Mode (ABM). LAPB use of P/F bit is somewhere different from all of the other protocols. LAPB basically uses three types of data frames. Each of these frames has different func
4 min read
Link Access Procedure, Balanced (LAPB) Frame Format
Link Access Procedure, Balanced (LAPB) is basically a layer 2 protocol that is required in many control protocols like X.25. It was developed by ITU-T, OF Link Access Procedure (LAP) that itself comes from High-Level Data Link Control (HDLC). It runs at Layer 2 i.e. Data Link Layer (DLL) of the OSI Model. It is generally a balanced protocol that us
3 min read
Hybrid Fiber Coaxial (HFC) Access Network Management
Hybrid Fiber Coaxial (HFC) network is a technology under telecommunications technology where fiber cables and coaxial cables are used in different-different portions of a network to carry all the data or its content. It carries data like videos, music, voice, recordings, etc. Hybrid Fiber Coaxial (HFC) Access Network Manager is formed in order to s
2 min read
Advantages and disadvantages of Time Division Multiple Access (TDMA)
Time Division Multiple Access (TDMA) is an intricate innovation since it requires precise synchronization between the transmitter and the collector. TDMA is utilized in advanced portable radio frameworks. The individual portable stations consistently dole out a recurrence for the selective utilization of a period stretch. In the vast majority of th
3 min read
Remote Access Trojan
One of the most powerful Trojans that are popularly used by the attacker or hacker is Remote Access Trojan. This is mostly used for malicious purposes. This Trojan ensures the stealthy way of accumulating data by making itself undetected. Now, these Trojans have the capacity to perform various functions that damages the victim. The Remote Access Tr
3 min read
Advantages and Disadvantages of Frequency-division multiple access (FDMA)
Frequency-division multiple access (FDMA) : Frequency-division multiple access is one among the only multiple access methods. During this method, the channel bandwidth is subdivided into a variety of sub-channels. This multiple access method used for voice and data transmission. During this method the general channel bandwidth is being shared by mu
3 min read
Identity and Access Management (IAM) in Cyber Security Roles
Introductions :Identity Access and Management is abbreviated as IAM. In simple words, it restricts access to sensitive data while allowing employees to view, copy and change content related to their jobs. This information can range from sensitive information to company-specific information.It refers to the IAM IT security discipline as well as the
9 min read
What is Network Access Control?
Network Access Control is a security solution that uses a set of protocols to keep unauthorized users and devices out of a private network or give restricted access to the devices which are compliant with network security policies. It is also known as Network Admission Control. It handles network management and security that implements security pol
6 min read
Parser View (Role based CLI access)
Prerequisite - Role-based Access Control Parser view is used to create or modify a role based CLI access view and enter view configuration mode and provide security to access network resources. Commands to modify a parser view : include : to add any command in the viewexclude : to remove any commandinclude-exclusive : include command exclusively to
2 min read
How to Prevent Broken Access Control?
Access control is a security mechanism to put restrictions on the accessibilities of the resources and decide who or what can view or use the resources of a company. This is checked after authentication, and what authorized users are allowed to do. It is not an easy task to do, any failure while checking, can lead to data modification or destructio
5 min read
What is a Wireless Access Point?
A Wireless Access Point (WAP) is a networking device that allows connecting the devices with the wired network. A Wireless Access Point (WAP) is used to create the WLAN (Wireless Local Area Network), it is commonly used in large offices and buildings which have expanded businesses. It is easier and simpler to understand and implant the device. It c
4 min read
Demand Assigned Multiple Access (DAMA) in Networking
Demand Assigned Multiple Access is generally used for the earth stations where the traffic condition of that particular station is been changing continuously. It is a process of allocation of satellite channels to a user on demand. There is a great increase in the number of simultaneous uses on demand of allocation of channels that can be served by
4 min read
Access Networks
An access network is a type of network which physically connects an end system to the immediate router (also known as the “edge router”) on a path from the end system to any other distant end system. Examples of access networks are ISP, home networks, enterprise networks, ADSL, mobile network, FTTH etc. Importance of Access Networks: A crucial elem
5 min read
Context Based Access Control (CBAC)
In a dynamic network security environment, CBAC remains an important technology for securing and protecting the network from unauthorized access and malicious activity It enables granular control of network policies, maximizing security while maintaining flexibility and functionality. In recent times, Access (ACL) has been used for packet filtering
7 min read
Article Tags :