Difference between revisions of "IRCd Config/Inspircd1.1"

From Mibbit Wiki
Jump to: navigation, search
m (Instructions)
m (added Note:)
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Note''': you need to enable two IPs now: '''main''' client {{Template:Mibbit_IP}} and the new '''widget'''
 
{{Template:Mibbit_WIDGET_IP}}
 
 
== Instructions ==
 
== Instructions ==
These are instructions for how to configure your InspIRCd 1.1 installation for use with the Mibbit system.<br />
+
These are instructions for how to configure your InspIRCd 1.1 installation for use with the Mibbit system.
  
:# Locate the cgiirc module in the inspircd.conf called m_cgiirc.so<br />Look for <pre><module name="m_cgiirc.so"></pre> and uncomment it.
+
Note: remember to send us your [[Webirc information]] after you are done configuring.<br />
 +
 
 +
:# Locate the cgiirc module in the inspircd.conf called m_cgiirc.so<br />Look for: <pre><module name="m_cgiirc.so"></pre> and uncomment it.
 
:# Locate the cgihost tag below and configure as follows:
 
:# Locate the cgihost tag below and configure as follows:
 
::# Choose type as Webirc
 
::# Choose type as Webirc
 
::# In the ''password'' attribute, enter the appropriate Mibbit password as provided by the administrators.
 
::# In the ''password'' attribute, enter the appropriate Mibbit password as provided by the administrators.
::# In the ''mask'' attribute, enter our IP addresses (main:{{Template:Mibbit_IP}}, widget: 207.192.75.252)<br />Note: In some cases its been reported that connection from mibbit users were not resolved to the correct address. In some cases this can be fixed by setting the mask to "*". This is NOT recommended behavior.
+
::# In the ''mask'' attribute, enter our IP addresses (main:{{Mibbit_IP}}, widget: {{Mibbit_WIDGET1_IP}}<br />Note: In some cases its been reported that connection from mibbit users were not resolved to the correct address. In some cases this can be fixed by setting the mask to "*". This is NOT recommended behavior.
 
:: Your cgihost should look like this:
 
:: Your cgihost should look like this:
:::'''&lt;cgihost type="webirc" password="Your password here" mask="{{Template:Mibbit_IP}}"&gt;'''
+
:::'''&lt;cgihost type="webirc" password="Your password here" mask="{{Mibbit_IP}}"&gt;'''
:::'''&lt;cgihost type="webirc" password="Your password here" mask="{{Template:Mibbit_WIDGET_IP}}"&gt;'''
+
:::'''&lt;cgihost type="webirc" password="Your password here" mask="{{Mibbit_WIDGET1_IP}}"&gt;'''
:# Locate your connection block and add an additional block as follows<br />
+
:# Locate your connection block and add an additional block as follows:
  
 
  &lt;connect  
 
  &lt;connect  
     allow="{{Template:Mibbit_IP}}"  
+
     allow="{{Mibbit_IP}}"  
     allow="{{Template:Mibbit_WIDGET_IP}}"
+
     allow="{{Mibbit_WIDGET1_IP}}"
 
     timeout="60"  
 
     timeout="60"  
 
     flood="10"  
 
     flood="10"  
Line 26: Line 26:
 
     localmax="30"
 
     localmax="30"
 
     port="6667"&gt;
 
     port="6667"&gt;
 +
 +
'''<span style="color:red;">Warning</span>''': you need to '''reload the cgiirc module''' after changes! Rehashing is not enough!
  
 
The major difference from your normal &lt;connect&gt; block should be the ''allow'' parameter and the ''globalmax'' and ''localmax''. The reason for these changes is so that the server does not identify several users of mibbit as coming from the same IP and then raises a session exceeded error.
 
The major difference from your normal &lt;connect&gt; block should be the ''allow'' parameter and the ''globalmax'' and ''localmax''. The reason for these changes is so that the server does not identify several users of mibbit as coming from the same IP and then raises a session exceeded error.
Line 35: Line 37:
 
For more information: [http://www.inspircd.org/wiki/Modules/cgiirc InspIRCd m_cgiirc documentation]
 
For more information: [http://www.inspircd.org/wiki/Modules/cgiirc InspIRCd m_cgiirc documentation]
  
[[Category: How To]]
+
[[Category:How To]]
[[Category: Code]]
+
[[Category:Code]]
[[Category: Specifications]]
+
[[Category:Specifications]]
[[Category: Inspircd]]
+
[[Category:IRC]]
[[Category: IRC]]
+
{{DEFAULTSORT:Ircd Config/Inspircd1.1}}

Revision as of 15:19, 26 December 2012

Instructions

These are instructions for how to configure your InspIRCd 1.1 installation for use with the Mibbit system.

Note: remember to send us your Webirc information after you are done configuring.

  1. Locate the cgiirc module in the inspircd.conf called m_cgiirc.so
    Look for:
    <module name="m_cgiirc.so">
    and uncomment it.
  2. Locate the cgihost tag below and configure as follows:
  1. Choose type as Webirc
  2. In the password attribute, enter the appropriate Mibbit password as provided by the administrators.
  3. In the mask attribute, enter our IP addresses (main:64.62.228.82, widget: 207.192.75.252
    Note: In some cases its been reported that connection from mibbit users were not resolved to the correct address. In some cases this can be fixed by setting the mask to "*". This is NOT recommended behavior.
Your cgihost should look like this:
<cgihost type="webirc" password="Your password here" mask="64.62.228.82">
<cgihost type="webirc" password="Your password here" mask="207.192.75.252">
  1. Locate your connection block and add an additional block as follows:
<connect 
   allow="64.62.228.82" 
   allow="207.192.75.252"
   timeout="60" 
   flood="10" 
   pingfreq="120"
   threshold="5" 
   sendq="131074"
   recvq="4096"
   globalmax="30"
   localmax="30"
   port="6667">

Warning: you need to reload the cgiirc module after changes! Rehashing is not enough!

The major difference from your normal <connect> block should be the allow parameter and the globalmax and localmax. The reason for these changes is so that the server does not identify several users of mibbit as coming from the same IP and then raises a session exceeded error.

Troubleshooting

If you are having problems getting the module to work, try rehashing and reloading the module after configuration changes. The easiest way to do this is by rehashing, then issuing the command "/reloadmodule m_cgiirc.so". Sometimes only a server retart helps.

For more information: InspIRCd m_cgiirc documentation