Git Product home page Git Product logo

davidcie / iis-geoip2block-module Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rvdhout/iis-geoip2block-module

0.0 2.0 0.0 1.05 MB

A modified geoblock module originaly created by Triple IT for IIS 7/8.x. It can be added to any application pool using integrated pipeline mode running .Net 4 (now also on IIS 10). It uses the IPv4 address to determine the geographic location of the request by using Maxminds GeoIP2 database and takes action accordingly.

License: GNU General Public License v2.0

C# 100.00%

iis-geoip2block-module's Introduction

IIS GeoIP2block Module

This is a modified version of the geoblock module originaly created by Triple IT for IIS 7/8.x. It can be added to any application pool using integrated pipeline mode running .Net 4 (now also on IIS 10). It uses the IPv4 address to determine the geographic location of the request by using Maxminds GeoIP2 database and takes action accordingly.

Orginal source: https://sourceforge.net/projects/iis7geoblockmod/

New features

  • Upgraded to .Net 4.6
  • Supports new GeoIP2 database format (free GeoLite2-Country.mmdb or commercial GeoIP2-Country.mmdb)
  • Extra deny actions:
    • Unauthorized
    • Forbidden
    • Not Found
    • Abort

Requirements

  • IIS 7 or higher
  • Net 4 Application pool running integrated pipeline mode

build instructions

  • Minimal requirements Visual Studio Community 2017
  • Add refrences to Microsoft.Web.Administration.dll and Microsoft.Web.Management.dll located in C:\Windows\System32\inetsrv\

If above files are not in C:\Windows\System32\inetsrv
For IIS 8 and up, you could run this command to enable the IIS Management tools: Dism /online /Enable-Feature /FeatureName:IIS-WebServerManagementTools /All Or you could add the "IIS Management Console" through installing Windows Features -> Internet Information Services ->IIS Management Console.

iis-geoip2block-module's People

Contributors

davidcie avatar rvdhout avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.