Modules/2.0/geoip

From the makers of InspIRCd.
Jump to: navigation, search

geoip module (2.0 version)

Current Future
2.0 Documentation 3.0 Documentation
Return to the 2.0 Module List
Description
m_geoip provides the ability to ban users by their country code.
Configuration Tags
<module name="m_geoip.so">

The actual allow/ban actions are done by connect classes, not by the GeoIP module. An example connect class to ban people from russia or turkey:

Examples

<connect deny="*" geoip="TR,RU">
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