Making an irc server questions

Hey drop us a line about the show. Feel free to ask questions, provide feedback and criticism, or just ramble on about anything your little heart desires.

Moderators: snarkout, Patrick, dann

Post Reply
MagnumIP
Posts: 27
Joined: Mon Nov 21, 2005 11:40 pm

Making an irc server questions

Post by MagnumIP » Thu Jun 07, 2007 10:40 pm

I want to setup my own irc server and I have no clue where to begin. I need to know where to begin. Thanks

chuck
Posts: 141
Joined: Wed Nov 02, 2005 6:51 pm

Re: Making an irc server questions

Post by chuck » Fri Jun 08, 2007 9:17 am

MagnumIP wrote:I want to setup my own irc server and I have no clue where to begin. I need to know where to begin. Thanks
Software.

http://www.irchelp.org/irchelp/ircd/

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Re: Making an irc server questions

Post by Tsuroerusu » Fri Jun 08, 2007 1:22 pm

MagnumIP wrote:I want to setup my own irc server and I have no clue where to begin. I need to know where to begin. Thanks
I personally don't trust IRC daemons to be secure against crackers, so I decided to run my IRC server on my FreeBSD box. FreeBSD has a feature called jails, which is kind of like a chroot, but more advanced and practically unescapable (Well, if you are extremely dedicated you might be able to break out), pardon the pun. Anyway, inside a jail you can run whatever process you want, and if it gets cracked into the attacker doesn't have access to your main system, so you can just do like: rm -rf /jails/irc and rebuild the jail, that way you are sure that nothing is staying around.
I run five jails on my FreeBSD box, each of which houses a daemon, or a service of some kind. Jail 0 provides shell access, jail 1 does irc, jail 2 does Jabber etc. etc.
This not only a good way to increase security (Although, as with pretty much anything, it's not a silver bullet), but also a good way to use a single box for multiple things, as it makes it easy to isolate daemons, or even users, completely from each other.

If you just want to play with IRC server stuff, you probably don't need this or anything like it, although if you actually want to run a home IRC server, I'd consider something like this. If you prefer to use GNU/Linux over FreeBSD, then you might want to look into standard chrooting because although it's easier to escape from that jails are, it's still much better than nothing.

Once you've made the OS/security-policy choice, I would recommend installing ircd-hybrid, which is an IRC server daemon. It's relatively easy to set up, the configuration file is commented fairly well throughout.
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

MagnumIP
Posts: 27
Joined: Mon Nov 21, 2005 11:40 pm

Post by MagnumIP » Sat Jun 09, 2007 8:13 am

Well I want to try it from home 1st but I might just get a VPS to run this from

Tsuroerusu
Posts: 2551
Joined: Mon Sep 05, 2005 8:51 am
Location: Silkeborg, Denmark
Contact:

Post by Tsuroerusu » Sat Jun 09, 2007 8:20 am

MagnumIP wrote:Well I want to try it from home 1st but I might just get a VPS to run this from
I see, but in any case, make sure you keep your eyes and ears open in case any security issue comes up.

Anyway, as I said, irc-hybrid is relatively easy to get going, so that's the IRC server I would recommend you checking out.
Image
Image

"Hatred does not cease by hatred, but only by love. This is the eternal rule."
- Siddhattha Gotama (Buddha), founder of Buddhism.

Post Reply