[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Blocking country ip ranges

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 18
Thread images: 2

File: elite_hacker.png (618KB, 1024x576px) Image search: [Google]
elite_hacker.png
618KB, 1024x576px
Where can I find a list of ip ranges by country?
I want to whitelist my country and block everyone else from accessing my site using the .htaccess file
>>
>>56987258
just use pfsense and block it at the router
>>
>>56987268
>implying I have access to my hosting providers router
>implying I was asking for blocking methods
>>
Iptables + ipset + ipdeny
http://www.ipdeny.com/ipblocks/data/countries/cn.zone for example with the chinese ranges
>>
>>56987425
Thanks anon.
>>
>>56987258
why?
>>
File: Norse-map.jpg (166KB, 964x488px) Image search: [Google]
Norse-map.jpg
166KB, 964x488px
>>56988120
>>
>>56988120
Never trust anyone, especially the Chinese and Russians.
>>
>>56988238
The US should be removed from the internet
>>
>>56988271
We are the internet
>>
>>56988271
If you go to the website, you'll see that the "attacks" coming from the US are actually just smtp polls from Microsoft.
>>
>>56988321
so china is not allowed to smtp poll?
>>
>>56987258
>that fucking if statment
if a == b && a == c then
d = 3 * a
>>
>>56988271
Fuck you. We invented it. Go invent something if you can.
>>
>>56987258
If it's to avoid attacks then you're fucked, hackers don't attack from their own machines, they attack from the botnet, half of which is probably already inside your country.
>>
>>56990348
Yeah, but wouldn't this reduce the amount of machines, or at the very least random bots, probing for vulnerabilities?
>>
>>56989915
>we invented it
Americans claiming that america invented the internet is just as cancerous as apple fanboys claiming that apple actually innovates.
>>
>>56987258
Won't VPN make this exercise pointless? Considering its heavily used in attacks if I recall.
Thread posts: 18
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.