Link to home
Start Free TrialLog in
Avatar of nav2567
nav2567Flag for United States of America

asked on

List networks being used by Lkorodu, Nigeria

Hello,

Our messaging system shows a few unuaual user login from Lkorodu, Lagos in Nigeria.  

Is there any good website or is it possible to list networks being used by Lkorodu, Lagos instead of the entire Nigeria?

Please advise.
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nav2567

ASKER

Thanks.  How about listing the IPs used by a country?  Is it possible?
You can attempt Geo Blocking, which is easy to do + will not get you what you're after.

Anyone evil, will mask their IP, so whatever you're seeing is likely a misunderstanding of your users about how to use your system.

http://blog.jeshurun.ca/technology/block-countries-ubuntu-iptables-xtables-geoip is one discussion about this.

https://mattwilcox.net/web-development/unexpected-ddos-blocking-china-with-ipset-and-iptables provides far superior speed (lower overhead) using ipset.

The ipset example covers how to block China. You can extend/modify this approach to add ipset hashes to block any country.
One note. Be sure to change -j DROP to -j REJECT --reject-with icmp-host-prohibited else you can end up in a serious jam, with your machine going down, if you're hit with massive attack traffic.

There are many discussions online about why you should use this approach.