Commit Graph

8 Commits (master)

Author SHA1 Message Date
hq1 99fe03701e
IP Block List (#3761)
* Add Ecto.Network dependency

* Migration: Add ip block list table

* If Cachex errors out, mark the cache as not ready

* Add IPRule schema

* Seed IPRules

* Add Shields context module

* Implement IPRuleCache

* Start IPRuleCache

* Drop blocklisted IPs on ingestion

* Cosmetic rename

* Add settings sidebar item

* Consider IPRuleCache readiness on health checks

* Fix typo

* Implement IP blocklist live view

* Update moduledocs

* Extend contextual module tests

* Convert IPRules LiveView into LiveComponent

* Keep live flashes on the tabs view

* Update changelog

* Format

* Credo

* Remove garbage

* Update drop reason typespecs

* Update typespecs for cache keys

* Keep track of who added a rule and when

* Test if adding via LV prefills the updated_by tooltip

* Update ecto_network dependency

* s/updated_by/added_by

* s/drop_blocklist_ip/drop_shield_rule_ip

* Add docs link

* s/Updated/Added
3 years ago
Cenk Kücük 44fca0c95d
Prioritize X-Plausible-IP header over everything else (#3689) 3 years ago
Uku Taht 35ee2fe3fb Parse bunny header 5 years ago
Uku Taht c0083815d4 Fix IP address parsing for ipv6 with port number 6 years ago
Uku Taht fa60ebd6b0 Scrub port from x-forwarded-for 6 years ago
Uku Taht 2cf0c1a456 Use `forwarded` header when X-Forwarded-For is missing 6 years ago
Uku Taht 5efa15f381 Use CF-Connecting-IP when present for remote IP address 6 years ago
Uku Taht 3a1c9e67cd Add ability to block certain IP addresses 6 years ago