Re: netXX-lsearch to net-iplsearch, request to clarify
Jeremy Harris via Exim-users <[email protected]> Thu, 18 Jun 2026 10:51:21 +0100
| Newsgroups | gmane.mail.exim.user |
|---|---|
| Message-ID | <[email protected]> |
On 2026/06/17 2:11 PM, hg user via Exim-users wrote: >>From what I understand, net-iplsearch does a sequential scan since it has > to check for IP included in a range, like 10.1.1.1 is included in > 10.0.0.0/32 net-iplsearch does do a sequential search, but because it is dumb ^W^W is pleasantly simple to code. So do all of the lsearch variants you had. You could also look into the (experimental) nmh lookup, if your lists of CIDRs are extensive. It uses indexed lookups. -- Cheers, Jeremy -- ## subscription configuration (requires account): ## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/ ## unsubscribe (doesn't require an account): ## [email protected] ## Exim details at https://www.exim.org/ ## Please use the Wiki with this list - https://code.exim.org/exim/wiki/wiki