Skip to content

About

Blocks requests according to IP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

7 Commits

Folders and files

Repository files navigation

RequestsBlocker

Blocks requests according to IP

Guidelines

You've got a list of suspicious IPs in CIDR notation.

You need to block requests arriving from these IPs. Implement the fun isAllowed(incomingIp: String): Boolean

The implementation has to be in Kotlin

A working solution isn't the only requirement. The code should be simple (to read and understand), robust and testable (you don't have to write the actual tests though..).

About

Blocks requests according to IP

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages