SAP ABAP Data Element NIACLENTRY (Network Filter: Line of ACL File)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-CST-NI (Application Component) Network Interface
     SNI (Package) Network Interface
Basic Data
Data Element NIACLENTRY
Short Description Network Filter: Line of ACL File  
Data Type
Category of Dictionary Type     Direct Type Entry
Type of Object Referenced     No Information
Domain / Name of Reference Type      
Data Type CHAR   Character String 
Length 255    
Decimal Places 0    
Output Length 255    
Value Table      
Further Characteristics
Search Help: Name    
Search Help: Parameters    
Parameter ID   
Default Component name    
Change document    
No Input History    
Basic direction is set to LTR    
No BIDI Filtering    
Field Label
  Length  Field Label  
Short  
Medium  
Long  
Heading  
Documentation

Definition

Lines in the ACL file (access control list) must have the following syntax:

<permit | deny> <IP address[/mask]> [trace level] [# comment]

Where,

  • permit = permits a connection, and deny = denies a connection.
  • <IP address>. The IP address must be an IPv4 or IPv6 address in the following form:

    IPv4: 4 byte, decimal, '.' separated: e.g. 10.11.12.13

    IPv6: 16 byte, hexadecimal, ':' separated. '::' is supported

  • <mask> If a mask is specified, it must be a subnetwork prefix mask:

    IPv4: 0-32

    IPv6: 0-128

  • <trace level>. Trace level, with which ACL hits (matches of addresses based on the subnetwork mask) are written to the relevant trace file (default value 2).
  • <# comment> Comment lines begin with a hash sign "#".
  • The file can contain blank lines.
  • As the last rule a general ban is inserted automatically.

To make it obvious, an explicit "deny" should be entered anyway as the last rule. The rules are checked sequentially from the top down. The first relevant rule determines the result ("first match").

Example of a file

permit 10.1.2.0/24 # permit client network
permit 192.168.7.0/24 # permit server network
permit 10.0.0.0/8 1 # screening rule
# (learning mode, trace level 1)
permit 2001:db8::1428:57ab # permit IPv6 host
deny 0.0.0.0/0 # deny the rest

History
Last changed by/on SAP  20110908 
SAP Release Created in 800