14.0.0 • Published 5 months ago

dasdeo-test-pkg-2 v14.0.0

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

d# Test

Introduction

tbd

ACL Target Notation

This project uses a compressed format to represent an ACL target.

An ACL target is a representation of a source or a destination in an access list rule.

This document outlines the relatively simple format of an ACL target.

Format

An ACL target is comprised of an IPv4 Address, its Subnetmask and any ports of the target host/network.

The ACL target format is as follows:

<ip>/<submask-bits>:<ports>


Where <submask-bits> and :<ports> are optional.

  • <ip> IP in IPv4 notation: a.b.c.d

  • If no <submask-bits> is specified (e.g. 10.0.0.1:any) then /32 (255.255.255.255) is assumed.

  • If no <ports> are specified, then any port is assumed. (this only applies to TCP and UDP)

Examples

IPv4 AddressSubnet MaskPort(s)ACL TargetExplanation
0.0.0.00.0.0.0anyanyRepresentation of any port of host 0.0.0.0 (any host)
10.0.0.1255.255.255.0any10.0.0.1/24:anyRepresentation of any port of any host inside of the network 10.0.0.1/24
10.0.0.1255.255.255.0ssh10.0.0.1/24:sshRepresentation of ssh port of any host inside of the network 10.0.0.1/24
10.0.0.1255.255.255.0ssh,http10.0.0.1/24:ssh,httpRepresentation of ssh and http ports of any host inside of the network 10.0.0.1/24
10.0.0.1255.255.255.255any10.0.0.1/32:anyRepresentation of any port of host 10.0.0.1
10.0.0.1255.255.255.255ssh10.0.0.1/32:sshRepresentation of ssh port of host 10.0.0.1

Table of equivalence

The following (non-exhaustive) list shows values that are considered equivalent:

Full notationShortened notationDescription
10.0.0.1/32:any10.0.0.1If subnet mask is omitted 255.255.255.255 (/32) is assumed (host)
10.0.0.1/32:ssh10.0.0.1:sshIf subnet mask is omitted 255.255.255.255 (/32) is assumed (host)
0.0.0.0/0:anyanySince 0.0.0.0 with a mask of 0.0.0.0 targets all IPs the appropriate shortcut is to specify "any"
14.0.0

5 months ago

13.0.0

5 months ago

1.0.0

5 months ago