This blog post details:

1. How to retrieve lists of data center IP prefixes when a Phoenix application starts.
2. Using a radix tree to store IP prefixes for fast lookup.
3. Why Erlang’s persistent_term module is the best choice for this problem.
Service is bot detection and prevention for Elixir and Phoenix applications. If you are currently dealing with scrapers, credit card fraud, or credential stuffing, is the best way to stop attackers and keep your users safe. Mention libhunt in your email to [email protected] for a 10% discount for the first three months!
A tutorial on how credential stuffing attacks can occur against a Phoenix application, and some strategies to mitigate them using PlugAttack. The post walks through:

- Setting up a victim application, named orru
- Using a basic script to perform automated logins, envy
- The throttle and fail2ban rules in PlugAttack, and some potential pitfalls you may run into when setting them up, and how to avoid them