Re:Who's Attacking My Server?
by zelon88 on Sunday March 13, 2022 @11:37AM
(#30662173)
I used to do this with a local copy of the IP2Location database [1]. This way you don't have to poll a third party. The caveat is you have to keep the database up to date.
https://www.ip2location.com/ [1]