Search
 
 

Display results as :
 


Rechercher Advanced Search

Web Applications
install Joomla Wordpress Phpbb Drupal FluxBB PunBB osCommerce simple-machines MYBB moodle vBulletin Dolphin-v.7.1.1 PHPNUKE XOOPS
Services
install BorkNet Services X3 Services Anope Atheme Services Srvx IRC Srervices
IRCD
install Snircd IRCU INSPIRCD UNREAL Nefarious Bircd Bahamut Asuka Charybdis
TCL SCRIPT
TCL SCRIPT FOR EGGDROP Allprotection4.7 Antiproxy
Bots
Bots install FishBot bobot++ Eggdrop janus Omega Security Services Botnix Bopm SupyBot PyLink Hopm
Keywords

Latest topics
October 2017
MonTueWedThuFriSatSun
      1
2345678
9101112131415
16171819202122
23242526272829
3031     

Calendar Calendar

Affiliates
free forum

Affiliates
free forum


install IRCu 2.10.12.10 pk-WGN5 with srvx

View previous topic View next topic Go down

install IRCu 2.10.12.10 pk-WGN5 with srvx

Post  Chief on Sat Oct 24, 2015 7:15 am

ok then who say is no have a update to srvx? anyway today i give to you a some news about ircu2.10.12-pk and download srvx is have some update to him
but first time download the ircu2.10.12-pk and run him
http://www.f2h.co.il/i4ndap1gwwd8
Code:

tar zxvf ircu2.10.12-pk-e894de7.tar.gz
cd ircu2.10.12-pk
./configure
./configure --help
or if do you download from git then you need write like it
Code:

git clone git://git.pk910.de/ircu2.10.12-pk.git
cd ircu2.10.12-pk
aclocal
autoconf
autoreconf -f -i -Wall,no-obsolete
more thing about u2.10.12.pk-WGN5 if do you oper and try write the commands opmode and you cant up yourself to op then you need load it CONFIG_OPERCMDS and rehash your config..
and more options is have mode noflood +f you can set it in channel
more thing the add gline in here and remove it is Very different from other version in ircu then for select add gline about someone and remove it in ircu 2.10.12.10 pk-WGN5
Code:

//opmode #mircx +f 4:447
//opmode #mircx +f 7:600
/gline +*@78.157.225.146 * 333 :laL
/gline -*@78.157.225.146 *
explain you can see how this work

after it you need fix config or copy from us and change what you need.. next configure is srvx is have update and you can see in this a link http://git.pk910.de/?p=srvx.git;a=summary
you can install hostserv and more modules like in here

but before configure you need download srvx
http://www.f2h.co.il/mgahzyllaa9
and to configure
Code:

tar zxvf srvx-0167bfd.tar.gz
cd srvx
aclocal
autoconf
autoreconf -f -i -Wall,no-obsolete
./configure  --enable-modules=hostserv,memoserv,watchdog,sockcheck,helpserv --enable-debug
or you can download srvx and start with configure
Code:

git clone git://git.pk910.de/srvx.git
aclocal
autoconf
autoreconf -f -i -Wall,no-obsolete
./configure  --enable-modules=hostserv,memoserv,watchdog,sockcheck,helpserv --enable-debug
more things you need write some commands to opserv
Code:

/msg opserv bind hostserv * *hostserv.*
/msg opserv bind hostserv help *modcmd.help
/msg opserv bind watchdog * *watchdog.*
/msg opserv bind watchdog showcommands *modcmd.showcommands
//msg watchdog register #centos
//msg watchdog unregister #centos
/msg opserv dump :hostserv join #mircx
/msg opserv dump :Watchdog join #mircx
about Hostserv after you create the module Hostserv now you can add host to yourself  when you register to services then you get something host like it

then now you can change it to what ever you want



Code:

//msg hostserv addhost *.mIRCx
//msg hostserv addhost Staff.mIRCx
//msg hostserv assign Staff.mIRCx Chief
or you can set your vhost from authserv
Code:

//msg Authserv addmask Welding@Welding.pipeline
//msg AuthServ oset darksis fakehost Welding.pipeline
more commands to srvx
Code:

/msg opserv service add MemoServ User-to-user Memorandum Service
/msg opserv bind memoserv help *modcmd.help
/msg opserv bind memoserv * *memoserv.*
/msg opserv bind memoserv set *modcmd.joiner
/msg opserv bind spamserv * *spamserv.*
/msg opserv bind spamserv help *modcmd.help
/msg OpServ bind OpServ helpserv *helpserv.helpserv
/msg Opserv modcmd Watchdog.addbad flags +oper
/msg Opserv modcmd Watchdog.delbad flags +oper
/msg Opserv modcmd Watchdog.setbad flags +oper
/msg Opserv modcmd Watchdog.listbad flags +oper
/msg Opserv modcmd Watchdog.register flags +oper
/msg Opserv modcmd Watchdog.unregister flags +oper
/msg opserv modcmd chanserv.move flags +oper
/msg opserv modcmd chanserv.CUNSUSPEND flags +oper
/msg opserv modcmd chanserv.expire flags +oper
/msg opserv modcmd chanserv.csuspend flags +oper
/msg opserv modcmd chanserv.merge flags +oper
/msg OpServ helpserv help
/msg OpServ helpserv register
/msg Opserv ACCESS MIRCX 1000
//msg opserv GLINE *@180.250.74.210 323233333333333333 Byee
more information about a module Watchdog when you register your channel you can use with Watchdog And the role of this model is protection from badword and you can set a some options kick ban or more and do you have 4 options
BADACTION_KICK   0
  BADACTION_BAN    1
 BADACTION_KILL   2
  BADACTION_GLINE  3
you can use kill or ban this also kickban and only kick whatever do you need i explain how this work
Code:

//msg Watchdog addbad lala
//msg Watchdog setbad 1

for change the options you need write it
Code:

//msg Watchdog setbad 2 action ban

more options if do you want remove the badword write to watchdog
Code:

//msg Watchdog delbad 1
more thing about srvx if you register your channel and you want set autoop or autovoice then you need doing it

and write to chanserv this
Code:

//msg chanserv set #reut giveops 100
//msg chanserv set #reut givevoice 0
//msg chanserv set #reut giveops 0
or if do you want set a mode protect from flood  then you can set it
Code:

//msg chanserv set #mIRCx modes +f 7:600
ok more things if do you want start use with proxycheck then configure him
and change config sockcheck.conf and start build proxycheck from service
Code:

//msg opserv service add ProxyCheck proxycheck.srvx.mIRCxNet.org.Services  proxy
/msg opserv bind ProxyCheck * *ProxyCheck.*
/msg opserv bind ProxyCheck help *modcmd.help
/msg opserv bind ProxyCheck showcommands *modcmd.showcommands
//msg ProxyCheck showcommands
and after it you see some options like this

after this if you want select more bots you can download PHP P10 IRC Server something like this

http://www.f2h.co.il/mg3i405yg9t4
download to your home and create in ircd.conf block
Code:

Connect {
 name = "PHP.mIRCxNet.org.Services";
 host = "192.168.1.16";
 password = "asher";
 port = 4400;
 class = "Server";
 hub = "*";
};
after it inside to the folder PHP-P10-HEAD-db4efc5 and change a name config config.example.php to config.inc.php and inside to a folder bots look like this

and inside to some config there and write your channel to there and write in Terminal
Code:

php ./main.php
after this write to ModuleMan commands to inside or outsit bots
Code:

 ~loadmod Perl PerlGod.class.php
~loadmod Scale ScaleGod.class.php
~unloadmod PHPGod PHPGod.class.php
config.inc.php
Code:

<?php

//example configuration

//                         HOST     PORT
$uplink->setUplinkHost("192.168.1.14", 4400);

//                       NUMERIC    SERVER NAME   SERVER PASSWORD       SERVER DESCRIPTION
$uplink->setUplinkServer(5,         "PHP.mIRCxNet.org.Services", "asher", "mIRCxNet");

//    (optional)           REMOTE SERVER     REMOTE SERVER PASSWORT (the same password like above)
$uplink->setValidateServer("irc.mIRCxNet.org", "asher");

//    (optional)       HIS Name     HIS Description  HIS Usermask
$uplink->setHISOptions("*.mIRCxNet.org", "mIRCx IRC Network",    "user.mIRCxNet.org");
?>

you welcome use with my config and change
to download a config ircd.conf srvx.conf config.inc.php
http://www.f2h.co.il/7q5xtiky1xen
or you can download srvx ready only you need change your ip and host without configure
Modified 2014-Apr-20
http://www.f2h.co.il/jbxxj3bjtdb
thanks and credit  to NurPech and Watchcat about help with PHP P10 IRC Server
type install srvx
and Help configure u2.10.12.pk-WGN5 with ssl GnuTLS/OpenSSL

Code:

sudo iptables -A INPUT -p tcp --dport 7776 -j ACCEPT
sudo iptables-save > firewall.rules
 apt-get install libssl-dev or apt-get install libgnutls-dev
./configure --enable-openssl --enable-gnutls
cd lib
openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout ircd.pem -out ircd.pem
set in ircd.conf
Code:

#SSL Port
Port {
  secure = yes;
  port = 7776;
 };
more thing if you run System Freebsd and you try run srvx and you get error after you do make install Permission denied then change the configure with perfix

Code:

cd srvx
./configure --prefix=/home/asher/srvx --enable-modules=hostserv,memoserv,watchdog,sockcheck,helpserv --enable-debug
make && make install
cp srvx.conf.example srvx.conf
Good luck!!


Last edited by Chief on Fri Oct 13, 2017 5:57 pm; edited 23 times in total
avatar
Chief
Admin

מספר הודעות : 211
Join date : 2011-12-09
מיקום : mIRCx IRC Network

View user profile

Back to top Go down

ircd.conf fix by Chief

Post  Chief on Sun Jun 12, 2016 3:36 am

Code:

# ircd.conf - configuration file for ircd version ircu2.10
#
# Last Updated:  20, March 2002.
#
# Written by Niels <niels@undernet.org>, based on the original example.conf,
# server code and some real-life (ahem) experience.
#
# Updated and heavily modified by Braden <dbtem@yahoo.com>.
#
# Rewritten by A1kmm(Andrew Miller)<a1kmm@mware.virtualave.net> to support
# the new flex/bison configuration parser.
#
# Thanks and credits to: Run, Trillian, Cym, Morrissey, Chaos, Flynn,
#                        Xorath, WildThang, Mmmm, SeKs, Ghostwolf and
#                        all other Undernet IRC Admins and Operators,
#                        and programmers working on the Undernet ircd.
#
# This is an example of the configuration file used by the Undernet ircd.
#
# This document is based on a (fictious) server in Europe with a
# connection to the Undernet IRC network. It is primarily a leaf server,
# but if all the other hubs in Europe aren't in service, it can connect
# to one in the US by itself.
#
# The configuration format consists of a number of blocks in the format
#  BlockName { setting = number; setting2 = "string"; setting3 = yes; };
# Note that comments start from a #(hash) and go to the end of the line.
# Whitespace(space, tab, or carriage return/linefeed) are ignored and may
# be used to make the configuration file more readable.
#
# Please note that when ircd puts the configuration lines into practice,
# it parses them exactly the other way round than they are listed here.
# It uses the blocks in reverse order.
#
# This means that you should start your Client blocks with the
# "fall through", most vanilla one, and end with the most detailed.
#
# There is a difference between the "hostname" and the "server name"
# of the machine that the server is run on. For example, the host can
# have "veer.cs.vu.nl" as FQDN, and "Amsterdam.NL.EU.undernet.org" as
# server name.
# A "server mask" is something like "*.EU.UnderNet.org", which is
# matched by "Amsterdam.NL.EU.undernet.org" but not by
# "Manhattan.KS.US.undernet.org".
#
# Please do NOT just rename the example.conf to ircd.conf and expect
# it to work.


# [General]
#
# First some information about the server.
# General {
#        name = "servername";
#        vhost = "ipv4vhost";
#        vhost = "ipv6vhost";
#        description = "description";
#        numeric = numericnumber;
#        dns vhost = "ipv4vhost";
#        dns vhost = "ipv6vhost";
#        dns server = "ipaddress";
#        dns server = "ipaddress2";
# };
#
# If present, <virtual host> must contain a valid address in dotted
# quad or IPv6 numeric notation (127.0.0.1 or ::1).  The address MUST
# be the address of a physical interface on the host.  This address is
# used for outgoing connections if the Connect{} block does not
# override it.  See Port{} for listener virtual hosting.  If in doubt,
# leave it out -- or use "*", which has the same meaning as no vhost.
#
# You may specify both an IPv4 virtual host and an IPv6 virtual host,
# to indicate which address should be used for outbound connections
# of the respective type.
#
# Note that <server numeric> has to be unique on the network your server
# is running on, must be between 0 and 4095, and is not updated on a rehash.
#
# The two DNS lines allow you to specify the local IP address to use
# for DNS lookups ("dns vhost") and one or more DNS server addresses
# to use.  If the vhost is ambiguous for some reason, you may list
# IPV4 and/or IPV6 between the equals sign and the address string.
# The default DNS vhost is to let the operating system assign the
# address, and the default DNS servers are read from /etc/resolv.conf.
# In most cases, you do not need to specify either the dns vhost or
# the dns server.
General {
        name = "irc.mIRCxNet.ISRAEL";
        description = "mIRCx IRC network";
        vhost = "*";
        numeric = 1;
};

# [Admin]
#
# This sets information that can be retrieved with the /ADMIN command.
# It should contain at least an admin Email contact address.
Admin {
  # At most two location lines are allowed...
  Location = "irc.mIRCx.org";
  Location = "mIRCxNet IRC server";
  Contact = "Admin@walla.com";
};

# [Classes]
#
# All connections to the server are associated with a certain "connection
# class", be they incoming or outgoing (initiated by the server), be they
# clients or servers.
#
# Class {
#  name = "<class>";
#  pingfreq = time;
#  connectfreq = time;
#  maxlinks = number;
#  sendq = size;
#  usermode = "+i";
# };
#
# For connection classes used on server links, maxlinks should be set
# to either 0 (for hubs) or 1 (for leaf servers).  Client connection
# classes may use maxlinks between 0 and approximately 4,000,000,000.
# maxlinks = 0 means there is no limit on the number of connections
# using the class.
#
# <connect freq> applies only to servers, and specifies the frequency
# that the server tries to autoconnect. setting this to 0 will cause
# the server to attempt to connect repeatedly with no delay until the
# <maximum links> condition is satisfied. This is a Bad Thing(tm).
# Note that times can be specified as a number, or by giving something
# like: 1 minutes 20 seconds, or 1*60+20.
#
# Recommended server classes:
# All your server uplinks you are not a hub for.
Class {
 name = "Server";
 pingfreq = 1 minutes 30 seconds;
 connectfreq = 5 minutes;
 maxlinks = 1;
 sendq = 9000000;
};
# All the leaf servers you hub for.
Class {
 name = "LeafServer";
 pingfreq = 1 minutes 30 seconds;
 connectfreq = 5 minutes;
 maxlinks = 0;
 sendq = 9000000;
};

# Client {
#  username = "ident";
#  host = "host";
#  ip = "127.0.0.0/8";
#  password = "password";
#  class = "classname";
#  maxlinks = 3;
# };
#
# Everything in a Client block is optional.  If a username mask is
# given, it must match the client's username from the IDENT protocol.
# If a host mask is given, the client's hostname must resolve and
# match the host mask.  If a CIDR-style IP mask is given, the client
# must have an IP matching that range.  If maxlinks is given, it is
# limits the number of matching clients allowed from a particular IP
# address.
#
# Take the following class blocks only as a guide.
Class {
 name = "Local";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 100;
 usermode = "+iw";
};
Class {
 name = "America";
 pingfreq = 1 minutes 30 seconds;
 sendq = 80000;
 maxlinks = 5;
};
Class {
 name = "Other";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 400;
};
Class {
 name = "Opers";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 10;

 # For connection classes intended for operator use, you can specify
 # privileges used when the Operator block (see below) names this
 # class.  The local (aka globally_opered) privilege MUST be defined
 # by either the Class or Operator block.  The following privileges
 # exist:
 #
 # local (or propagate, with the opposite sense)
 # whox  (log oper's use of x flag with /WHO)
 # display (oper status visible to lusers)
 # chan_limit (can join local channels when in
 #                              MAXCHANNELSPERUSER channels)
 # mode_lchan (can /MODE &channel without chanops)
 # deop_lchan (cannot be deopped or kicked on local channels)
 # walk_lchan (can forcibly /JOIN &channel OVERRIDE)
 # show_invis (see +i users in /WHO x)
 # show_all_invis (see +i users in /WHO x)
 # unlimit_query (show more results from /WHO)
 # local_kill (can kill clients on this server)
 # rehash (can use /REHASH)
 # restart (can use /RESTART)
 # die (can use /DIE)
 # local_jupe (not used)
 # set (can use /SET)
 # local_gline (can set a G-line for this server only)
 # local_badchan (can set a Gchan for this server only)
 # see_chan (can see users in +s channels in /WHO)
 # list_chan (can see +s channels with /LIST S, or modes with /LIST M)
 # wide_gline (can use ! to force a wide G-line)
 # see_opers (can see opers without DISPLAY privilege)
 # local_opmode (can use OPMODE/CLEARMODE on local channels)
 # force_local_opmode (can use OPMODE/CLEARMODE on quarantined local channels)
 # kill (can kill clients on other servers)
 # gline (can issue G-lines to other servers)
 # jupe_server (not used)
 # opmode (can use /OPMODE)
 # badchan (can issue Gchans to other servers)
 # force_opmode (can use OPMODE/CLEARMODE on quarantined global channels)
 # apass_opmode (can use OPMODE/CLEARMODE on +A and +U keys)
 # umode_nochan (can set usermode +n to hide channels)
 # umode_noidle (can set usermode +I to hide idle time)
 # umode_chserv (can set umode +k)
 # umode_xtraop (can set umode +X)
 # umode_netserv (can set umode +S)
 # umode_overridecc (Allow to set umode +c which overrides cmodes +cC)
 # see_idletime (can see idletime of local +I users)
 # hide_idletime (hides idle time also from users with see_idletime, unless they are on the same server and have this priv too)
 # more_flood (has less throttling)
 # unlimited_flood (no more excess floods)
 # unlimited_targets (allow unlimited target changes)
 # noamsg_override (can override cmode +M)
 #
 # For global opers (with propagate = yes or local = no), the default
 # is to grant all of the above privileges EXCEPT walk_lchan,
 # umode_chserv, umode_xtraop, umode_service,
 # unlimit_query, set, badchan, local_badchan and apass_opmode.
 # For local opers, the default is to grant ONLY the following
 # privileges:
 #  chan_limit, mode_lchan, show_invis, show_all_invis, local_kill,
 #  rehash, local_gline, local_jupe, local_opmode, whox, display,
 #  force_local_opmode, see_idletime, hide_channels, hide_idletime,
 #  more_flood
 # Any privileges listed in a Class block override the defaults.

 local = no;
};
# [Client]
#
# To allow clients to connect, they need authorization. This can be
# done based on hostmask, address mask, and/or with a password.
# With intelligent use of classes and the maxconnections field in the
# Client blocks, you can let in a specific domain, but get rid of all other
# domains in the same toplevel, thus setting up some sort of "reverse
# Kill block".
# Client {
#  host = "user@host";
#  ip = "user@ip";
#  password = "password";
#  class = "classname";
# };
#
# Technical description (for examples, see below):
# For every connecting client, the IP address is known.  A reverse lookup
# on this IP-number is done to get the (/all) hostname(s).
# Each hostname that belongs to this IP-number is matched to <hostmask>,
# and the Client {} is used when any matches; the client will then show
# with this particular hostname.  If none of the hostnames match, then
# the IP-number is matched against the <IP mask ...> field, if this matches
# then the Client{} is used nevertheless and the client will show with the
# first (main) hostname if any; if the IP-number did not resolve then the
# client will show with the dot notation of the IP-number.
# There is a special case for the UNIX domain sockets and localhost connections
# though; in this case the <IP mask ...> field is compared with the
# name of the server (thus not with any IP-number representation). The name
# of the server is the one returned in the numeric 002 reply, for example:
# 002 Your host is 2.undernet.org[jolan.ppro], running version ...
# Then the "jolan.ppro" is the name used for matching.
# Therefore, unix domain sockets, and connections to localhost would
# match this block:
# host = "*@jolan.ppro";
#
# This is the "fallback" entry. All .uk, .nl, and all unresolved are
# in these two lines.
# By using two different lines, multiple connections from a single IP
# are only allowed from hostnames which have both valid forward and
# reverse DNS mappings.
Client
{
 class = "Other";
 ip = "*@*";
 maxlinks = 2;
};


Client
{
 class = "Other";
 host = "*@*";
 maxlinks = 2;
};
# If you don't want unresolved dudes to be able to connect to your
# server, do not specify any "ip = " settings.
#
# Here, take care of all American ISPs.
Client
{
 host = "*@*.com";
 class = "America";
 maxlinks = 2;
};

Client
{
 host = "*@*.net";
 class = "America";
 maxlinks = 2;
};
# Now list all the .com / .net domains that you wish to have access...
# actually it's less work to do it this way than to do it the other
# way around - K-lining every single ISP in the US.
# I wish people in Holland just got a .nl domain, and not try to be
# cool and use .com...
Client { host = "*@*.wirehub.net"; class = "Other"; maxlinks=2; };
Client { host = "*@*.planete.net"; class = "Other"; maxlinks=2; };
Client { host = "*@*.ivg.com"; class = "Other"; maxlinks=2; };
Client { host = "*@*.ib.com"; class = "Other"; maxlinks=2; };
Client { host = "*@*.ibm.net"; class = "Other"; maxlinks=2; };
Client { host = "*@*.hydro.com"; class = "Other"; maxlinks=2; };
Client { host = "*@*.nl.net"; class = "Local"; maxlinks=2; };

# You can request a more complete listing, including the "list of standard
# Kill blocks" from the Routing Committee; it will also be sent to you if
# you apply for a server and get accepted.
#
# Ourselves - this makes sure that we can get in, no matter how full
# the server is (hopefully).
Client
{
 host = "*@*.london.ac.uk";
 ip = "*@193.37.*";
 class = "Local";
 # A maxlinks of over 5 will automatically be glined by euworld on Undernet
 maxlinks = 5;
};

# You can put an expression in the maxlinks value, which will make ircd
# only accept a client when the total number of connections to the network
# from the same IP number doesn't exceed this number.
# The following example would accept at most one connection per IP number
# from "*.swipnet.se" and at most two connections from dial up accounts
# that have "dial??.*" as host mask:
# Client {
#  host = "*@*.swipnet.se";
#  maxlinks = 1;
#  class = "Other";
# };
# Client {
#  host = "*@dial??.*";
#  maxlinks = 2;
#  class = "Other";
# };
#
# If you are not worried about who connects, this line will allow everyone
# to connect.
Client {
 host = "*@*";
 ip = "*@*";
 class = "Other";
 maxlinks = 2;
};


# [motd]
#
# It is possible to show a different Message of the Day to a connecting
# client depending on its origin.
# motd {
#  # Note: host can also be a classname.
#  host = "Other";
#  file = "path/to/motd/file";
# };
#
# More than one host = "mask"; entry may be present in one block; this
# has the same effect as one Motd block for each host entry, but makes
# it easier to update the messages's filename.
#
# DPATH/net_com.motd contains a special MOTD where users are encouraged
# to register their domains and get their own client{} lines if they're in
# Europe, or move to US.UnderNet.org if they're in the USA.
motd {
 host = "*.net";
 file = "net_com.motd";
};
motd {
 host = "*.com";
 file = "net_com.motd";
};
motd {
 host = "America";
 file = "net_com.motd";
};

# A different MOTD for ourselves, where we point out that the helpdesk
# better not be bothered with questions regarding irc...
motd {
 host = "*.london.ac.uk";
 file = "london.motd";
};

# [UWorld]
#
# One of the many nice features of Undernet is "Uworld", a program
# connected to the net as a server. This allows it to broadcast any mode
# change, thus allowing opers to, for example, "unlock" a channel that
# has been taken over.
# There is only one slight problem: the TimeStamp protocol prevents this.
# So there is a configuration option to allow them anyway from a certain
# server.
# UWorld {
#  # The servername or wildcard mask for it that this applies to.
#  name = "relservername";
# };
#
# You may have have more than one name listed in each block.
#
# Note: (1) These lines are agreed on by every server admin on Undernet;
# (2) These lines must be the same on every single server, or results
# will be disasterous; (3) This is a useful feature, not something that
# is a liability and abused regularly (well... :-)
# If you're on Undernet, you MUST have these lines. I cannnot stress
# this enough.  If all of the servers don't have the same lines, the
# servers will try to undo the mode hacks that Uworld does.  Make SURE that
# all of the servers have the EXACT same UWorld blocks.
#
# If your server starts on a bit larger network, you'll probably get
# assigned one or two uplinks to which your server can connect.
# If your uplink(s) also connect to other servers than yours (which is
# probable), you need to define your uplink as being allowed to "hub".
# See the Connect block documentation for details on how to do that.

UWorld {
 name = "uworld.eu.undernet.org";
 name = "uworld2.undernet.org";
 name = "uworld.undernet.org";
 name = "channels.undernet.org";
 name = "channels2.undernet.org";
 name = "channels3.undernet.org";
 name = "channels4.undernet.org";
 name = "channels5.undernet.org";
 name = "channels6.undernet.org";
};

# As of ircu2.10.05 is it possible to Jupe nicks. As per CFV-0095 and
# CFV-0255, the following nicks must be juped, it is not allowed to
# jupe others as well.
Jupe {
 nick = "A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,{,|,},~,-,_,`";
 nick = "EuWorld,UWorld,UWorld2";
 nick = "login,undernet,protocol,pass,newpass,org";
 nick = "StatServ,NoteServ";
 nick = "ChanSvr,ChanSaver,ChanServ";
 nick = "NickSvr,NickSaver,NickServ";
 nick = "LPT1,LPT2,COM1,COM2,COM3,COM4,AUX";
};

# [Kill]
#
# While running your server, you will most probably encounter individuals
# or groups of persons that you do not wish to have access to your server.
#
# For this purpose, the ircd understands "kill blocks". These are also
# known as K-lines, by virtue of the former config file format.
# Kill
# {
#  host = "user@host";
#  reason = "The reason the user will see";
# };
# It is possible to ban on the basis of the real name.
# It is also possible to use a file as comment for the ban, using
# file = "file":
# Kill
# {
#  realname = "realnametoban";
#  file = "path/to/file/with/reason/to/show";
# };
#
#
# The default reason is: "You are banned from this server"
# Note that Kill blocks are local to the server; if you ban a person or a
# whole domain from your server, they can get on IRC via any other server
# that doesn't have them Killed (yet).
#
# With a simple comment, using quotes:
#Kill { host = "*.au"; reason = "Please use a nearer server"; };
#Kill { host = "*.edu"; reason = "Please use a nearer server"; };

# You can also kill based on username.
#Kill { username = "sub7"; realname = "s*7*"; reason = "You are infected with a Trojan"; };

# The file can contain for example, a reason, a link to the
# server rules and a contact address.  Note the combination
# of username and host in the host field.
#Kill
#{
# host = "*luser@unixbox.flooder.co.uk";
# file = "kline/youflooded.txt";
#};

# IP-based kill lines apply to all hosts, even if an IP address has a
# properly resolving host name.
#Kill
#{
# host = "192.168.*";
# file = "klines/martians";
#};
#
# The realname field lets you ban by realname...
#Kill
#{
# realname = "*sub7*";
# reason = "You are infected with a Trojan";
#};

# [SSL]
#
#SSL {
# # There need to be the private key AND the public key INSIDE the certificate file
# cert = "";
# # Optional CA certificate for non-self-signed certificates
# cacert = "";
#};

SSL {
 cert = "ircd.pem";
};

# [Connect]
#
# You probably want your server connected to other servers, so your users
# have other users to chat with.
# IRC servers connect to other servers forming a network with a star or
# tree topology. Loops are not allowed.
# In this network, two servers can be distinguished: "hub" and "leaf"
# servers. Leaf servers connect to hubs; hubs connect to each other.
# Of course, many servers can't be directly classified in one of these
# categories. Both a fixed and a rule-based decision making system for
# server links is provided for ircd to decide what links to allow, what
# to let humans do themselves, and what links to (forcefully) disallow.
#
# The Connect blocks
# define what servers the server connect to, and which servers are
# allowed to connect.
# Connect {
#  name = "servername";
#  host = "hostnameORip";
#  vhost = "localIP";
#  password = "passwd";
#  port = portno;
#  class = "classname";
#  maxhops = 2;
#  hub = "*.eu.undernet.org";
#  autoconnect = no;
# };
#
# The "port" field defines the default port the server tries to connect
# to if an operator uses /connect without specifying a port. This is also
# the port used when the server attempts to auto-connect to the remote
# server. (See Class blocks for more informationa about auto-connects).
# You may tell ircu to not automatically connect to a server by adding
# "autoconnect = no;"; the default is to autoconnect.
#
# If the vhost field is present, the server will use that IP as the
# local end of connections that it initiates to this server.  This
# overrides the vhost value from the General block.
#
# The maxhops field causes an SQUIT if a hub tries to introduce
# servers farther away than that; the element 'leaf;' is an alias for
# 'maxhops = 0;'.  The hub field limits the names of servers that may
# be introduced by a hub; the element 'hub;' is an alias for
# 'hub = "*";'.
#
# Our primary uplink.
Connect {
 name = "srvx.mIRCxNet.ISRAEL.Services";
 host = "192.168.1.14";
 password = "asher";
 port = 4400;
 class = "Server";
 hub = "*";
};

Connect {
 name = "PHP.mIRCxNet.ISRAEL.Services";
 host = "192.168.1.14";
 password = "asher";
 port = 4400;
 class = "Server";
 hub = "*";
};
# [crule]
#
# For an advanced, real-time rule-based routing decision making system
# you can use crule blocks. For more information, see doc/readme.crules.
# If more than one server mask is present in a single crule, the rule
# applies to all servers.
# CRULE
# {
#  server = "servermask";
#  rule = "connectrule";
#  # Setting all to yes makes the rule always apply. Otherwise it only
#  # applies to autoconnects.
#  all = yes;
# };
CRULE
{
 server = "*.US.UnderNet.org";
 rule = "connected(*.US.UnderNet.org)";
};
CRULE
{
 server = "*.EU.UnderNet.org";
 rule = "connected(Amsterdam.NL.EU.*)";
};

# The following block is recommended for leaf servers:
CRULE
{
 server = "*";
 rule = "directcon(*)";
};

# [Operator]
#
# Inevitably, you have reached the part about "IRC Operators". Oper status
# grants some special privileges to a user, like the power to make the
# server break or (try to) establish a connection with another server,
# and to "kill" users off IRC.
# I can write many pages about this; I will restrict myself to saying that
# if you want to appoint somebody as IRC Operator on your server, that
# person should be aware of his/her responsibilities, and that you, being
# the admin, will be held accountable for their actions.
#
# There are two sorts of IRC Operators: "local" and "global". Local opers
# can squit, connect and kill - but only locally: their +o user mode
# is not not passed along to other servers. On Undernet, this prevents
# them from using Uworld as well.
#
# More than one host = "mask"; entry may be present in one block; this
# has the same effect as one Operator block for each host entry, but
# makes it easier to update operator nicks, passwords, classes, and
# privileges.
#
# Operator {
#  host = "host/IP mask";
#  name = "opername";
#  password = "encryptedpass";
#  class = "classname";
#  # You can also set any operator privilege; see the Class block
#  # documentation for details.  A privilege defined for a single
#  # Operator will override the privilege settings for the Class
#  # and the default setting.
# };
#
# By default, the password is hashed using the system's native crypt()
# function.  Other password mechanisms are available; the umkpasswd
# utility from the ircd directory can hash passwords using those
# mechanisms.  If you use a password format that is NOT generated by
# umkpasswd, ircu will not recognize the oper's password.
#
# All privileges are shown with their default values; if you wish to
# override defaults, you should set only those privileges for the
# operator.  Listing defaulted privileges just makes things harder to
# find.
Operator {
 local = no;
 host = "*@*.cs.vu.nl";
 password = "$PLAIN$leetmoo";
 name = "Niels";
 class = "Local";
};
Operator {
 host = "*@*";
 password = "$PLAIN$leetmo";
 name = "darksis";
 class = "Opers";
local = no;
  whox  = yes;
  display = yes;
  chan_limit = yes;                       
  mode_lchan = yes;
  deop_lchan = yes;
  walk_lchan = yes;
  show_invis = yes;
  show_all_invis = yes;
  unlimit_query = yes;
  local_kill = yes;
  rehash = yes;
  restart = yes;
  die = yes;
  local_jupe = yes;
  set = yes;
  local_gline = yes;
  local_badchan = yes;
  see_chan = yes;
  list_chan = yes;
  wide_gline = yes;
  see_opers = yes;
  kill = yes;
  gline = yes;
  opmode = yes;
  badchan = yes;
  see_idletime = yes;
  hide_idletime = yes;
  more_flood = no;
  unlimited_flood = no;
  unlimited_targets = yes;
  noamsg_override = yes;
 chan_limit = yes;
 mode_lchan = yes;
 show_invis = yes;
 show_all_invis = yes;
local_kill = yes;
 see_idletime = yes;
 hide_idletime = yes;
  more_flood = no;
  umode_noidle = yes;
  umode_chserv = yes;
  umode_xtraop = yes;
  umode_netserv = yes;
  umode_overridecc = yes;
  local_opmode = yes;
};

# Note that the <connection class> is optional, but leaving it away
# puts the opers in class "default", which usually only accepts one
# connection at a time.  If you want users to Oper up more then once per
# block, then use a connection class that allows more then one connection,
# for example (using class Local as in the example above):
#
# Once you OPER your connection class changes no matter where you are or
# your previous connection classes.  If the defined connection class is
# Local for the operator block, then your new connection class is Local.

# [Port]
# When your server gets more full, you will notice delays when trying to
# connect to your server's primary listening port. It is possible via the
# Port lines to specify additional ports for the ircd to listen to.
# De facto ports are: 6667 - standard; 6660-6669 - additional client
# ports;
# Undernet uses 4400 for server listener ports.
# These are just hints, they are in no way official IANA or IETF policies.
# IANA says we should use port 194, but that requires us to run as root,
# so we don't do that.
#
#
# Port {
#  port = [ipv4] [ipv6] number;
#  mask = "ipmask";
#  # Use this to control the interface you bind to.
#  vhost = [ipv4] [ipv6] "virtualhostip";
#  # You can specify both virtual host and port number in one entry.
#  vhost = [ipv4] [ipv6] "virtualhostip" number;
#  # Setting to yes makes this server only.
#  server = yes;
#  # Setting to yes makes the port "hidden" from stats.
#  hidden = yes;
#  # Setting to yes makes the port to handle incoming connection as SSL connections
#  secure = no;
# };
#
# The port and vhost lines allow you to specify one or both of "ipv4"
# and "ipv6" as address families to use for the port.  The default is
# to listen on both IPv4 and IPv6.
#
# The mask setting allows you to specify a range of IP addresses that
# you will allow connections from. This should only contain IP addresses
# and '*' if used. This field only uses IP addresses. This does not use
# DNS in any way so you can't use it to allow *.nl or *.uk. Attempting
# to specify anything other than numbers, dots and stars [0-9.*] will result
# in the port allowing connections from anyone.
#
# The interface setting allows multiply homed hosts to specify which
# interface to use on a port by port basis, if an interface is not specified
# the default interface will be used. The interface MUST be the complete
# IP address for a real hardware interface on the machine running ircd.
# If you want to use virtual hosting *YOU* *MUST* *USE* *THIS* otherwise it
# WILL bind to all interfaces - not what most people seem to expect.
#
Port {
 server = yes;
 port = 4400;
};

# This is an IPv4-only Server port that is Hidden
#Port {
# server = yes;
# hidden = yes;
# port = ipv4 4401;
#};

# The following are normal client ports
Port { port = 6667; };
#Port { port = 6668; };
#Port {
# # This only accepts clients with IPs like 192.168.*.
# mask = "192.168.*";
# port = 6666;
#};

#SSL Port
#Port {
# port = 6697;
# secure = yes;
#};

# This is a hidden client port, listening on 168.8.21.107.
Port {
 vhost = "192.168.1.14";
 hidden = yes;
 port = 6667;
};

# More than one vhost may be present in a single Port block; in this case,
# we recommend listing the port number on the vhost line for clarity.
#Port {
# vhost = "172.16.0.1" 6667;
# vhost = "172.16.3.1" 6668;
# hidden = no;
#};

# Quarantine blocks disallow operators from using OPMODE and CLEARMODE
# on certain channels.  Opers with the force_opmode (for local
# channels, force_local_opmode) privilege may override the quarantine
# by prefixing the channel name with an exclamation point ('!').
# Wildcards are NOT supported; the channel name must match exactly.
Quarantine {
  "#shells" = "Thou shalt not support the h4><0rz";
  "&kiddies" = "They can take care of themselves";
};

# This is a server-implemented alias to send a message to a service.
# The string after Pseudo is the command name; the name entry inside
# is the service name, used for error messages.  More than one nick
# entry can be provided; the last one listed has highest priority.
# If the server behind the '@' is not valid or if the nick is not
# on this server, the servername is interpreted as an accountname
# and the nick must have this accountname set and +S as umode to get
# the message relayed.
Pseudo "CHANSERV" {
 name = "X";
 nick = "X@channels.undernet.org";
};

# You can also prepend text before the user's message.
Pseudo "LOGIN" {
 name = "X";
 prepend = "LOGIN ";
 nick = "X@channels.undernet.org";
};
Pseudo "NickServ" {
 name = "AUTH";
 nick = "NickServ@srvx.mIRCxNet.ISRAEL.Services";
};

Pseudo "AUTH" {
name = "NickServ";
nick = "AuthServ@srvx.mIRCxNet.ISRAEL.Services";
prepend = "AUTH ";
};
# You can ask a separate server whether to allow users to connect.
# Uncomment this ONLY if you have an iauth helper program.
# If required is set to yes, then all clients are rejected when
# the iauth helper program could not be started/queried/timed-out.
# IAuth {
#  program = "../path/to/iauth" "-n" "options go here";
#  required = no;
# };

# [features]
# IRC servers have a large number of options and features.  Most of these
# are set at compile time through the use of #define's--see "make config"
# for more details--but we are working to move many of these into the
# configuration file.  Features let you configure these at runtime.
# You only need one feature block in which you use
# "featurename" = "value1" , "value2", ..., "valuen-1", "valuen";
#
# The entire purpose of F:lines are so that you do not have to recompile
# the IRCD everytime you want to change a feature.  All of the features
# are listed below, and at the bottom is how to set logging.
#
# A Special Thanks to Kev for writing the documentation of F:lines.  It can
# be found at doc/readme.features and the logging documentation can be
# found at doc/readme.log.  The defaults used by the Undernet network are
# below.
#
features
{
# These log features are the only way to get certain error messages
# (such as when the server dies from being out of memory).  For more
# explanation of how they work, see doc/readme.log.
 "LOG" = "SYSTEM" "FILE" "ircd.log";
 "LOG" = "SYSTEM" "LEVEL" "CRIT";
#  "DOMAINNAME"="<obtained from /etc/resolv.conf by ./configure>";
#  "RELIABLE_CLOCK"="FALSE";
#  "BUFFERPOOL"="27000000";
#  "HAS_FERGUSON_FLUSHER"="FALSE";
#  "CLIENT_FLOOD"="1024";
#  "SERVER_PORT"="4400";
#  "NODEFAULTMOTD"="TRUE";
#  "MOTD_BANNER"="TRUE";
#  "KILL_IPMISMATCH"="FALSE";
#  "IDLE_FROM_MSG"="TRUE";
  "HUB"="TRUE";
#  "WALLOPS_OPER_ONLY"="FALSE";
#  "NODNS"="FALSE";
#  "RANDOM_SEED"="<you should set one explicitly>";
#  "DEFAULT_LIST_PARAM"="TRUE";
#  "NICKNAMEHISTORYLENGTH"="800";
  "NETWORK"="mIRCxNet";
  "HOST_HIDING"="TRUE";
  "HIDDEN_HOST"="users.mIRCxNet.ISRAEL";
#  "HIDDEN_IP"="127.0.0.1";
#  "KILLCHASETIMELIMIT"="30";
#  "MAXCHANNELSPERUSER"="10";
#  "NICKLEN" = "12";
#  "AVBANLEN"="40";
#  "MAXBANS"="30";
#  "MAXSILES"="15";
#  "HANGONGOODLINK"="300";
# "HANGONRETRYDELAY" = "10";
# "CONNECTTIMEOUT" = "90";
# "MAXIMUM_LINKS" = "1";
# "PINGFREQUENCY" = "120";
# "CONNECTFREQUENCY" = "600";
# "DEFAULTMAXSENDQLENGTH" = "40000";
# "GLINEMAXUSERCOUNT" = "20";
# "MPATH" = "ircd.motd";
# "RPATH" = "remote.motd";
# "PPATH" = "ircd.pid";
# "TOS_SERVER" = "0x08";
# "TOS_CLIENT" = "0x08";
# "POLLS_PER_LOOP" = "200";
# "IRCD_RES_TIMEOUT" = "4";
# "IRCD_RES_RETRIES" = "2";
# "AUTH_TIMEOUT" = "9";
# "IPCHECK_CLONE_LIMIT" = "4";
# "IPCHECK_CLONE_PERIOD" = "40";
# "IPCHECK_CLONE_DELAY" = "600";
# "CHANNELLEN" = "200";
 "CONFIG_OPERCMDS" = "TRUE";
# "OPLEVELS" = "TRUE";
# "ZANNELS" = "TRUE";
# "LOCAL_CHANNELS" = "TRUE";
# "ANNOUNCE_INVITES" = "FALSE";
#  These were introduced by Undernet CFV-165 to add "Head-In-Sand" (HIS)
#  behavior to hide most network topology from users.
#  "HIS_SNOTICES" = "TRUE";
#  "HIS_SNOTICES_OPER_ONLY" = "TRUE";
#  "HIS_DEBUG_OPER_ONLY" = "TRUE";
#  "HIS_WALLOPS" = "TRUE";
#  "HIS_MAP" = "TRUE";
#  "HIS_LINKS" = "TRUE";
#  "HIS_TRACE" = "TRUE";
#  "HIS_STATS_a" = "TRUE";
#  "HIS_STATS_c" = "TRUE";
#  "HIS_STATS_d" = "TRUE";
#  "HIS_STATS_e" = "TRUE";
#  "HIS_STATS_f" = "TRUE";
#  "HIS_STATS_g" = "TRUE";
#  "HIS_STATS_i" = "TRUE";
#  "HIS_STATS_j" = "TRUE";
#  "HIS_STATS_J" = "TRUE";
#  "HIS_STATS_k" = "TRUE";
#  "HIS_STATS_l" = "TRUE";
#  "HIS_STATS_L" = "TRUE";
#  "HIS_STATS_m" = "TRUE";
#  "HIS_STATS_M" = "TRUE";
#  "HIS_STATS_o" = "TRUE";
#  "HIS_STATS_p" = "TRUE";
#  "HIS_STATS_q" = "TRUE";
#  "HIS_STATS_r" = "TRUE";
#  "HIS_STATS_R" = "TRUE";
#  "HIS_STATS_t" = "TRUE";
#  "HIS_STATS_T" = "TRUE";
#  "HIS_STATS_u" = "FALSE";
#  "HIS_STATS_U" = "TRUE";
#  "HIS_STATS_v" = "TRUE";
#  "HIS_STATS_w" = "TRUE";
#  "HIS_STATS_x" = "TRUE";
#  "HIS_STATS_y" = "TRUE";
#  "HIS_STATS_z" = "TRUE";
#  "HIS_STATS_IAUTH" = "TRUE";
#  "HIS_WHOIS_SERVERNAME" = "TRUE";
#  "HIS_WHOIS_IDLETIME" = "TRUE";
#  "HIS_WHOIS_LOCALCHAN" = "TRUE";
#  "HIS_WHO_SERVERNAME" = "TRUE";
#  "HIS_WHO_HOPCOUNT" = "TRUE";
#  "HIS_MODEWHO" = "TRUE";
#  "HIS_BANWHO" = "TRUE";
#  "HIS_KILLWHO" = "TRUE";
#  "HIS_REWRITE" = "TRUE";
#  "HIS_REMOTE" = "TRUE";
#  "HIS_NETSPLIT" = "TRUE";
#  "ERR_CHANNELISFULL" = "Cannot join channel, channel is full (+l)";
#  "ERR_INVITEONLYCHAN" = "Cannot join channel, you must be invited (+i)";
#  "ERR_BANNEDFROMCHAN" = "Cannot join channel, you are banned (+b)";
#  "ERR_BADCHANNELKEY" = "Cannot join channel, you need the correct key (+k)";
#  "ERR_NEEDREGGEDNICK" = "Cannot join channel, you must be authed to join (+r)";
#  "ERR_JOINACCESS" = "Cannot join channel, you don't have enough ChanServ access (+a)";
  "HIS_SERVERNAME" = "*.mIRCxNet.ISRAEL";
  "HIS_SERVERINFO" = "The mIRCxnet ISRAEL Underworld";
  "HIS_URLSERVERS" = "http://www.mIRCxnet.ISRAEL/servers.php";
#  "LOC_ENABLE" = "FALSE";
#  "LOC_TARGET" = "somenick";
#  "CHMODE_A_ENABLE" = "TRUE";
#  "CHMODE_A_TARGET" = "ChanServ";
#  "CHMODE_A_NOSET" = "TRUE"; # Mode is not settable by normal users (only services chan set it)
#  "CHMODE_F_ENABLE" = "TRUE";
#  "UNKNOWN_CMD_ENABLE" = "TRUE";
#  "UNKNOWN_CMD_TARGET" = "OpServ";
#  "NOAMSG_TIME" = "0";
#  "NOAMSG_NUM" = "1";
};
# Well, you have now reached the end of this sample configuration
# file. If you have any questions, feel free to mail
# <coder-com@undernet.org>.  If you are interested in linking your
# server to the Undernet IRC network visit
# http://www.routing-com.undernet.org/, and if there are any
# problems then contact <routing-com@undernet.org> asking for
# information. Upgrades of the Undernet ircd can be found on
# http://coder-com.undernet.org/.
#
# For the rest:  Good Luck!
#
#  -- Niels.
avatar
Chief
Admin

מספר הודעות : 211
Join date : 2011-12-09
מיקום : mIRCx IRC Network

View user profile

Back to top Go down

srvx.conf fix by Chief

Post  Chief on Sun Jun 12, 2016 4:33 pm

Code:

// services configuration file (example)
/* It allows two kinds of comments.  Whitespaces between tokens are
 * ignored.  All strings (even if they're just numbers) MUST be
 * enclosed in double quotes.  There must be a semicolon after every
 * key/value pair.
 */

// The "uplinks" section describes what servers we can possibly link
// to.  Each subsection describes one server.
"uplinks" {
    "private-network" {
        // IP address and port the server listens on
        "address"        "192.168.1.14";
        "port"          "4400";
        // What password should we send when we connect?
        "password"      "asher";
        // What password should we require our peer to send?
        // (If it is blank, we do not require a specific password.)
        "their_password" "asher";
        "enabled"        "1";
        // How many times should we try to connect before giving up?
        "max_tries"      "3";
        // What IP should we bind to?
        // If you do not specify bind_address, the default is used.
        // "bind_address"  "192.168.0.10"; // use this ip to link
    };

    /* unused-uplink is just an example to show you how you can
    * define more than one uplink (and how you can disable one or
    * more of them.) */
    "unused-uplink" {
        "address"        "10.0.0.4";
        "port"          "6660";
        "password"      "passwordtoconnect";
        "their_password" "passwordtorequire";
        // If "enabled" is 0, we will not try to use this uplink.
        "enabled"        "0";
        "max_tries"      "3";
    };
};

// The "services" section configures the services that make up srvx.
"services" {
    "nickserv" {
        "nick" "AuthServ";
        // What user modes do you want this service to have? Please keep in
        // mind which ircd software you are using here, and that all of the
        // services need to be at least +o.
        "modes" "+iok";
        // If you want to by have *@* as the default hostmask for all
        // new accounts, set default_hostmask.  This is discouraged
        // for security reasons.
        "default_hostmask" "1";
        // do we warn users when someone new auths to their account?
        "warn_clone_auth" "1";
        // what is the default maxlogins value?
        "default_maxlogins" "2";
        // what is the absolute maxlogins value?
        "hard_maxlogins" "10";
        // Which mode should we use for account timestamps?
        "account_timestamp_mode" "ignore";
        // This names a file that contains easily guessed passwords.
        // It always contains "password", "<password>" and the user's
        // account name.
        "dict_file" "/usr/share/dict/words";
        // Minimum number of various types of characters permitted in
        // a password.
        "password_min_length" "4";
        "password_min_digits" "1";
        "password_min_upper" "0";
        "password_min_lower" "0";
        // What should valid account and nicks look like?
        // If valid_nick_regex is omitted, valid_account_regex is used
        // for both nicks and accounts.
        // These look funny because "[][-]" is the only way to write the
        // character class containing the characters ']', '[' and '-'.
        "valid_account_regex" "^[][_a-z^`'{}|-][][_a-z0-9^`'{}|-]*$";
        "valid_nick_regex" "^[-_a-z][-_a-z0-9]*$";

        // Should nick ownership be disabled?
        "disable_nicks" "0";
        // One account may only own this many nicks.
        "nicks_per_account" "4";
        // Send a warning when someone uses a registered nick?
        "warn_nick_owned" "0";
        // What to do when someone uses the NickServ "reclaim" command?
        // This can be one of "none", "warn", "svsnick", or "kill", but
        // stock ircu does not support svsnick -- you need Bahamut or a
        // patch for ircu.  no, don't ask srvx developers for the patch.
        "reclaim_action" "none";
        // What (else) to do when someone uses a registered nick?
        // This can be anything "reclaim_action" can be, but it makes
        // more sense to use the "warn_nick_owned" instead of "warn".
        "auto_reclaim_action" "none";
        // How long to wait before doing the auto_reclaim_action?
        // This is ignored if "auto_reclaim_action" is "none".
        "auto_reclaim_delay" "0";

        // access control for who can change account flags
        "flag_levels" {
            "g" "800";
            "lc_h" "800"; // specifically lower case h
            "uc_H" "800"; // .. and upper case H
            "S" "999";
            "b" "800";
            "I" "800";
        };
        // and for who can change epithets for staff
        "set_epithet_level" "800";
        // what opserv access level do you need to set somebody else's level?
        "modoper_level" "850";
        // what opserv access level do you need to set somebody's staff level?
        "modstaff_level" "750";

        // how often should accounts be expired?
        "account_expire_freq" "1d";
        // how long until an account with access to any channel(s) expires?
        "account_expire_delay" "35d";
        // how long until an account with no access to any channels expires?
        "nochan_account_expire_delay" "14d";
        // how long must an account be inactive so it can be ounregistered without force?
        "ounregister_inactive" "1M";
        // which flags on an account require the ounregister to be used with force?
        "ounregister_flags" "ShgsfnHbuI";
        /* "require_qualified" has been removed. It is now
        * integrated into the modcmd command authorization
        * and dispatch mechanism.  "/msg OpServ help modcmd"
        * for details.
        */
        // If somebody keeps guessing passwords incorrectly, do we gag them?
        "autogag_enabled" "1";
        "autogag_duration" "30m";
        "auth_policer" {
            "size" "5";
            "drain-rate" "0.05";
        };
        // How to integrate with email cookies?
        "email_enabled" "0"; // if set, /mail/enable MUST be set too
        "email_required" "0"; // ignored unless email_enabled is non-zero
        "cookie_timeout" "1d"; // how long before we expire cookies?
        "accounts_per_email" "1"; // you may want to increase this; or not
        "email_search_level" "600"; // minimum OpServ level to search based on email address
        "email_visible_level" "800"; // minimum OpServ level to see somebody's email address
    };

    "opserv" {
        "nick" "OpServ";
        // What user modes do you want this service to have? Please keep in
        // mind which ircd software you are using here, and that all of the
        // services need to be at least +o.
        "modes" "+ioknHIX";
        // should use of this service be limited to global opers?
        "privileged" "1";
        // fullname for service
        "description" "Oper Service Bot";
        // hostname for service; only used if "description" is also set
        "hostname" "srvx.mIRCxNet.ISRAEL.Services";
        // what channel should opserv send debug output to?
        "debug_channel" "#opserv";
        "debug_channel_modes" "+tnms";
        // where to send general alerts (e.g. flood alerts)?
        "alert_channel" "#ircops";
        "alert_channel_modes" "+Otns";
        // who to tell about staff auths?
        "staff_auth_channel" "#opserv";
        "staff_auth_channel_modes" "+Otnms";
        // Force Opers to be in staff_auth_channel
        // 0 = don't force opers to be in the channel
        // 1 = force opers to be in the channel
        // 2 = force opers to be in the channel but kick them if they get mode -o set (deoper)
        "staff_auth_force_opers" "2";
        // how many clones to allow from an untrusted host?
        "untrusted_max" "4";
        // how long of a g-line should be issued if the max hosts is exceeded?
        "clone_gline_duration" "1h";
        // how long to g-line for ?block (or, by default, for ?trace gline)?
        "block_gline_duration" "1h";
        // how long to keep an illegal channel locked down (seconds)?
        "purge_lock_delay" "60";
        // channel join flood policer params?
        "join_policer" {
            "size" "20";
            "drain-rate" "1";
        };
        // automatically moderate join flooded channels?
        "join_flood_moderate" "1";
        // Don't moderate and warn channels unless there are more than
        // join_flood_moderate_threshold users in the channel. the
        // value 0 will disable the threshold.
        "join_flood_moderate_threshold" "50";
        // new user flood policer params
        "new_user_policer" {
            "size" "200";
            "drain-rate" "3";
        };
       
    };

    "chanserv" {
        // You may disable a service by removing its "nick" config item.
        // That means: SERVICES WILL ONLY WORK IF YOU DEFINE THEIR NICK.
        // (This is changed relative srvx-1.0.x, which would use default
        // unless you specified ".disabled".)
        "nick" "ChanServ";
        // What user modes do you want this service to have? Please keep in
        // mind which ircd software you are using here, and that all of the
        // services need to be at least +o.
        // "modes" "+iok";
        // Does your ircd have off-channel services support? Does it have
        // a registered channel mode? Does it support services opping themselves?
        // Bahamut has these things; ircu2.10.11 does not.
        // This setting takes three numerical values:
        //  0 = off
        //  1 = use a registered channel mode, have services op themselves
        //  2 = all of the above, and a channel setting to have ChanServ not
        //      idle in the channel
        "off_channel" "0";
        // revoke channel mode +a on unregister?
        "revoke_mode_a" "1";
        // how long should a person be unseen before resending infoline?
        "info_delay" "120";
        // maximum greeting length
        "max_greetlen" "200";
        // maximum users in a channel userlist
        "max_chan_users" "512";
        // maximum bans on a channel banlist
        "max_chan_bans" "512";
        //min time of timebans
        "min_time_bans" "5";
        // maximum length of a user's infoline
        "max_userinfo_length" "400";
        // If DynLimit is on and there are N users in the channel, ChanServ will
        // try to keep the limit at N+<adjust_threshold>.
        "adjust_threshold" "15";
        // .. but ChanServ will only increment or decrement the limit this often.
        "adjust_delay" "30";
        // How often to look for channels that have expired?
        "chan_expire_freq" "3d";
        // How long is a channel unvisited (by masters or above) before it can be expired?
        "chan_expire_delay" "30d";
        // How often to look for dnrs that have expired?
        "dnr_expire_freq" "1h";
        // what !set options should we show when user calls "!set" with no arguments?
        "set_shows" ("DefaultTopic", "TopicMask", "AdvTopic", "Greeting", "UserGreeting", "Modes", "PubCmd", "InviteMe", "EnfModes", "EnfTopic", "TopicSnarf", "UserInfo", "GiveVoice", "GiveOps", "EnfOps", "Setters", "CtcpUsers", "CtcpReaction", "Protect", "Toys", "DynLimit", "NoDelete");

        // A list of !8ball responses
        "8ball" ("Not a chance.",
                "In your dreams.",
                "Absolutely!",
                "Could be, could be.");
        // channel(s) that support helpers must be in to be helping
        // if this is a list, any one by itself will do
        "support_channel" ("#support", "#registration");
        // maximum number of channels owned by one account before FORCE is required
        "max_owned" "5";
        // how long between automatic topic refreshes with TopicRefresh 0
        "refresh_period" "3h";
        // how long between two invites of an user
        "invite_timeout" "10s";
        // what should !access say for various staff?
        "irc_operator_epithet" "a megalomaniacal power hungry tyrant";
        "network_helper_epithet" "a wannabe tyrant";
        "support_helper_epithet" "a wannabe tyrant";
        // what should a newly registered channel get as its modes?
        "default_modes" "+nt";
        // minimum opserv access to set, clear or override nodelete setting?
        "nodelete_level" "1";
        // how long before a new channel owner can give ownership away?
        "giveownership_timeout" "1w";
        // message sent to new channels
        "new_channel_unauthed_join" ""; //only sent if the user is unauthed
        "new_channel_authed_join" ""; //only sent if the user is authed
        "new_channel_message" ""; //always after the message above
        "oper_channel" "#opers";
       
    };

    "global" {
        "nick" "Global";
        // What user modes do you want this service to have? Please keep in
        // mind which ircd software you are using here, and that all of the
        // services need to be at least +o.
        // "modes" "+iok";
        // should users get community announcements by default or not?
        "announcements_default" "on";
    };
   
    "spamserv" {
        // You may disable a service by removing its "nick" config item.
        // That means: SERVICES WILL ONLY WORK IF YOU DEFINE THEIR NICK.
        // (This is changed relative srvx-1.0.x, which would use default
        // unless you specified ".disabled".)
        "nick" "SpamServ";
        "debug_channel" "#spamserv";
        "oper_channel" "#opers";
        // url of the network rules. if you don't have network rules, remove this key.
        "network_rules" "http://www.gamesurge.net/aup";
        // trigger for spamserv; remove this key to disable the trigger
        "trigger" "-";
        // ban duration of a short timedban.
        "short_ban_duration" "15m";
        // ban duration of a long timedban.
        "long_ban_duration" "1h";
        // duration of a gline. SpamServ will issue it after several violations and a kill.
        "gline_duration" "1h";
        // users may add "exception_max" exceptions to the list. IRCOps can override "exception_max".
        "exception_max" "10";
        // minimum & maximum length of an exception.
        "exception_min_len" "4";
        "exception_max_len" "12";
        // if someone advertises a channel, which doesn't exist (channel is empty, no users),
        // SpamServ doesn't punish the user.
        // enable this setting, if SpamServ has to ignore advertisements of channels, which do not exist.
        // disable this setting, if SpamServ has to punish the users whenever they advertise.
        "adv_chan_must_exist" "0";
        // remove all mirc codes from messages before checking for advertisements.
        // if this setting is disabled and someone spams a url which
        // contains a bold char, SpamServ doesn't punish him.
        "strip_mirc_codes" "1";
        // enable this, if SpamServ has to "follow" ChanServ, when a channel moves or merges.
        // disable it, if it shouldn't be possible to move or merge SpamServ with /msg chanserv move|merge.
        "allow_move_merge" "1";
    };
};

// The modules section gives configuration information to optional modules.
"modules" {
    "helpserv" {
        // The description/fullname field
        "description" "Help Queue Manager";
        // HelpServ bots log all of their requests to this file, with
        // details on when they were opened, closed, their contents,
        // helper, etc. The file is written in saxdb format for easy
        // parsing by external programs. Please note that you cannot
        // use ?set to change this value while srvx is running.
        "reqlogfile" "helpservreq.log";
        // How long should a helpserv be inactive (no requests assigned)
        // before it can be unregistered by the expire command?
        "expiration" "60d";
    };
    "sockcheck" {
        "max_sockets" "64";  // allow 64 concurrent clients to be checked
        "max_read" "1024"; // don't read more than 1024 bytes from any client
        "gline_duration" "1h"; // issue G-lines lasting one hour
        "max_cache_age" "60"; // only cache results for 60 seconds
        // "bind_address" "192.168.0.10"; // do proxy tests from this address
    };
    "snoop" {
        // Where to send snoop messages?
        "channel" "#wherever";
        // Which bot?
        "bot" "OpServ";
        // Show new users and joins from net joins?  (off by default)
        "show_bursts" "0";
    };
    "memoserv" {
        "bot" "NickServ";
        "message_expiry" "30d"; // age when messages are deleted; set
                                // to 0 to disable message expiration
    };
    "qserver" {
        "bind_address" "127.0.0.1";
        "port" "7702";
        "password" "hello";
    };
    "blacklist" {
        // File containing blacklisted client addresses.
        // "file" "blacklist.txt";
        // Each line in the file should start with an IP or hostname.
        // If there is whitespace and a message after that, the
        // message will override this one:
        "file_reason" "client is blacklisted";
        // How long should a blacklist G-line last?
        "gline_duration" "1h";
        // Bot used to send debug notices
        "debug_bot" "OpServ";
        // To which channel should debug output be sent?
        "debug_channel" "#opserv";
        "debug_channel_modes" "+tinms";
        // If you want to use DNS blacklists, add them here:
        "dnsbl" {
            // This DNSBL zone does not exist - you'll have to pick your own.
            "dnsbl.example.org" {
                // Send a notice instead of glining blacklisted ips
                "debug" "1";
                "description" "Example DNSBL entry";
                "reason" "busted by a dns blacklist";
                "duration" "1h";
                // You can stick the client's IP in the G-line message.
                "reason_2" "Example DNSBL reported %ip%'s address as 127.0.0.2";
                // .. or the contents of a DNS TXT.
                "reason_3" "%txt%";
            };
        };
    };
    "sar" {
        // You generally will not want to override these defaults.
        // "resolv_conf" "/etc/resolv.conf";
        // "services" "/etc/services";
        // "bind_address" "0.0.0.0";
        // "bind_port" "0";
        // The defaults for these are derived from the system config files (above).
        // "domain" "example.org";
        // "timeout" "3"; // base timeout for a DNS reply
        // "retries" "3"; // number of times to retry on different servers or longer timeouts
        // "ndots" "1";  // number of dots needed in a hostname to bypass search path
        // "edns0" "0";  // if set, enable EDNS0 extended message sizes
        // "search" ("example.org", "example.net");
        // "nameservers" ("127.0.0.1");
    };
    "watchdog" {
        "nick" "Watchdog";
        "modes" "+iokn";
        "ban_duration" "2h"; //only if the channel is registered with chanserv
        "gline_duration" "1h";
        "punishment_reason" "Your message contained a forbidden word.";
        "alert_chan" "#opers";
        "oper_channel" "#opers";
    };
   
   "hostserv" {
       "nick" "HostServ";
       "modes" "+ioknD";
       "toplevel_access" "600";
       "fallback_other_assignment" "0";
       "manager_can_del_toplevel" "0";
       "manager_can_del_secondlevel" "0";
       "manager_can_rename_toplevel" "0";
       "manager_can_rename_secondlevel" "0";
       "manager_toplevel_can_oset" "0";
       "manager_secondlevel_can_oset" "0";
    };
};

"policers" {
    "commands-luser" {
        "size" "5";
        "drain-rate" "0.5";
    };
};

"rlimits" {
    "data" "50M";
    "stack" "6M";
    "vmem" "100M";
};

"server" {
    "hostname" "srvx.mIRCxNet.ISRAEL.Services";
    "description" "mIRCxNet Network Services";
    "network" "mIRCxNET";
    "hidden_host" "users.mIRCxNet.ISRAEL"; // set this if you enabled ircd/Undernet's +x mode
    /* hidden_host should match the F:HIDDEN_HOST: line in your ircu's ircd.conf;
    * srvx does not set the host suffix for users, but must know it when making
    * things like bans, where it should not show the user's real hostname. */
    "numeric" "10"; // hint: If you get collisions on link, CHANGE THIS.
    "max_users" "256"; // You can save a little memory by setting this to a lower value.
    "force_n2k" "1"; // Use extended (5-digit) numnick for self, even if 3 are possible.
    "ping_freq" "60";
    "ping_timeout" "90";
    "max_cycles" "30"; // max uplink cycles before giving up
    // Admin information is traditionally: location, location, email
    "admin" ("IRC Network", "Gotham City, GO", "Mr Commissioner <james.gordon@police.gov>");
    /* the following two settings are for ircu's HEAD_IN_SAND features, and are equivelent to
    * the F: lines in ircu's ircd.conf. both can be disabled by commenting them out. */
    "his_servername" "*.mIRCxNet.ISRAEL"; // hidden server name, shown in remote /whois requests
    "his_servercomment" "The Generic, Boring IRC Network";
};

// controlling how services (mostly NickServ) send mail
"mail" {
    // These options are the defaults.
    "enable" "0";
    "mailer" "/usr/sbin/sendmail";
    "from_address" "admin@poorly.configured.server";
    // These are not :>
    "extra_headers" ("X-Ereet-Services: srvx r reet");
    "body_prefix_first" ("Welcome to our network.  This prefix is used whenever srvx thinks this may be the first time we send email to your address.");
    "body_prefix" ("This goes before the mail text.", "Each string here is treated as a separate \"paragraph\" for line wrapping.");
    "body_suffix_first" ("We care a lot about spam.  If you did not request this email, bitch and moan loudly at our opers, and tell our ISP to gank our connection.");
    "body_suffix" ("PLEASE DO NOT BE ALARMED.  CALMLY BOARD THE AIRCRAFT, STRAP YOUR ARMS ACROSS YOUR BODY, AND JUMP THE HELL OUT OF THE PLANE.", "Yaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaatta!");
    // If you are using the smtp mail back-end, you may need to set these:
    "smtp_server" "localhost";
    "smtp_service" "smtp";
    // "smtp_myname" "localhost.domain";
};

// New section in srvx-1.2 to control database locations, etc.
// If you leave this section out, each database will be in its own file,
// and they will be written out every half hour.
"dbs" {
    // This just illustrates how you can jam every database into one huge ("mondo") file.
    "ChanServ" { "mondo_section" "ChanServ"; };
    "gline" { "mondo_section" "gline"; };
    "Global" { "mondo_section" "Global"; };
    "HelpServ" { "mondo_section" "HelpServ"; };
    "modcmd" { "mondo_section" "modcmd"; };
    "NickServ" { "mondo_section" "NickServ"; };
    "OpServ" { "mondo_section" "OpServ"; };
    "sendmail" { "mondo_section" "sendmail"; };
    "SpamServ" { "mondo_section" "SpamServ"; };
    "Watchdog" { "mondo_section" "Watchdog"; };
    "HostServ" { "mondo_section" "HostServ"; };

    // These are the options if you want a database to be in its own file.
    "mondo" {
        // Where to put it?
        "filename" "srvx.db";
        // How often should it be saved?
        // (You can disable automatic saves by setting this to 0.)
        "frequency" "30m";
    };
};

// New section in srvx-1.2 to control log destinations.
// If you leave this section out, each service (technically, each log
// facility) will be in its own file, just like before.
"logs" {
    // Two kinds of items exist in this section.

    // One is a facility configuration subsection.  These have the
    // name of a log facility (one of "ChanServ", "Global",
    // "HelpServ", "NickServ", "OpServ", "ProxyCheck", or "srvx") and
    // the value is a subsection. The "srvx" log facility is a
    // catch-all/fall-back facility.
    "srvx" {
        // The "max_age" option says how long to keep log audit entries.
        "max_age" "10m";
        // The "max_count" option says how many log audit entries to keep.
        "max_count" "1024";
        // Audit (command tracking) entries are discarded if they exceed
        // either limit: for example, if entry 500 is 10 minutes old, it
        // will be discarded next time any audit command is logged.
    };

    // The other kind of item is a target list.  The name of each is a
    // description of facility-and-severity combinations, and the value
    // is a string (or list of strings) that describe where matching
    // events should be logged.  As a special case, the facility * will
    // specify how to log events regardless of their true facility, and
    // the severity * will match all severities for a facility.
    // Log targets use a psuedo-URI syntax:  one of "file:filename",
    // "std:[out|err|n]" where n is a valid file descriptor, or
    // "irc:#channel" (nicknames or server masks can be used instead
    // of channel names, but should be used with care).
    // The severity is one of "replay", "debug", "command", "info",
    // "override", "staff", "warning", "error", or "fatal".
    // WARNING: If any severity except "replay" for a facility is left
    // unspecified, it will use the default target (for example,
    // "file:chanserv.log").  For "replay" severity, you must ALWAYS
    // list a target to log it -- this is because it is very rarely
    // useful.
    "*.*" ("std:out", "file:everything.log"); // does NOT suppress any defaults
    "*.override,staff" "irc:#big-brother"; // report all uses of staff commands
    "ChanServ.*" "file:chanserv.log"; // duplicates the default behavior
    "ProxyCheck.*" (); // stop it from logging anything
};
avatar
Chief
Admin

מספר הודעות : 211
Join date : 2011-12-09
מיקום : mIRCx IRC Network

View user profile

Back to top Go down

Re: install IRCu 2.10.12.10 pk-WGN5 with srvx

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum