IP Addresses
IP addresses can be filtered using the ip keyword. IPv4 or IPv6 addresses may be used. Ports are optional on each address and support single TCP/UDP/SCTP ports or port ranges.
 
IP addresses may be in CIDR format, such as 192.168.1.10/24.
 
 
Single IPv4 address
"filter": "ip 10.1.20.50"
 
 
Single IPv4 address with port
"filter": "ip 10.1.20.50[tcp/80]"
 
 
Single IPv4 address with port range
"filter": "ip 10.1.20.50[tcp/80-100]"
 
 
IPv4 address range
"filter": "ip 10.1.20.1-10.1.20.255"
 
 
IPv4 address range with port
"filter": "ip 10.1.20.1-10.1.20.255[tcp/80]"
 
 
IPv4 address range with port range
"filter": "ip 10.1.20.1-10.1.20.255[sctp/60000-61000"]