[SithNet-Patches] [CVS] Module gnuworld-sithnet: Change committed
Brought to you by:
darthsidious_
From: Tim I. <dar...@us...> - 2003-08-20 16:30:14
|
Committer : Tim Ireland <dar...@us...> CVSROOT : /cvsroot/sithnet-dev Module : gnuworld-sithnet Commit time: 2003-08-20 14:05:25 UTC Added files: bin/ccontrol.example.conf bin/clientExample.example.conf bin/cloner.example.conf bin/cservice.example.conf bin/dronescan.example.conf bin/gnutest.example.conf bin/nickserv.example.conf bin/scanner.example.conf bin/stats.example.conf Log message: Uploaded Example configuration files ---------------------- diff included ---------------------- Index: gnuworld-sithnet/bin/ccontrol.example.conf diff -u /dev/null gnuworld-sithnet/bin/ccontrol.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/ccontrol.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,79 @@ +# $Id: ccontrol.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# conf file for testClient + +# database specifications +sql_host = 127.0.0.1 +sql_port = 5432 + +# sql_db = Name of the database. + +sql_db = ccontrol + +#if you dont need user/pass just leave it with '' +sql_user = dan +sql_pass = foo + +# The following fields are required +username = UWorld +nickname = UWorld +hostname = SithNet.org +userdescription = UWorld Operator Services + +operchanmodes = +sntcCO +mode = +iodkw + +# make sure channel names are preceeded +# by the '#' character +operchan = #DarkSide + +# msgchan is also an operchan +msgchan = #UWorld + +# Default gline length (in seconds) +glength = 3600 + +# Default reason for adding an oper chan +operchanreason = This is now an IRC Operator only channel + +# report specification + +# abuse_mail - the email that the report should be emailed to +abuse_mail = ab...@yo... + +# ccemail - the email that ccontrol will put in the from field +# of the report +ccemail = uwo...@yo... + +# sendmail - full path to the sendmail program +sendmail = /usr/sbin/sendmail + +# mail_report - set 1 for the bot to mail the report +# set to 0 if you dont want a report to be mailed +mail_report = 0 + +# gline_interval - the interval in which ccontrol should check +# for expired glines +gline_interval = 3600 + +# max_connection - the maximum connections a host can have before glined +max_connection = 5 + +# max_GLen - the length of the gline the for excessive +# connection (in seconds) +max_GLen = 86400 + +# max_threads - maximum number of gate checking threads to start +max_threads = 100 + +# check_gates - set 1 for the bot to check for open gates, or 0 for not +check_gates = 0 + +# check_clones - set 1 for the bot to check for clones, or 0 for not +check_clones = 0 + +# Expired_Interval +Expired_interval = 60 + +# dbinterval +dbinterval = 60 + Index: gnuworld-sithnet/bin/clientExample.example.conf diff -u /dev/null gnuworld-sithnet/bin/clientExample.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/clientExample.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,8 @@ +# $Id: clientExample.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# conf file for testClient +username = clientEx +nickname = clientEx +hostname = SithNet.org +userdescription = GNUWorld Test Client + +mode = +i Index: gnuworld-sithnet/bin/cloner.example.conf diff -u /dev/null gnuworld-sithnet/bin/cloner.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/cloner.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,66 @@ +# $Id: cloner.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# Configuration file for Cloner (mod.cloner) + +# The following fields pertain to the client that connects and +# provides an interface to the server +username = Cloner +nickname = Cloner +hostname = SithNet.org +userdescription = I am the clone man! + +# The mode for the cloning client +mode = +iodk + +# permit the given user -- by account login name -- to use the +# module. You may have as many of these as you like (including none). +# This is case-insensitive. +permit_user = reppir +permit_user = Darth + +# Set this to true if you want to permit opers to use the module, +# set to false otherwise (will not affect other users who have access) +allow_opers = true + +######## +# The following fields are information about the clones +# and the server created to host them. + +# The name of the server to which to connect the clones +fakeservername = spawn.undernet.org + +# The server description of the fake clone server +fakeserverdescription = Clones really are my bag baby! + +# fakehost's are used for clone host names +# There may be as many as you like +fakehost=this.is.a.fake.host.com +fakehost=whitehouse.gov +fakehost=cia.gov +fakehost=fbi.gov +fakehost=clone.fbi.gov +fakehost=i.hacked.cia.gov + +# fakeuser's are used for clone usernames +# There may be as many as you like +fakeuser=bill +fakeuser=mcnamara +fakeuser=hillary +fakeuser=mccain +fakeuser=gore +fakeuser=big_al + +# Real name field of each clone +clonedescription = This is a clone, this is only a clone... + +# Modes that each clone needs to set +clonemode = +d + +# The minimum length of a clone nickname +minnicklength = 5 + +# The maximum length of a clone nickname (default max on normal +# non-edited IRCu is 9) +maxnicklength = 15 + +# The max number of clones to burst on each iteration +cloneburstcount = 35 Index: gnuworld-sithnet/bin/cservice.example.conf diff -u /dev/null gnuworld-sithnet/bin/cservice.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/cservice.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,162 @@ +# $Id: cservice.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# Channel Services configuration file. +# +# sql_host = Hostname/IP of the PostgreSQL server. + +sql_host = 127.0.0.1 +sql_port = 5432 + +# sql_db = Name of the database. +# (To create from the template, run cservice.sql through Postgres) + +sql_db = cservice + +# sql_user is the username to pass to Postgres on connection. +# Usefull if your account name is not the same as your Database +# username. + +sql_user = dan +sql_pass = foo + +# General 'Bot' options. + +nickname = S +username = cservice +hostname = SithNet.org +userdescription = For help type: /msg S help +mode = +idk + +# +# Channel to relay flood/warnings/exceptions, etc. +# + +pending_page_url = http://www.yoursite.com/live/view_app.php + +relay_channel = #CMaster + +# +# Channel to relay useful debug information that otherwise +# annoy CS admins. :) +# + +debug_channel = #CMaster + +# +# Coder channel. +# +# Channel used to extract levels to display coder access status. + +coder_channel = #Coder-com + +# +# Frequency in seconds to check the database for updates. +# + +update_interval = 180 + +# +# Number of seconds to sample for flooding. +# + +flood_duration = 30 + +# +# Input flood rate. +# +# Eg: 30, for 30 points amassed within "flood_duration" seconds. +# + +input_flood = 30 + +# +# Output flood rate. +# +# Eg: 20480 (20k within "flood_duration" seconds). +# + +output_flood = 20480 + +# +# Minimum duration at which to set a topic in a non idle channel. +# (Seconds). +# + +topic_duration = 1800 + +# +# Duration at which we check for idle user accounts in memory. +# (Seconds). + +expire_interval = 3600 + +# +# How long those accounts should have been idle before they are +# uncached. (Seconds). +# + +cache_interval = 3600 + +# +# How often to notify/commit changes to Pending channels. +# (Seconds). + +pending_duration = 1800 + +# +# How often to check if the connection to the backend has +# fallen over? (Seconds). +# + +connection_check_frequency = 10 + +# +# How many times do we try every 'connection_check_frequency' seconds +# to reconnect before finally giving up and exiting? +# + +connection_retry_total = 5 + +# +# How often (in seconds) should we check all channels that have +# floating-limit set to see if they need a new limit setting? +# +# Note: 30 is a good value, try 1min if you have lots of chans +# and not so much CPU. + +limit_check = 30 + +# +# How long (In seconds) should we wait before allowing +# logins after startup. (Incase you're on a busy network +# with a really large burst and need things to settle down +# first to ease up load on the Db). +# + +login_delay = 30 + + +# +# What is the period (in seconds) in which we will check to +# see if someone has sent too many notes, and what do we +# define "Too Many" as? +# Ie: You can send 'note_limit' notes in 'note_duration' seconds. +# + +note_duration = 3600 +note_limit = 5 + +# +# Pre-cache 'x' days worth of user accounts. +# This lets you preload all the users who have logged in during the last +# 'x' number of days to avoid a large number of queries when processing +# +r accounts during the initial net.burst. +# + +preload_user_days = 1 + +# +# Specify the filename for the 'Admin Log'. +# Basically a log of all commands admins type. +# + +admin_logfile = admin.log Index: gnuworld-sithnet/bin/dronescan.example.conf diff -u /dev/null gnuworld-sithnet/bin/dronescan.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/dronescan.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,96 @@ +# $Id: dronescan.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# What nickname should the bot use? +nickname = DS + +# What username should the bot use? +username = dronescan + +# What hostname should the bot use? +hostname = SithNet.org + +# What should the bots real name be? +userdescription = SithNet Drone Scanner + +# What user modes should the bot use? +mode = +idk + +# Console channel name and initial modes +consoleChannel = #ds.console +consoleChannelModes = +ntsimcCO + +# SQL Setup +sqlHost = 127.0.0.1 +sqlPort = 5432 +sqlDB = dronescan +sqlUser = dronescan +sqlPass = "" + +# Margins +# Be careful with these. I wouldn't touch chanMargin too much but I suspect +# nickMargin will need tweaking from network to network. These defaults were +# taken from a fairly old burst from a small (2k5 user) network so beware! + +# The fraction of users who must be `abnormal' in a channel for the channel +# to be reported. +channelMargin = 0.8 + +# The margin around the average entropy within which a nickname is considered +# `normal'. Outside this margin is `abnormal'. Note this is the margin *either +# side* of the center, ie 0.25 would give a 50% spread - from 25% to 75%. +nickMargin = 0.1 + +# The channel cutoff is the minimum amount of members a channel must have before +# it can be considered a drone channel. +channelCutoff = 10 + +# The minimum level of information shown in the console channels. Available +# levels are as follows: +# 0 - DEBUG Random debug things that you very probably are not interested in +# 1 - INFO Informational things - this is usually worth seeing +# 2 - WARN Warnings about drone channels and serious events. +# 3 - ERROR DroneScan core errors. +consoleLevel = 1 + +# The minimum amount of votes needed for a channel to be considered abnormal +voteCutoff = 30 + +# The interval (in seconds) during which a channel won't be reported again +# This is to stop repeated spamming of the same channel +dcInterval = 600 + +################ +# JOIN COUNTER # +################ + +# The interval over which join counter checks for joins. This is in seconds. +jcInterval = 10 + +# The trigger level for which join counter warns. Note that the total join +# count must be OVER this level to trigger. +jcCutoff = 10 + + +################# +# CHANNEL RANGE # +################# + +# The total range of entropy in a channel before it is considered abnormal +channelRange = 0.2 + + +############ +# MAXCHANS # +############ + +# The minimum channel membership before a client in a channel is considered +# normal: +maxChans = 2 + + +############## +# COMMONREAL # +############## + +# The amount of users who must have the same realname before being considered +# abnormal. +realCutoff = 4 Index: gnuworld-sithnet/bin/gnutest.example.conf diff -u /dev/null gnuworld-sithnet/bin/gnutest.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/gnutest.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,10 @@ +# $Id: gnutest.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# conf file for testClient +username = gnutest +nickname = gnutest +hostname = SithNet.org +userdescription = GNUTest Test Client + +mode = +iokd + +operchan = #Valhalla Index: gnuworld-sithnet/bin/nickserv.example.conf diff -u /dev/null gnuworld-sithnet/bin/nickserv.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/nickserv.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,43 @@ +# $Id: nickserv.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +nickname = NS + +username = nickserv +hostname = SithNet.org +userdescription = GNUWorld Nickname Services +mode = +idk + +# Console output for nickserv +consoleChannel = #NS +consoleChannelModes = +ntsimcCO + +# DB connection configuration +dbHost = 127.0.0.1 +dbPort = 5432 +dbDb = nickserv +dbUser = nickserv +dbPass = "" + +# The frequency with which to check the queue +checkFreq = 60 + +# The initial startup wait. +# Note this does NOT include checkFreq so make sure to set +# a value somewhat higher than 0 +startDelay = 60 + +# How frequently to commit to the database +# _freq is max time to wait, _count is max entries to wait +commitFreq = 5 +commitCount = 1 + +# What level of debug stuff should be sent to the console channel? +# This is a bitfield, values as follows: +# 1 - PROTOCOL +# 2 - SQL +# 4 - DEBUG +# 8 - INFO +# 16 - WARNING +# 32 - ERROR +# Simply add the numbers together from the levels you want. +consoleLevel = 63 + Index: gnuworld-sithnet/bin/scanner.example.conf diff -u /dev/null gnuworld-sithnet/bin/scanner.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/scanner.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,11 @@ +# $Id: scanner.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# Config file for the scanner client +nickname = ForceScan +username = force +hostname = SithNet.org +userdescription = Don't be afraid, I won't hurt you... + +mode = +iok + +# The maximum number of outgoing connections to establish +max_connects = 1500 Index: gnuworld-sithnet/bin/stats.example.conf diff -u /dev/null gnuworld-sithnet/bin/stats.example.conf:1.1 --- /dev/null Wed Aug 20 07:05:25 2003 +++ gnuworld-sithnet/bin/stats.example.conf Wed Aug 20 07:05:14 2003 @@ -0,0 +1,27 @@ +# $Id: stats.example.conf,v 1.1 2003/08/20 14:05:14 darthsidious_ Exp $ +# conf file for stats bot +username = Statserv +nickname = Stats1 +hostname = SithNet.org +userdescription = SithNetNet Statistical Services + +mode = +iok + +# permit the given user -- by account login name -- to use the +# module. You may have as many of these as you like (including none). +# This is case-insensitive. +permit_user = Darth + +# Set this to true if you want to permit opers to use the module, +# set to false otherwise (will not affect other users who have access) +allow_opers = true + +# Set this value to "true" to enable stats logging during burst (it chews +# the hard drive/CPU) +logDuringBurst = false + +# Path to where you want output files to be placed +data_path = . + +part_message = Im too sexy for this channel + ----------------------- End of diff ----------------------- |