Published IP lists#
Many services publish the addresses their servers connect from, as a file at a fixed address that they change now and then: Salesforce, AWS, Google Cloud, GitHub, Cloudflare, Atlassian, Okta, Oracle Cloud, Stripe and others. A published IP list is such a file, named once in CrushMFT. The server fetches it, keeps a copy, and fetches it again at an interval. A rule in any of the server's IP rule lists can then stand for the whole list, so the rule follows the provider's changes by itself.
The lists are set in Banning, panel Published IP Lists. A rule uses one with the address list:NAME, on the server, on a port or on a user (see IP restrictions: server, port and user).
First: what an Allow for a provider means#
A provider's addresses are those of every one of its customers. Salesforce's list holds the addresses that every Salesforce customer's outgoing calls come from; AWS's list holds every machine anybody rents at AWS. An Allow rule for such a list narrows who can reach the server. It does not say who is connecting.
So keep the accounts' passwords, keys or certificates, and narrow the list with a filter where the file allows it (a region, a service). For the narrowest result, put the rule on the user the provider signs in as, not on the whole server.
Example: Salesforce#
A Salesforce integration signs in to CrushMFT as the user salesforce-feed, and only Salesforce's servers may use that account.
- Preferences, Banning, panel Published IP Lists: Add.
- Start from: Salesforce. This fills the name
salesforceand the addresshttps://ip-ranges.salesforce.com/ip-ranges.json. - Optional: a Filter such as
region=us-*, for the regions your Salesforce organization runs in. Test shows what the filter keeps: on 27 November 2026, 20 of the file's 73 entries. - OK, then Save. Within seconds the list's line says how many entries the server has, and when it checked.
- In the User Manager, on the user
salesforce-feed: replace the rule that allows every address by one rule, Allowlist:salesforce. Save the user.
From now on the account accepts a login only from an address in the latest copy of Salesforce's list, and the server fetches the list again every 6 hours.
The Published IP Lists panel#
Each line is one list: its name, the host the file comes from and its filter, and under it the list's state (see The state of a list) and the rule lists of the server and its ports that use it.
| Control | What it does |
|---|---|
| Add | adds a list, see below |
| Edit | changes the selected list. Double-click does the same. |
| Delete | removes the selected lists, after asking. If rules still name a list, the question says which. |
| Refresh now | fetches the selected list at once and waits for it. Only for a list as it is saved: save the page first. |
The lists are saved with the page's Save, like the rest of Banning. A new list, or one whose address or filter changed, is fetched within seconds of the save.
| Field | What it is | Default |
|---|---|---|
| Start from | fills the name, the address and, where it makes sense, the filter for a provider whose file is known: Salesforce, Amazon Web Services, Google Cloud, GitHub webhooks, Cloudflare (IPv4), Cloudflare (IPv6), Atlassian, Okta, Oracle Cloud, Stripe webhooks. The filter's hint then gives examples for that file. | |
| Name | what rules call the list: list:NAME. Letters, digits, _, - and ., up to 64, starting with a letter or a digit. Unique; case does not matter. |
|
| Address of the file | where the file is. It must start with https://. http:// is accepted only from the server machine itself (localhost, 127.0.0.1): a list read without encryption could be changed on the way and let anybody in. |
|
| Filter | which entries of a JSON file to keep, see The filter. Empty: every address in the file. | empty |
| Refresh every (hours) | how often the file is fetched again, 1 to 168. | 6 |
| Note | a note for yourself | |
| Test | fetches the file now with the filter as typed, and shows its kind (JSON or plain text), its size, the entries kept (IPv4 and IPv6), how many the filter left out, what was too wide, and the first 20 entries. Nothing is saved. A failure says why: no such host, no connection, TLS, the HTTP status, not a list. |
Using a list in a rule#
The rule dialog of the three rule lists has a field Addresses: A range of addresses (the starting and stopping IP, as before) or A published IP list. For a list, type its name or pick it from the names offered; the dialog lists the lists the server has. A name the server has no list for is accepted after a warning, so that a rule can be made before the list.
In a list, the rule shows as A list:salesforce or D list:salesforce. In the User Manager's rule dialog, type list:salesforce as the Starting IP and leave the Stopping IP empty.
A rule for a list works like any other rule: the lists are read from the top, and the first rule the address falls into decides. A list rule decides when the address is in the list's copy; otherwise the next rule decides.
| Goal | Rules |
|---|---|
| a user that only a provider uses | on the user: Allow list:NAME, and no rule that allows everyone |
| a port only for a provider (say SFTP for Salesforce) | on the port: Allow list:NAME |
| keep a published block list out of the whole server | on the server's Permanent list: Deny list:NAME above the entry that allows everyone |
| a provider's addresses, but not one of them | Deny that address first, then Allow list:NAME |
A list that has no copy yet, or a name with no list, matches no address. So an Allow for it lets nobody in, and a Deny for it keeps nobody out.
What a file may hold#
Plain text. Every line is read; # starts a comment. Each word that is an address (192.0.2.7, 2001:db8::1), a network (192.0.2.0/24, 2001:db8::/32) or a range (192.0.2.10-192.0.2.20) is an entry; other words are passed over. This reads lists with one entry per line, such as Cloudflare's, and the first column of a CSV file. A plain text list takes no filter.
JSON. A file that starts with { or [. Every text value in it, and every text in an array, that is an address, a network or a range is an entry, wherever it is. A value under a key whose name holds mask (some files give a network's mask as 255.255.252.0 beside it) is never taken.
Each entry is kept once, however often the file repeats it: AWS, GitHub and Okta list the same networks under several services.
The filter#
A filter keeps the entries of a JSON file that it describes. It is one or more clauses, one per line or separated by ;. Every clause must hold for an entry to be kept.
| Clause | Holds when |
|---|---|
name=value |
the object the entry is in, or the nearest object around it that has the field name, has the value. A field that is a list of values holds when one of them does. |
name!=value |
the clause name=value does not hold, also when no object around the entry has the field |
path=value |
the keys from the top of the file down to the entry, joined by dots, without array positions, are the value: prefixes.ip_prefix, hooks, us_cell_1.ip_ranges |
key=value |
the key the entry is under is the value: ip_prefix, cidr, hooks |
Values: case does not matter; * stands for any text and ? for one character; several values are separated by commas (region=us-east-1,us-west-2).
Files we know, and filters that make sense for them (counts of 27 November 2026, IPv4 / IPv6):
| Provider | Address of the file | Entries | Filters |
|---|---|---|---|
| Salesforce | https://ip-ranges.salesforce.com/ip-ranges.json |
51 / 22 | region=us-*, provider=aws |
| Amazon Web Services | https://ip-ranges.amazonaws.com/ip-ranges.json |
7966 / 3535 | service=S3; region=eu-west-1 (28 entries) |
| Google Cloud | https://www.gstatic.com/ipranges/cloud.json |
1058 / 95 | scope=europe-west1 |
| GitHub | https://api.github.com/meta |
6012 / 2734 | key=hooks (webhooks: 9 entries), key=actions, key=api |
| Cloudflare | https://www.cloudflare.com/ips-v4, https://www.cloudflare.com/ips-v6 |
15 / - | none (plain text) |
| Atlassian | https://ip-ranges.atlassian.com/ |
178 / 120 | product=jira; direction=egress |
| Okta | https://s3.amazonaws.com/okta-ip-ranges/ip_ranges.json |
2312 / - | path=us_cell_* |
| Oracle Cloud | https://docs.oracle.com/en-us/iaas/tools/public_ip_ranges.json |
1121 / 224 | region=us-ashburn-1; tags=OCI |
| Stripe webhooks | https://stripe.com/files/ips/ips_webhooks.json |
15 / - | none |
Azure publishes its service tags in a file whose address changes every week; it has no fixed address to name here. A file that needs a key or a sign-in to read cannot be used.
When a list is fetched#
- A new list, and a list whose address or filter changed, at once (within seconds of the save).
- Then every Refresh every (hours) after the last answer.
- After a failure: again after 5, 15, 30 and 60 minutes, then every hour, never later than the list's own interval.
- Refresh now, whenever you press it.
The server asks with the file's ETag and Last-Modified, so an unchanged file costs one short answer (304 Not Modified). Once a day it fetches the file whole all the same.
The server reaches the file directly, or through the proxy set for updates when one is set (Updates). An inside server with no way out, linked to a DMZ, fetches it through the DMZ. The file's TLS certificate is checked against Java's trusted roots and CrushMFT's own chain certificates; "accept any certificate" is never used.
Safety rules#
A list cannot be emptied, or opened to everybody, by a bad file:
| What happens | What the server does |
|---|---|
| the fetch fails: no connection, TLS, an HTTP error, a file over 32 MB, not a list | keeps the copy in use; the list's state says Failed and why; the log says so |
| the file holds no address (after the filter) | the same: an empty file is a broken file, not "nobody" |
| an entry wider than a /8 network (IPv6: /16), or a range as wide | leaves that entry out and counts it; the rest is used. No real provider's file has one: the widest seen is a /11. |
| an update that would remove more than half of the entries in use | holds it: the copy in use stays, and the state says Held with both counts. Refresh now takes the new file. |
| the list's address or filter is changed | drops the old copy at once (it was another file) and fetches the new one |
| the list is deleted | drops its copy within a minute; rules that name it match nothing, and the panel says which rules those are |
The state of a list#
| The line says | Means |
|---|---|
| N entries (… IPv4, … IPv6), checked …, changed … | the copy in use, when the file was last asked for, and when its entries last changed |
| Fetching now... | a fetch is running |
| Held: … | an update would have removed more than half of the entries; the copy in use is kept |
| Failed …: reason | the last fetch failed. The line says whether a copy is still in use, and when the next try is. |
| Not fetched yet | a new list, fetched within seconds |
| Not saved yet | you changed the list here; Save the page |
The panel also names rules that use a list name no list has: Rules name lists that do not exist, and match no address.
Where the copy is kept#
Each list's copy is the file ip_lists/NAME.list in the CrushMFT folder: a few comment lines (the address, the filter, when it was fetched, the ETag) and then one entry per line. It is read when the server starts, so rules work before the first fetch and while the provider's site cannot be reached. A copy made for another address or filter is not used. The server writes the file; changes made by hand are lost at the next fetch.
A DMZ has its own lists: open the DMZ in Preferences (its instance), add the lists in its Banning section, and the DMZ fetches them itself.
Things to know#
- A rename does not follow. Rules name a list by its name. After a rename, change the rules to the new name; the panel warns about it.
- No DNS. A list rule is never looked up by name, unlike a rule whose starting IP is a host name.
- An IPv4 address written as IPv6 (
::ffff:192.0.2.7) is looked up as the IPv4 address. - A look-up takes well under a microsecond, even in AWS's 11,501 entries.
- IPs allowed to administer, Never ban these IPs and the country lists are patterns, not rule lists: they take no list. Neither does an AS2 partner's list of allowed addresses.
- With the REST API, the lists are the preference
ip_listsof the sectionbanning, set like every other preference; Refresh now and Test are not in the API. - Every fetch that changes a list, fails or is held is written to the server log:
IP list salesforce: 20 entries (15 IPv4, 5 IPv6), 1 added and 0 removed.