Monday, June 20, 2016

setup irc server using ircd-ircu -- Undernet IRC Server

with ircd-ircu, ident service on client is optional to join the irc server.

1- install  ircd-ircu package
$ sudo apt-get install  ircd-ircu

2- edit the irc service configuration file /etc/ircd/ircd.conf  as below
General {
         name = "irc.private.org";
         description = "Debian's ircd default configuration at private localhost";
         numeric = 1;
};

Admin {
  Location = "Debian's ircd default configuration at localhost";
  Location = "Please edit your ircd.conf file";
  Contact = "root@localhost";
};

Class {
 name = "Local";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 100;
 usermode = "+iw";
};

Class {
 name = "Other";
 pingfreq = 1 minutes 30 seconds;
 sendq = 160000;
 maxlinks = 400;
};

Client {
 host = "*@*";
 ip = "*@*";
 class = "Other";
};

motd {
 host = "*";
 file = "ircd.motd";
};

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";
};

Port { port = 6667; };

features {
 "LOG" = "SYSTEM" "FILE" "ircd.log";
 "LOG" = "SYSTEM" "LEVEL" "CRIT";
};


3-  if you want to change molt edit file /etc/ircd/ircd.motd
default message:
                         [ Debian GNU/Linux ]
|------------------------------------------------------------------------|
| This is Debians default IRCd server config. If you see this and you're |
| the server administrator, edit files ircd.conf and ircd.motd in        |
| /etc/ircd please.                                                      |
|                                          Martin Loschwitz, April 10th  |
|------------------------------------------------------------------------|



4- restart irc service it will be ready.

$ sudo /etc/init.d/ircd-ircu restart

-- screenshot of a user connect to our irc server and join room1 channel.

No comments:

Post a Comment