Commit initial: GNUWorld servicii IRC cu README.md complet in limba romana - Analiza arhitecturala completa a proiectului - Documentatie ierarhie clase, bucla de evenimente, protocol P10 - Identificare probleme memorie si recomandari modernizare

This commit is contained in:
Underchat committed 2026-03-02 00:51:45 +02:00
commit fcb24f6de9
870 files changed
+311128

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
precious ^.*(\.conf)$
precious ^server_command_map$
precious ^gnuworld
backup \.log$
backup ^core$
backup ^gnuworld
backup \.log$
backup ^core$
+44
View File
@@ -0,0 +1,44 @@
*.la
*.so
*.0
*.log
*.Log
gnuworld.pid
gnuworld
ccontrol.conf
cservice.conf
GNUWorld.conf
cloner.conf
nickserv.conf
openchanfix.conf
stats.conf
scanner.conf
clientExample.conf
gnutest.conf
EVT_*
*.example.conf
users_per_channel
channels_per_user
Server_UnJupe
Server_Jupe
Oper_Up
Nick_Change
Net_Join
Net_Break
Gline_Remove
Gline_Add
Client_Quit
Client_Kill
Client_Connect
Channel_Topic_Change
Channel_Part
Channel_Kick
Channel_Join
Channel_Create
Burst_Complete
Burst_Acknowledge
Account_Login
server_command_map
logging.properties
.arch-ids
+74
View File
@@ -0,0 +1,74 @@
# $Id: GNUWorld.example.conf.in,v 1.15 2006/12/22 06:41:41 kewlio Exp $
# GNUWorld Core Configuration File
#
uplink = 127.0.0.1
port = 4400
password = 54321
name = channels.yournetwork.org
description = UnderNet Services
numeric = 51
# Set this variable to yes if you want the server to attempt
# to auto_reconnect when a connection is terminated, set
# to no otherwise.
# Be careful using this.
auto_reconnect = yes
# There is currently a bug in ircu which causes the first client
# of a multiclient server to be lost, but only if maxclients is set
# to an even number.
# Therefore, only use odd numbers for maxclients here.
maxclients = 1023
# This is the variable which defines the host suffix to be concatenated
# onto the user's account name for host hiding.
hidden_host_suffix = .users.yournetwork.org
# command_map is the name of the file which contains the mappings
# from module filenames (of server command handlers) to the
# message name to which it is associated.
# You probably will not need to ever change this.
command_map = server_command_map
# libdir is the path to the directory containing
# the gnuworld modules
libdir = ../lib
# To use a certain module, uncomment it below.
#module = libcservice.la cservice.example.conf
#module = libccontrol.la ccontrol.example.conf
#module = libchanfix.la openchanfix.example.conf
#module = libcloner.la cloner.example.conf
#module = libnickserv.la nickserv.example.conf
#module = libstats.la stats.example.conf
#module = libscanner.la scanner.example.conf
#module = libgnutest.la gnutest.example.conf
#module = libclientExample.la clientExample.example.conf
#module = libdronescan.la dronescan.example.conf
#module = libsnoop.la snoop.example.conf
# Control nicknames
# List here the nicknames to which you want the server to respond
# for control commands.
# You need not list any, it could be construed as a security
# risk, but adds very nice functionality.
# No clients are burst for control, instead control commands
# must be sent via MSG controlnick@server.name <command>
controlnick = control
# List the AC account usernames for those users you want to
# have access to the control commands.
# Be careful who you choose for this.
# AC account usernames are case sensitive.
allowcontrol = reppir
#################################################
# It is safe to leave the rest of this file alone
# These variables are for fine tuning
# The time between checks for expired glines (seconds)
glineUpdateInterval = 15
# The time between pings to the uplink (seconds)
pingUpdateInterval = 60
+88
View File
@@ -0,0 +1,88 @@
# $Id: ccontrol.example.conf.in,v 1.4 2009/06/09 05:55:55 hidden1 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 = gnuworld
sql_pass = foo
# The following fields are required
username = UWorld
nickname = UWorld
hostname = UWorld.undernet.org
userdescription = UWorld
operchanmodes = +isn
mode = +iodkw
# make sure channel names are preceeded
# by the '#' character
operchan = #coder-com
# msgchan is also an operchan
msgchan = #coder-com
# Default gline length (in seconds)
glength = 3600
# Default reason for adding an oper chan
operchanreason = This is now an IRC Operator only channel
# Maximum numbers of channels to show with LIST channels command
# 0 = all
maxlistchannels = 0;
# report specification
# abuse_mail - the email that the report should be emailed to
abuse_mail = abuse@yournet.org
# ccemail - the email that ccontrol will put in the from field
# of the report
ccemail = uworld-report@yourdomain.com
# 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
# showCGIpsInLogs - If set to 1, it shows channel glines IPs in lastcom logs and in daily logs sent by email
showCGIpsInLogs = 1
# AnnounceNick - Nick used by the fake client to make announcements using the ANNOUNCE command
AnnounceNick = A
+27
View File
@@ -0,0 +1,27 @@
# Configuration file for the GNUWorld ChanFix module
username = ChanFix
nickname = CF
hostname = undernet.org
userdescription = GNUWorld ChanFix
mode = +idk
# Console channel
consoleChannel = #chanfix
# Console channel modes
consoleModes = +ns
# Delay between linking and starting to count in seconds
startDelay = 120
# Number of points to allocate to an authed op per period
pointsAuth = 10
# Duration of a single period in seconds
period = 60
# Maximum points a user can gain
# Set this to be equal to 24 hours of ops
# ie (24*60*60) * (pointsAuth / period)
maxPoints = 100
+8
View File
@@ -0,0 +1,8 @@
# $Id: clientExample.example.conf.in,v 1.2 2003/06/05 01:38:01 dan_karrels Exp $
# conf file for testClient
username = clientEx
nickname = clientEx
hostname = undernet.org
userdescription = GNUWorld Test Client
mode = +i
+83
View File
@@ -0,0 +1,83 @@
# $Id: cloner.example.conf.in,v 1.5 2005/01/08 23:33:41 dan_karrels 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 = undernet.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 = someotherusername
# 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
fakehost=osd.gov
fakehost=af.mil
fakehost=army.mil
fakehost=marines.mil
fakehost=navy.mil
fakehost=coastguard.mil
# 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
fakeuser=george
fakeuser=cheney
fakeuser=lott
fakeuser=blair
fakeuser=bigdick
fakeuser=rumsfeld
fakeuser=hw
fakeuser=tenet
fakeuser=graham
fakeuser=clarke
fakeuser=rice
# 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 = 9
# The max number of clones to burst on each iteration
cloneburstcount = 35
+322
View File
@@ -0,0 +1,322 @@
# $Id: cservice.example.conf.in,v 1.9 2005/12/06 18:12:44 kewlio Exp $
# Channel Services configuration file.
#
# sql_host = Hostname/IP of the PostgreSQL server.
sql_host = 10.1.100.252
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 = gnuworld
sql_pass = foo
# General 'Bot' options.
nickname = X
username = cservice
hostname = underchat.org
userdescription = For help type: /msg X help
mode = +idk
#
# Channel to relay flood/warnings/exceptions, etc.
#
pending_page_url = http://cservice.underchat.org/live/view_app.php
relay_channel = #CSC
#
# Channel to relay useful information, but not quite as annoying
# as the debug_channel ! (a.k.a privileged user relay channel)
#
priv_relay_channel = #CSC
#
# Channel to relay useful debug information that otherwise
# annoy CS admins. :)
#
debug_channel = #CSC
#
# Coder channel.
#
# Channel used to extract levels to display coder access status.
coder_channel = #CSC
#
# 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 = 3000
#
# 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 = 5
#
# 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
#
# How many not(ic)es will be stored at one time
# 0 disallowed, 3 will be used
max_notes = 30;
#
# 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
#
# Specify the filename for the 'Command Log'
# A log of ALL commands issued by ALL users.
# requires USE_COMMAND_LOG in cservice_config.h
command_logfile = cs.log
#
# This option is used only if ALLOW_HELLO is defined in
# cservice_config.h, thus enabling the HELLO command in cservice.
# This is the time to block users attempting to flood the bot with
# hello commands, in seconds.
#
hello_block_period = 3600
#
# If this is set to 1, the password generated for the new user will be sent to the email
# otherwise displayed directly to the user
# ** IMPORTANT: mailutils or mailx package must be installed on your system
hello_sendmail_enabled = 0
#
# Sending email when new user registered
# Define here the "from address"
#
sendmail_from = cservice@underchat.org
#
# What is the period (in seconds) in which we will check for
# new webrelay messages
#
webrelay_interval = 10;
#
# How long the bot should stay in an idle channel before leaving it.
# This only takes into account join/parts, not privmsg.
# Default is 2 days (172800 seconds)
#
part_idle_chan = 172800
#
# Enable/Disable totp authentication (must be enabled in mod.cservice/cservice_config.h on compliation)
# 1 = totp enabled, 0 = totp disabled
enable_totp = 0
#
# Days to expire users
# 0 = never expire
users_expire_days = 365
#
# Set MIA flag on channels where manager missing for
# 0 = never expire
MIA_start_days = 90
#
# Purge MIA flagged channels after
#
MIA_end_days = 100
#
# Frequncy for check database for last seen users(in hours)
# cannot be 0, default 8 will be used
users_db_idle = 1
#
# Frequncy for check database for for channels for missing managers(in hours)
# cannot be 0, default 3 will be used
channels_db_idle = 1
# Set hour length in seconds
# (appliabale only for "new" features user and channel expires
# cannot be 0; 1 will be used
hour_seconds = 3600
# Set day length in seconds
# (appliabale only for "new" features user and channel expires
# cannot be 0; 1 will be used
day_seconds = 86400
#
# Description for MIA starting period
#
MIA_start_desc = Manager has failed to login. To vote for new manager send mail to cservice@underchat.org
#
# MIA URL
#
MIA_URL = Only 400+ Ops
#
# Description for MIA ending period (manager has logged in)
#
MIA_end_desc = Manager has logged in. This was the last warning for failure to login
# # #
# ***** The Judge ***** #
# # #
required_supporters = 2
judge_day_seconds = 360
min_days_before_reg = 1
min_days_before_support = 1
max_concurrent_supports = 3
noreg_days_on_nosupport = 1
reject_app_on_userfraud = 1
rewiev_on_object = 1
rewievs_expire_time = 100
pendings_expire_time = 30
max_days = 3
unique_joins = 5
joins = 10
min_supporters = 2
min_supporters_joins = 2
notify_days = 2
support_days = 1
reviewer_id = 1
# A welcome message for a newly accepted channel
# For empty use '' and it means disabled
welcome_newchan_message = Congratulations! Channel %s has been registered!
# A welcome topic for a newly accepted channel
# For empty use '' and it means disabled. Applies only on empty channel topic.
# TOPIC_TRACK must be #define in \include\gnuworld_config.h
welcome_newchan_topic = *** Congratulations! Your channel application has been accepted! ***
#
# Reserved/restricted hostnames.
# Cannot set by regular users. Wildcard match is accepted.
# The bot's hostname and hiddenhost suffix are automatically added to the list
#
+342
View File
@@ -0,0 +1,342 @@
# $Id: cservice.example.conf.in,v 1.9 2005/12/06 18:12:44 kewlio 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 = gnuworld
sql_pass = foo
# General 'Bot' options.
nickname = X
username = cservice
hostname = yournetwork.org
userdescription = For help type: /msg X help
mode = +idk
#
# Channel to relay flood/warnings/exceptions, etc.
#
pending_page_url = http://www.yoursite.com/live/view_app.php
relay_channel = #coder-com
#
# Channel to relay useful information, but not quite as annoying
# as the debug_channel ! (a.k.a privileged user relay channel)
#
priv_relay_channel = #coder-com
#
# Channel to relay useful debug information that otherwise
# annoy CS admins. :)
#
debug_channel = #coder-com
#
# 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 = 3000
#
# 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 = 5
#
# 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
#
# How many not(ic)es will be stored at one time
# 0 disallowed, 3 will be used
max_notes = 30;
#
# 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
#
# Specify the filename for the 'Command Log'
# A log of ALL commands issued by ALL users.
# requires USE_COMMAND_LOG in cservice_config.h
command_logfile = cs.log
#
# This option is used only if ALLOW_HELLO is defined in
# cservice_config.h, thus enabling the HELLO command in cservice.
# This is the time to block users attempting to flood the bot with
# hello commands, in seconds.
#
hello_block_period = 3600
#
# If this is set to 1, the password generated for the new user will be sent to the email
# otherwise displayed directly to the user
# ** IMPORTANT: mailutils or mailx package must be installed on your system
hello_sendmail_enabled = 0
#
# Sending email when new user registered
# Define here the "from address"
#
sendmail_from = cservice@yournetwork.org
#
# What is the period (in seconds) in which we will check for
# new webrelay messages
#
webrelay_interval = 10;
#
# How long the bot should stay in an idle channel before leaving it.
# This only takes into account join/parts, not privmsg.
# Default is 2 days (172800 seconds)
#
part_idle_chan = 172800
#
# Enable/Disable totp authentication (must be enabled in mod.cservice/cservice_config.h on compliation)
# 1 = totp enabled, 0 = totp disabled
enable_totp = 0
#
# Days to expire users
# 0 = never expire
users_expire_days = 60
#
# Set MIA flag on channels where manager missing for
# 0 = never expire
MIA_start_days = 21
#
# Purge MIA flagged channels after
#
MIA_end_days = 30
#
# Frequncy for check database for last seen users(in hours)
# cannot be 0, default 8 will be used
users_db_idle = 1
#
# Frequncy for check database for for channels for missing managers(in hours)
# cannot be 0, default 3 will be used
channels_db_idle = 1
# Set hour length in seconds
# (appliabale only for "new" features user and channel expires
# cannot be 0; 1 will be used
hour_seconds = 3600
# Set day length in seconds
# (appliabale only for "new" features user and channel expires
# cannot be 0; 1 will be used
day_seconds = 86400
#
# Description for MIA starting period
#
MIA_start_desc = Manager has failed to login. To vote for new manager send mail to cservice@undernet.org
#
# MIA URL
#
MIA_URL = Only 400+ Ops
#
# Description for MIA ending period (manager has logged in)
#
MIA_end_desc = Manager has logged in. This was the last warning for failure to login
# # #
# ***** The Judge ***** #
# # #
required_supporters = 2
judge_day_seconds = 360
min_days_before_reg = 1
min_days_before_support = 1
max_concurrent_supports = 3
noreg_days_on_nosupport = 1
reject_app_on_userfraud = 1
rewiev_on_object = 1
rewievs_expire_time = 100
pendings_expire_time = 30
max_days = 5
unique_joins = 5
joins = 15
min_supporters = 2
min_supporters_joins = 3
notify_days = 2
support_days = 1
reviewer_id = 1
# A welcome message for a newly accepted channel
# For empty use '' and it means disabled
welcome_newchan_message = Congratulations! Channel %s has been registered!
# A welcome topic for a newly accepted channel
# For empty use '' and it means disabled. Applies only on empty channel topic.
# TOPIC_TRACK must be #define in \include\gnuworld_config.h
welcome_newchan_topic = *** Congratulations! Your channel application has been accepted! ***
#
# Reserved/restricted hostnames.
# Cannot set by regular users. Wildcard match is accepted.
# The bot's hostname and hiddenhost suffix are automatically added to the list
#
reservedHost = *anyhost.com
reservedHost = *.anyhost2.com
+160
View File
@@ -0,0 +1,160 @@
# $Id: dronescan.example.conf.in,v 1.19 2008/11/17 02:54:42 hidden1 Exp $
# What nickname should the bot use?
nickname = E
# What username should the bot use?
username = dronescan
# What hostname should the bot use?
hostname = undernet.org
# What should the bots real name be?
userdescription = Drone Scanner
# What user modes should the bot use?
mode = +idk
# Console channel name and initial modes
consoleChannel = #ds.console
consoleChannelModes = +ntsim
# enable autoTopic when dronescan joins? true or false
setAutoTopic = false
# SQL Setup
sqlHost = 127.0.0.1
sqlPort = 5432
sqlDB = dronescan
sqlUser = gnuworld
sqlPass = dronescan
# 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
# The interval in seconds for how often we should attempt to refresh any
# caches from the database. The refreshes typically only trigger if any
# data has actually changed.
rcInterval = 300
# The level that an opered client without an account should be assumed
# to have.
# If you wish this functionality to be disabled, set the level to 0.
fakeOperLevel = 300
################
# 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
# The minimum time a client needs to join and part within a flood to be reported/glined
jcMinJoinToGline = 1
# Whether or not to gline join flood clients
jcGlineEnable = 0
# The minimum joins during join-floods required for an IP to be glined without a part (Can be on multiple channels)
jcMinJoinsPerIPToGline = 4
# The time within the joins.
jcJoinsPerIPTime = 14400
# The number of clients per IP required during *ONE* joinflood to set a gline if there are no parts
jcMinJoinToGlineJOnly = 2
# The join-flood size required to set a gline with no parts
jcMinJFJOnlySizeToGline = 25
# The minimum number of flooding clients required to gline
jcMinJFSizeToGline = 20
# The gline reason to set when glining join flood offenders
jcGlineReason = Flooding is not tollerated on this network!
# The length in seconds for glines which are issued on join flood offenders
jcGlineLength = 3600
################
# NICK COUNTER #
################
# The interval over which nick counter checks for nicks changes. This is in
# seconds.
ncInterval = 10
# The trigger level for which nick counter warns. Note that the total nick
# change count must be OVER this level to trigger.
ncCutoff = 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
###############
# GLINE QUEUE #
###############
# The number of clients to gline when processing the gline queue
gbCount = 2
# The interval (in seconds) processing the gline queue
gbInterval = 1
+10
View File
@@ -0,0 +1,10 @@
# $Id: gnutest.example.conf.in,v 1.3 2003/11/11 19:21:19 dan_karrels Exp $
# conf file for testClient
username = gnutest
nickname = gnutest
hostname = undernet.org
userdescription = GNUTest Test Client
mode = +iok
operchan = #Valhalla
+1
View File
@@ -0,0 +1 @@
./gnuworld -c -f GNUWorld.example.conf&
+15
View File
@@ -0,0 +1,15 @@
log4cplus.logger.gnuworld.ds.jf.glined=INFO, DS-JFGLINED
log4cplus.appender.DS-JFGLINED=log4cplus::DailyRollingFileAppender
log4cplus.appender.DS-JFGLINED.File=jf-glined.log
log4cplus.appender.DS-JFGLINED.Schedule=Daily
log4cplus.appender.DS-JFGLINED.layout=log4cplus::PatternLayout
log4cplus.appender.DS-JFGLINED.layout.ConversionPattern=%d - %m%n
log4cplus.logger.gnuworld.ds.jf.cservice=INFO, DS-CSERVICE
log4cplus.appender.DS-CSERVICE=log4cplus::DailyRollingFileAppender
log4cplus.appender.DS-CSERVICE.File=jf-cservice.log
log4cplus.appender.DS-CSERVICE.Schedule=Daily
log4cplus.appender.DS-CSERVICE.layout=log4cplus::PatternLayout
log4cplus.appender.DS-CSERVICE.layout.ConversionPattern=%d - %m%n
+43
View File
@@ -0,0 +1,43 @@
# $Id: nickserv.example.conf.in,v 1.5 2003/06/05 01:38:01 dan_karrels Exp $
nickname = NS
username = nickserv
hostname = undernet.org
userdescription = NickServ
mode = +idk
# Console output for nickserv
consoleChannel = #ns.console
consoleChannelModes = +ntsim
# 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
+163
View File
@@ -0,0 +1,163 @@
# $Id: openchanfix.example.conf.in,v 1.1 2006/12/22 06:41:41 kewlio Exp $
# chanfix configuration file
# ---------------------------------------------------------------------
# Nickname of bot
nickname = C
# Username of bot
username = chanfix
# Hostname of bot
hostname = evilnet.development
# Real name (info) of bot
userdescription = Oooh! Oooh! I can fix it!
# User modes bot should set
mode = +idk
# ---------------------------------------------------------------------
# Database specifications
# Host and port of database
sqlHost = 127.0.0.1
sqlPort = 5432
# Name of database
sqlDB = chanfix
# If you don't need user/pass just put "" for option(s) below
sqlcfUser = gnuworld
sqlPass = ""
# ---------------------------------------------------------------------
# Channels the bot should join
# Console channel name and initial modes
consoleChan = #coder-com
consoleChanModes = +nst
# Should the bot relay admin messages to the console channel?
# NOTE: This only disables relaying information sent to the
# adminLog. debugLog information is *always* relayed.
sendConsoleNotices = true
# Channel(s) that chanfix should join besides consoleChan (can be multiple)
joinChan = #chanfix
joinChan = #staff
# Initial modes all joinChans should have
joinChanModes = +nt
# ---------------------------------------------------------------------
# Fixing settings
# Should chanfix automatically fix opless channels?
enableAutoFix = true
# Should chanfix be able to manually fix channels?
enableChanFix = true
# Can channels be blocked by admins?
enableChannelBlocking = true
# Should chanfix join the channel its fixing? this avoids the hopping issue
joinChannels = true
# Should chanfix send notices saying the channel is being fixed for auto
# fixes. Also a notice after its finished saying its done?
autoFixNotice = true
# Should chanfix send notices saying the channel is being fixed for manual
# fixes Also a notice after its finished saying its done?
manualFixNotice = true
# Should auto fixes stop if an already reopped user ops another user?
stopAutoFixOnOp = true
# Should manual fixes stop if an already reopped user ops another user?
stopChanFixOnOp = true
# Should the top ops be allowed to perform fixes on their own channels?
allowTopOpFix = false
# Should the top op fixes be able to alert the top 10 ops who are not in
# the channel at the time of the fix automatically? If no/false then the
# database help entry for REQUESTOP will need to be updated.
allowTopOpAlert = true
# How much percentage within the top score should the top ops score be
# before they are allowed to perform fixes. Dont include a %.
topOpPercent = 10
# Minimum score an op has be before they can issue fixes in their own
# channel without requiring an oper to do them.
minFixScore = 1000
# Minimum score an op has to be before they can use the CANFIX command for
# a channel they are ops in.
minCanFixScore = 500
# Minimum time required between REQUESTOP fixes. (In seconds). The last
# fix time is updated at the start of a fix so allow time for the first
# fix aswell as time for a gap.
minRequestOpTime = 720
# ---------------------------------------------------------------------
# Network settings
# Version of IRCu used on the network (11 or 12)
# Use 11 for u2.10.11 and 12 for u2.10.12
# NOTE: You MUST restart GNUWorld for this change to take place.
version = 12
# Should burst be used to fix takeovers (through a manual fix)?
# Burst guarantees that the abusers will not be reopped due to
# a netsplit, but it can cause problems due to lowering timestamp.
# NOTE: You MUST restart GNUWorld for this change to take place.
useBurstToFix = true
# Total number of servers on the network
numServers = 10
# The minimum percentage of servers that need to be linked;
# if there are fewer servers linked, chanfix will not fix
# any channels, be it automatic or manual.
minServersPresent = 75
# The full server name of the channel service. This is used in
# checking whether the channel service is currently linked or
# not to the network.
chanServName = channels.undernet.org
# ---------------------------------------------------------------------
# Interface settings
# The amount of scores to report when issuing the SCORE #channel
# command. Do not set this to a higher value than 10.
numTopScores = 10
# ---------------------------------------------------------------------
# Database settings
# Minimum clients needed in a channel for it to be scored
minClients = 4
# Which clients score a point if they are opped?
# Client needs to be idented (no ~ before username)
clientNeedsIdent = false
# ---------------------------------------------------------------------
# Miscellaneous settings
# Frequency (in seconds) between database connection status checks
connectCheckFreq = 10
# File where all admin commands sent to backchan are logged and saved
adminLogFile = chanfix-admin.log
# File where all debug information sent to backchan is logged and saved
debugLogFile = chanfix-debug.log
# End of config file.
# ---------------------------------------------------------------------
+11
View File
@@ -0,0 +1,11 @@
# $Id: scanner.example.conf.in,v 1.2 2003/06/05 01:38:01 dan_karrels Exp $
# Config file for the scanner client
nickname = netscan
username = netscan
hostname = undernet.org
userdescription = Don't be afraid, I won't hurt you...
mode = +iok
# The maximum number of outgoing connections to establish
max_connects = 1500
+55
View File
@@ -0,0 +1,55 @@
# $Id: server_command_map.in,v 1.6 2009/07/25 18:12:33 hidden1 Exp $
# The mapping from module to message name for server command handlers
# format: module_file_name module_loader_symbol command_key
# example: libircu msg_AC AC
# example: libircu msg_P P
# example: libircu msg_NOOP Z
libircu msg_AC AC
libircu msg_AD AD
libircu msg_B B
libircu msg_C C
libircu msg_CM CM
libircu msg_D D
libircu msg_NOOP DE
libircu msg_DS DS
libircu msg_EA EA
libircu msg_EB EB
libircu msg_G G
libircu msg_GL GL
libircu msg_I I
libircu msg_J J
libircu msg_JU JU
libircu msg_K K
libircu msg_L L
libircu msg_M351 351
libircu msg_M391 391
libircu msg_M M
libircu msg_N N
libircu msg_NOOP NOOP
libircu msg_PA PA
libircu msg_PA PASS
libircu msg_O O
libircu msg_OM OM
libircu msg_P P
libircu msg_Q Q
libircu msg_R R
libircu msg_RI RI
libircu msg_RO RO
libircu msg_S S
libircu msg_Server SERVER
libircu msg_SQ SQ
libircu msg_T T
libircu msg_V V
libircu msg_WA WA
libircu msg_W W
libircu msg_Y Y
libircu msg_Y ERROR
libircu msg_NOOP Z
libircu msg_NOOP A
libircu msg_NOOP U
libircu msg_NOOP WU
libircu msg_NOOP MO
libircu msg_NOOP 482
libircu msg_NOOP 443
libircu msg_FA FA
+34
View File
@@ -0,0 +1,34 @@
# $Id: snoop.example.conf.in,v 1.2 2003/12/06 22:11:36 dan_karrels Exp $
# conf file for snoop bot
username = snoopy
nickname = snoopy_
hostname = undernet.org
userdescription = Inquiring Minds Want to Know
mode = +i
# 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 = Jeekay
# 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 command character (or string) to which the bot will respond
# in channels. This can be any length, but can only be one word.
cmdchar = snoopy
# The channel in which the bot will accept channel commands
adminchan = #2010
# The channel to which relay information will be sent
relaychan = #coder-com
# The default quit message for spawned clients
defaultquitmessage = Exiting
# The maximum nickname length for your network
maxnicklen = 9
+28
View File
@@ -0,0 +1,28 @@
# $Id: stats.example.conf.in,v 1.6 2003/07/24 21:14:25 dan_karrels Exp $
# conf file for stats bot
username = ubercow
nickname = ubercow
hostname = undernet.org
userdescription = UnderNet 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 = reppir
permit_user = Jeekay
# 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