Anope IRC Services

Anope Support => 1.6.x (Read Only) => Topic started by: nb-rIdaz on September 12, 2006, 11:24:48 PM

Title: request a configured sample services.conf
Post by: nb-rIdaz on September 12, 2006, 11:24:48 PM
hi, i am a services admin of a small irc network, and i am learning to compile anope services wit unrealircd. plz anyone can give me a sample of services.conf. because i cant work on the default file from the anope, it is hard for me. thz (i know this is a dump question?)
Title:
Post by: katsklaw on September 12, 2006, 11:55:05 PM
there is an example.conf in the data directory called 'anope-1.6.x/data/example.conf'
Title:
Post by: nb-rIdaz on September 13, 2006, 12:33:53 AM
okay i get it... thz so much...


but now i'm having problems with configuring the services.conf


as stated in the install document, link can be found here: http://wiki.anope.org/index.php/Documentation:Install

the following lines:


Y:27:180:0:0:4000000
C:127.0.0.1:mypass:Services.LocalHost.Net::30
N:127.0.0.1:mypass:Services.LocalHost.Net::30


the question is, how can i add this lines into the version of unrealircd 3.2.5?? because when i added them below the new Y:lines, it says this:

-irc.localhost.com- *** Notice -- unrealircd.conf:125: Ignoring extra data
-
-irc.localhost.com- *** Notice -- unrealircd.conf:126: Ignoring extra data
-
-irc.localhost.com- *** Notice -- unrealircd.conf:143: Ignoring extra data


here is the code of that part,


/*
 * NEW: class {}
 * OLD: Y:line (old was confusing)
 * These define settings for classes. A class is a group setting for
 * connections. Example, server connections, instead of going to a client's
 * class, you direct it to the server class. Syntax is as follows
 * class (class name)
 * {
 *     pingfreq (how often to ping a user/server in seconds);
 *     maxclients (how many connections for this class);
 *     sendq (maximum send queue from a connection);
 *     recvq (maximum receive queue from a connection [flood control]);
 *  };
 */

class           clients
{
   pingfreq 90;
   maxclients 500;
   sendq 100000;
   recvq 8000;
};

class           servers
{
   pingfreq 90;
   maxclients 10;      /* Max servers we can have linked at a time */
   sendq 1000000;
   connfreq 100; /* How many seconds between each connection attempt */
};
Y:27:180:0:0:4000000
C:127.0.0.1:mypass:Services.LocalHost.Net::30
N:127.0.0.1:mypass:Services.LocalHost.Net::30




**********************************************************

how can i add these 3 lines into the class{} instead of Y:lines??

and H:line also, where do i have to include it into unrealircd ver 3.2??


i will be really thankful..
Title:
Post by: EZEki3l on September 13, 2006, 12:54:32 AM
you can use this tool http://www.anope.org/~heinz/ilm.php?p=lm
to make the link block and after you must put an uline for the Services Hostname on all servers of your network with this syntax

ulines {
   Services.your-network.tld;
};

for class block you can use the default setting from unreal in Unreal3.2/doc/example.conf

[Edite le 12-9-2006 par EZEki3l]
Title:
Post by: nb-rIdaz on September 13, 2006, 01:00:24 AM
yeah i just got this... thanks very much...