On Tue, Dec 14, 2021 at 01:29:11PM +0530, Ayesh Karunaratne via curl-library wrote: > With the addition of CURLOPT_PREREQFUNCTION, one could write a > callback function to selectively block requests to certain IP/port > ranges.
For the record, blocking requests by IP address has been possible for a long time using CURLOPT_OPENSOCKETFUNCTION. It's documented in the Local Resources section at https://curl.se/libcurl/security.html -- Unsubscribe: https://lists.haxx.se/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html