Modules/2.0/cgiirc

From the makers of InspIRCd.
Jump to: navigation, search
Important Need Update - This page needs to be revised. Information posted here has been viewed as incorrect, incomplete, or obsolete. Anyone is welcome to correct these flaws if this page has not been "protected". Otherwise, contact a Docs Team member and let them know.

cgiirc module (2.0 version)

Current Future
2.0 Documentation 3.0 Documentation
Return to the 2.0 Module List
Description
Allows for changing the hosts of CGI:IRC clients from trusted sources when they connect.
Configuration Tags
<cgiirc opernotice="yes/no">

Set to yes if you wish for opers to be sent notices containing extra information when a CGI:IRC client connects.

<cgihost type="pass" mask="www.mysite.com">  
<cgihost type="webirc" password="yourpass" mask="127.0.0.1">
<cgihost type="ident" mask="otherbox.mysite.com">  
<cgihost type="passfirst" mask="www.mysite.com">

Add one of these for each trusted CGI:IRC site, by hostmask. The pass, ident and passfirst methods indicate where the module should get the real client's IP address from, for further information, please see the CGI:IRC documentation.

The webirc configuration requires that an IP address to be entered into the mask tag and must have a password set.

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
Note that this module will usually initiate a second DNS lookup for each user connecting from CGI:IRC. This should not cause too much of a performance loss, however if this increases resource usage more than you would like, it is recommended you do not use this module.

Also, if you are using other modules which are setting hosts, like m_conn_umodes (+x for cloak) or m_hostchange you might want to arrange the load order of these modules according to your needs.

If you are using this module with Mibbit then the appropriate configuration is:

 <cgihost type="ident" mask="ircip1.mibbit.com">
 <cgihost type="ident" mask="ircip2.mibbit.com">
 <cgihost type="ident" mask="ircip3.mibbit.com">
 <cgihost type="ident" mask="ircip4.mibbit.com">