All pastes #938598 Raw Edit

Something

public text v1 · immutable
·published 2008-03-11 19:21 UTC
rendered paste body
/* 
  SwiftIRC base configuration file v1.1
  Last edited 2007-01-08
  
  Author: Karl R (admin@swiftirc.net)
  Lastest version available at http://www.swiftirc.net/conf/base.conf

  --------------------------------------------
  Notes

  This should just be a case of filling in blanks.  It's recommended that
  you don't try to add your own directives.  If you really want to add something, 
  consult the network administrators first - it may be something that already gets
  pushed out in the remote config files.
  --------------------------------------------

*/

loadmodule "src/modules/commands.so";
loadmodule "src/modules/cloak.so";

include "https://config2.swiftirc.net/common/common.conf";
//include "https://config2.swiftirc.net/"; /* You will be provided with a URL */

/*
  You will need to talk to a network administrator before attempting to
  fill in the second include line.  Note that none of the includes will
  work until you've received your ssl certificate from us.

  Also, your certificate will only be valid for the unit assigned to you.  So
  don't even bother trying to include a conf that you shouldn't :)
*/

me
{
	name "server.name.SwiftIRC.net";
	info "Server description";
	numeric 1; /* You will be provided with a numeric */
};

admin {
	"Your name";
	"Your nick";
	"your@email.tld"; /* You can get SwiftIRC mailbox or redirect, talk to Sephiroth or e-mail admin@swiftirc.net */
};

/* Clients, opers, and servers are mandatory classes */

class           clients
{
	pingfreq 90;
	maxclients 1000;  /* Set this to a value a little below your MAXCONNECTIONS */
	sendq 100000;
	recvq 8000;
};

class		opers
{
	pingfreq 180;
	maxclients 20;
	sendq 1000000;
	recvq 16000;
};
 
class           servers
{
	pingfreq 180;
	maxclients 10;
	sendq 1000000;
	connfreq 20;
};

allow {
	ip		*@*;
	hostname	*@*;
	class		clients;
	maxperip 3;
};

/* 
  Ports 6666, 6667, 6668, 6669, 7000 are required for clients
  Port 6697 (ssl) should be used for secure clients
  Port 9966 (ssl) is required for servers
*/

listen		127.0.0.1:6666;
listen		127.0.0.1:6667;
listen		127.0.0.1:6668;
listen          127.0.0.1:6669; /* replicate for desired IPs/ports */
listen		127.0.0.1:7000;

listen		127.0.0.1:9966
{
	options
	{
		ssl;
		serversonly;
	};
};

listen		127.0.0.1:6697
{
	options
	{
		ssl;
		clientsonly;
	};
};



drpass {
	restart "password";
	die "password";
};

log "ircd.log" {
	maxsize 2097152;
	flags {
		oper;
		kline;
		connects;
		server-connects;
		kills;
		errors;
		sadmin-commands;
		chg-commands;
		oper-override;
		spamfilter;
	};
};

set {
	/* This should be disabled unless you have
           a real problem running ntpd on your server */

	timesynch {
		enabled no;
	};

	kline-address	"support@swiftirc.net";
};

/*
  A note that while in the test link period, your server will be quarantined.
  Any non-local oper WILL be automatically killed!

  You are also not allowed to add any additional opers (not even local) without
  the consent of the network administrators.
*/

oper you {
        class           opers;
        from {
                userhost *@host;
        };
        password "your encrypted password" { sha1; };
        flags o;
        snomask cFfkejvGqsSo;
};

/*
  Ok, we're all done.  Everything else will be pushed out to you
  when the server rehashes.

  Don't forget to edit your ircd.motd!
*/