Classifying Bot IP Addresses in Phoenix
Beginner, Intermediate, Advanced
Michael is the founder of Paraxial.io, which helps Elixir developers stop fraudulent bot activity in their web applications. He is interested in the application of Elixir in software security.
This talk will cover:
- A brief description of how bots cause problems in Phoenix apps, showing why someone would want to classify requests as coming from a bot.
- The design of a plug to compare each incoming request’s IP against a radix tree of public cloud provider IP ranges.
- Why persistent_term is better than ETS for this task
- How to use this plug to prevent bot attacks in your Phoenix app
This talk is based on the blog post - https://paraxial.io/blog/cloud-ips