Skip to content

Address lists Since v0.1 ​

An address list is a named set of IP addresses and networks: your office, partners, a monitoring service, or a published feed of known bad addresses. You write the entries yourself or let the control plane fetch them from an https URL on a schedule. Access rules and the bot catalog refer to a list by name, so one change updates every rule that uses it.

Before you begin ​

  • Role: operator or admin with access to all applications. Address lists are shared by every application, so an operator limited to some applications cannot change them.
  • For a fetched list, the control plane must reach the URL over https.

Add or change an address list ​

text
1. Open Shared lists > Address lists.
2. Under Edit address lists, select Add address list (or open an existing one).
3. Enter a Name.
4. Either fill in Addresses, or enter a Fetch from URL and,
   if needed, Refresh every.
5. Select Preview changes, add a comment and select Apply.
6. Check the IP address lists table above: Entries, Last fetched, Status.
sh
# The lists are replaced as a whole: get them, edit, set them back.
waap lists get > lists.yaml
# edit lists.yaml, then preview and apply
waap lists set -f lists.yaml -dry-run
waap lists set -f lists.yaml -m "add partner list"
# size and fetch status on this node
waap lists
yaml
# lists.yaml (waap lists set), or the top-level ip_lists in the configuration
- name: office
  cidrs: ["198.51.100.0/24", "2001:db8:10::/48"]
- name: blocked-feed
  url: https://lists.example.com/blocked.txt
  refresh: 6h

Then use the list in an access rule (Client in lists or Client not in lists). For details, see Access rules.

A new fetched list starts empty

Until the first download succeeds, a fetched list has no entries, so rules that use it match nobody. Check Status in the table, or waap lists ("not fetched yet").

Remove an address list ​

text
1. First remove the list from every access rule and bot catalog entry that uses it.
2. Open Shared lists > Address lists.
3. Under Edit address lists, select Remove address list on the list.
4. Select Preview changes, then Apply.
sh
waap lists get > lists.yaml
# delete the record from lists.yaml
waap lists set -f lists.yaml -m "remove old partner list"
yaml
# remove the record from ip_lists; [] removes every list
[]

A list in use cannot be removed

The change is refused while an access rule (when.ip_lists, when.not_ip_lists) or a bot catalog entry (ip_lists) still names the list. The message gives the path of the rule that uses it.

Check a list's status ​

The IP address lists table (and waap lists) shows, for this node, each list's Source (inline or the URL), Entries, Last fetched and Status:

StatusMeaning
OKThe list is loaded.
N lines were not addressesThe feed had lines that are not addresses or networks; they are skipped, the rest is used.
an error messageThe last download failed. The last good copy stays in use.

Settings reference ​

Address list ​

SettingWhat it doesDefaultAllowed valuesApplies in
Name (name)The name access rules and the bot catalog use.none (required)lowercase letters, digits and dashes, 1 to 63 characters, starting with a letter or digit; uniqueall
Addresses (cidrs)Entries written in the configuration.noneIPv4 or IPv6 addresses or CIDRs, up to 100,000set either this or Fetch from
Fetch from (url)A list the control plane downloads.nonean https:// URLset either this or Addresses
Refresh every (refresh)How often a fetched list is downloaded again.1hduration, 5m to 168hfetched lists only

Format of a fetched list ​

  • One address or network per line, IPv4 or IPv6.
  • Blank lines are ignored, and so is anything after # or ;.
  • Text after the first word on a line is ignored (203.0.113.9 seen scanning).
  • Lines that are not addresses are counted and reported, not fatal.

Examples ​

A partner list, a monitoring network, and a public feed refreshed twice a day:

yaml
- name: partners
  cidrs: ["192.0.2.0/24", "203.0.113.40"]
- name: monitoring
  cidrs: ["10.20.0.0/24"]
- name: drop-feed
  url: https://feeds.example.org/drop.txt
  refresh: 12h

Limits ​

LimitValue
Inline entries per list100,000 (use a URL for larger lists)
Entries in a fetched list5,000,000
Download size50 MiB
Download timeout30 s
Refresh interval5m to 168h, default 1h

Troubleshooting ​

Removing or renaming a list is refused: unknown list "NAME" (define it under ip_lists) ​

  • Cause: an access rule or bot catalog entry still uses the list; the message's path names it, for example applications[0].policy.access.rules[0].when.ip_lists[0].
  • Fix: change or remove that rule or entry first, then the list.

must be an https:// URL, or set either cidrs or url, not both ​

  • Cause: fetched lists are downloaded only over https, and a list is either written or fetched.
  • Fix: use an https:// URL, and keep only one of Addresses and Fetch from.

A fetched list shows an error or stays empty ​

  • Cause: the control plane cannot download the URL, or the file has no valid lines.
  • Check: Status on Shared lists > Address lists, or waap lists.
  • Fix: check that the control plane reaches the URL and that the file has one address per line. The last good copy stays in use meanwhile.