Skip to content

eyalrin/RequestsBlocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages