Using the CloudFlare API to pull visitor IPs
The text discusses a feature in the Cloudflare API that allows users to view individual IP hits coming to their site within the past 48 hours. This information can be useful for understanding sudden increases in traffic and identifying potential threats. To use this feature, users need to install the Firefox JSONview addon, obtain their API key and zone ID from their Cloudflare account, and then run a specific URL query with customized variables. The data output will list IPs in order of hits and classify visitors by type. Free accounts can only see data older than 24 hours, while Pro accounts have access to more recent data. This information can be used to identify potential threats and add them to the Block List in the Cloudflare Threat Control panel.
Company
Cloudflare
Date published
April 21, 2011
Author(s)
Damon Billian
Word count
529
Hacker News points
None found.
Language
English