# Logging country codes

**URL:** https://meta.discourse.org/t/logging-country-codes/339692
**Category:** Feature
**Tags:** maxmind
**Created:** [December 1, 2024, 9:53pm UTC](https://meta.discourse.org/t/logging-country-codes/339692 "2024-12-01T21:53:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [December 1, 2024, 9:53pm UTC](https://meta.discourse.org/t/logging-country-codes/339692/1 "2024-12-01T21:53:22Z")

</div>

I’ve got plenty of unidentified traffic now couple of days. This time I had finnish speaking friends mostly from Kazakhstan and Netherlands. Something like `Custom-AsyncHttpClient` was quite easy to block, but there was others too, whos user agent wasn`t too easy to filter. Sure, they create an error code, and grep using that data is trivial.

But they have IP and I do geo-blocking. I’m kind of missing web-server level blocking, but because those aren’t making that much load (WordPress would be another story) I’m way too lazy to build up a reverse proxy. But I was wondering could we get one log more: countries? There is MaxMind in use so could we use it a bit wider? That would make blocking few steps easier.
