On Thu, Aug 4, 2016 at 10:14 AM, Rainer Jung <[email protected]> wrote: > > Something like "RemoteIPLookups (On|Off|NNN)". "On" would be current > behavior, "Off" would be "No DNS and use connection IP if address is > invalid", "NNN" would be "No DNS and return status NNN if address is > invalid". Default "On" or "Off" for 2.4 and "Off" for trunk.
+1 > > Note that we don't have an "IP address string to numeric IP" conversion > function at hand. APR has apr_inet_pton(), but unfortunately it currently is > not made public via the header files. We could probably copy it in and make > public for future versions. We have apr_ipsubnet_create() which can validate whether a string is a valid IP address (among other things). Regards, Yann.
