The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog | Stats

Modules/1.2/geoip

From the makers of InspIRCd.

Jump to: navigation, search

geoip module (InspIRCd-1.2 version)

1.0 Documentation 1.1 Documentation 1.2 Documentation
Description
m_geoip provides the ability to ban users by their country code.
Configuration Tags
<geoip banunknown="yes">
<geoban country="KR" reason="KOREA IS KEKEKEKE">

Where the attributes for the geoban tab are as follows:

  • country - The ISO code for the country (Complete list Here)
  • reason - The reason for the ban

The <geoip:banunknown> value, if set to true, yes, or 1 will cause the module to ban unknown IPs. Unknown IPs usually include LAN addresses and localhost ranges. You cannot use country code ZZ to imply an unknown country.

Examples

<geoban country="KR" reason="KOREA IS KEKEKEKE">
<geoban country="TR" reason="TURK EYE">
<geoban country="UK" reason="No limeys!">
<geoban country="US" reason="All Americans are Fat!">
Modes
This module does not implement any extra user or channel modes.
Extended Bans (Extbans)
This module implements no extended bans.
Commands
This module adds no extra commands.
Special Notes
Extra ModuleThis module is an 'extra' module. This means that by default it is not compiled when you type make to build your IRCd. To enable this module follow these steps.
Dependencies

GeoIP - Geographical IP lookup database

Personal tools
head
Navigation
head
head
head
head
 
head
head
Toolbox
head
head