Thank you for your feedback!
1. Yes, you can use integrated API to add IPs/Subnets to whitelist. In that
case no rate limits will be applied.
Here is an example how to add 200.168.0.0/16 to the whitelist (more in
README.md <https://github.com/cnaize/meds/blob/main/README.md> or api.go
<https://github.com/cnaize/meds/blob/main/src/api/api.go> files):
*curl -u admin:mypass -X POST
http://localhost:8000/v1/whitelist/subnets -d '{"subnets":
["200.168.0.0/16"]}'*
2. Geo location blocks not implemented yet, but it's not a big deal to do
so if the project became popular.
On Saturday, October 11, 2025 at 8:16:58 PM UTC+4 Jason E. Aten wrote:
> meds is pretty interesting looking.
>
> I like especially the per IP rate limiting feature. Is it possible to
> white list some "known good" IPs (that are probably a
> part of the local system) to opt out of the rate limiting? I'm
> concerned about impacting my own systems, for instance.
>
> Would it be possible to rate limit or block based on
> geo-location and not just single IP?
>
> On Saturday, October 11, 2025 at 10:52:28 AM UTC+1 Nikita Loskutov wrote:
>
>> Hello there!
>> I made firewall for Linux PC/VPS using Golang and NFQUEUE.
>>
>> Meds: net healing
>> https://github.com/cnaize/meds
>>
>> Maybe someone will find it useful or interesting.
>> Anyway feedback is welcome
>>
>
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/golang-nuts/c23ceca5-008a-42f1-ae65-249ab422e0een%40googlegroups.com.