Irc-server

From CSLabsWiki
Jump to: navigation, search
Irc-server
IP Address(es): 128.153.145.145
Contact Person: Jared Dunbar
Last Update: February 2016
Services: private irc server


Hostname: <none currently>
Operating system: Debian 8.2
LDAP Support: none
Development Status:  ?
Status: off


irc-server is a VM on Hydra that will behave as a private irc server, primarily for the task of developing IRC based bots and for "Twitch Does Turtlebot" on a smaller scale, useful for small library or other entities. It allows us ultimate control over what it does.

This is not intended to replace ##cosi on Freenode, as it's generally a good idea to keep the cosi irc somewhere that doesn't go down when COSI does, so that Internet issues don't cause problems (and we can still communicate with others should we use irc on our cell phones) versus when this server goes down, cosi communications go down.

The install started from a base-vm image from Felix.

In addition, there are installed stuff:

wget p7zip-full sudo make gcc build-essential openssl libcurl4-openssl-dev zlib1g zlib1g-dev zlibc libgcrypt11-dev libssl-dev

After I installed this stuff I created an IRC server user called ircd in order to protect the root of the system.

In ircd's home directory I extracted UnrealIRCd using 7z.

In the folder created, I ran ./Config after making it executable, as well as configure, and also src/buildmod

I made it install to /home/ircd/unrealircd

Everything was set to the defaults (press enter a lot)

then make, and then make install

then create /home/ircd/unrealircd/conf/unrealircd.conf with the following (the passwords were excluded as well as keys and such):

include "modules.default.conf";

me {
    name "irc-server.cosi.clarkson.edu";
    info "cosi irc server";
    sid 001;
};

admin {
    "cosi irc";
    "http://cosi.clarkson.edu";
};

class clients {
    pingfreq 60;
    maxclients 250;
    sendq 100000;
    recvq 8000;
};

allow {
    ip *;
    class clients;
    maxperip 25;
    password "";//entry password
};

listen {
    ip *;
    port 6667;
};

oper super {
    mask {128.153.144.*; 128.153.145.*;};
    password "";//admin password
    class clients;
    maxlogins 5;
    operclass netadmin;
};

set {
    network-name "irc-server";
    default-server "irc-server.cosi.clarkson.edu";
                     // the network's proper hostname.
    services-server "services.cosi.clarkson.edu";
    stats-server "stats.cosi.clarkson.edu";
    help-channel "#help";
    hiddenhost-prefix "";
    cloak-keys {
        "";//three 20 alpanumeric random keypresses per string
        "";
        "";
    };

    //hosts {
    //    local       "irc-server.cosi.clarkson.edu";
    //    global      "irc-server.cosi.clarkson.edu";
    //    coadmin     "irc-server.cosi.clarkson.edu";
    //    admin       "irc-server.cosi.clarkson.edu";
    //    servicesadmin   "irc-server.cosi.clarkson.edu";
    //    netadmin    "irc-server.cosi.clarkson.edu";
    //    host-on-oper-up "no";
    //};
    
    kline-address "admin@cosi.clarkson.edu";
    modes-on-connect "+ixw";
    modes-on-oper "+xwgs";
    maxchannelsperuser 10;
    
};