WAPPLES

Download 159
Last updated Feb 19, 2024

wapples-add-acl-rule

Add an ACL rule to WAPPLES device.

wapples-add-acl-rule profile=PROFILE name=NAME [enabled=ENABLED] src-ip=SRC-IP [src-netmask=SRC-NETMASK] [src-port=SRC-PORT] [dst-ip=DST-IP] [dst-netmask=DST-NETMASK] [dst-port=DST-PORT] [host=HOST] [method=METHOD] [uri=URI] [threshold-key=THRESHOLD-KEY] [threshold-interval=THRESHOLD-INTERVAL] [threshold-count=THRESHOLD-COUNT] [block-duration=BLOCK-DURATION]
profile=PROFILE
Connect profile code of WAPPLES device.
name=NAME
ACL rule name. Unique name should be used.
enabled=ENABLED
t or f, t by default.
src-ip=SRC-IP
IP address format.
src-netmask=SRC-NETMASK
IP address format. 255.255.255.255 by default.
src-port=SRC-PORT
0 or positive integer. 0 by default. (0 means ALL)
dst-ip=DST-IP
IP address format. 0.0.0.0 by default.
dst-netmask=DST-NETMASK
IP address format. 0.0.0.0 by default.
dst-port=DST-PORT
0 or positive integer. 0 by default. (0 means ALL)
host=HOST
Host header string. Seprated by comma or new line. Empty string by default.
method=METHOD
HTTP Methods. Separated by comma or new line. Empty string by default.
uri=URI
Path literals. Separated by new line. Empty string by default
threshold-key=THRESHOLD-KEY
src_ip, dst_ip, method, host, or uri. Separated by comma or new line.
threshold-interval=THRESHOLD-INTERVAL
Aggregation interval in seconds. 30 by default.
threshold-count=THRESHOLD-COUNT
Threshold count. 100 by default.
block-duration=BLOCK-DURATION
Block interval in seconds. 300 by default.

Output Fields

FieldTypeNameDescription
profileStringConnect profilee.g. wapples
idStringID
revBoolRevision