HOWTO: configure yourself a nice private IRCD (Irc Server)
Well chaps.. It’s actually quite easy to install yourself an IRCD server… against contrary belief. The hard part is configuration. However.. We can skip most of that and get your IRCD up in a few minutes. Here’s how (on debian at least)
- apt-get install ircd-ircu
- pico /etc/ircd/ircd.conf
- set your A-Line (administrative line)
- M:irc.yourserver.com:93.87.22.3:The Lost City IRCD::1
- set your O-Line something like
- O:azio@63-11-12-29.dsl.dynamic.sonic.net:DoifDPofC-0v:azio
- you see the DoifDPofC - thats an “mdcrypt” -it’s encrypted. you can make one for your password too using
- mkpasswd yourpasswordhere
- now we need to switch environments
- su azio
- ./usr/sbin/ircd-ircu
- Job Done, Connect to your server using your usual /server irc.yourserver.com:6667 assuming you’ve not changed the P-Line it’s still running on port 6667
- I attatch a basic config so you can understand what’s going on in /etc/ircd/ircd.conf
Useful Resources:
http://developer.novell.com/wiki/index.php/Nefarious_IRCu_F:LinesÂ
http://www.technerd.net/server-commands.htmlÂ
http://www.wyldryde.org/commands/ircop.phpÂ
My Basic Config:
# lets change the default
# M:localhost.localdomain::Debian’s ircd default configuration at localhost::1
M:irc.azio.org:82.88.21.54:The Lost City IRCD::1
# A-Line
A:This is Debian’s default ircd configuration:Please edit your ircd.conf file:Contact
# Y-Lines
Y:1:90:0:20:100000 # for users
Y:2:90:300:1:9000000 # for servers
# I-Line
I:Resolved::*@localhost::1
i:*@*:1:Unresolved::1
i:Resolved::*@*::1
# Oper Line
O:*@*:passwordgoeshere:Azio
O:ident@hostname:md5cryptedpassword:someuser
# P-Line
P::::6667
#F-Lines - Configuration things
F:HUB:TRUE
F:RANDOM_SEED:1598745896321459
F:MAXCHANNELSPERUSER:15
F:MPATH:/etc/ircd/ircd.motd
F:RPATH:/etc/ircd/remote.motd
# set log levels and priorities
F:LOG:SYSTEM:FACILITY:USER
F:LOG:CONFIG:FACILITY:USER
F:LOG:OPERMODE:FACILITY:USER
F:LOG:GLINE:FACILITY:USER
F:LOG:JUPE:FACILITY:USER
F:LOG:WHO:FACILITY:USER
F:LOG:NETWORK:FACILITY:USER
F:LOG:OPERKILL:FACILITY:USER
F:LOG:SERVKILL:FACILITY:USER
F:LOG:OPER:FACILITY:USER
F:LOG:SOCKET:FACILITY:USER
# Set log file
F:LOG:SYSTEM:FILE:/var/log/ircd/critical.log
F:LOG:CONFIG:FILE:/var/log/ircd/critical.log
F:LOG:OPERMODE:FILE:/var/log/ircd/info.log
F:LOG:GLINE:FILE:/var/log/ircd/info.log
F:LOG:JUPE:FILE:/var/log/ircd/notices.log
F:LOG:WHO:FILE:/var/log/ircd/info.log
F:LOG:NETWORK:FILE:/var/log/ircd/critical.log
F:LOG:OPERKILL:FILE:/var/log/ircd/info.log
F:LOG:SERVKILL:FILE:/var/log/ircd/info.log
F:LOG:OPER:FILE:/var/log/ircd/info.log
F:LOG:SOCKET:FILE:/var/log/ircd/info.log
# set log levels
F:LOG:SYSTEM:LEVEL:CRIT
F:LOG:CONFIG:LEVEL:CRIT
F:LOG:OPERMODE:LEVEL:INFO
F:LOG:GLINE:LEVEL:INFO
F:LOG:JUPE:LEVEL:NOTICE
F:LOG:WHO:LEVEL:INFO
F:LOG:NETWORK:LEVEL:CRIT
F:LOG:OPERKILL:LEVEL:INFO
F:LOG:SERVKILL:LEVEL:INFO
F:LOG:OPER:LEVEL:INFO
F:LOG:SOCKET:LEVEL:INFO
F:LOG:USER:LEVEL:DEBUG
F:LOG:RESOLVER:LEVEL:DEBUG
F:LOG:DEBUG:LEVEL:DEBUG
F:HIS_SERVERNAME:”*.azio.org”
F:HIS_SERVERINFO:”The aziopimp IRC Network”
F:HIS_URLSERVERS:”http://www.azio.org”
F:NETWORK:”azio.org”
F:URL_CLIENTS:”ftp://ftp.undernet.org/pub/irc/clients”