Hi, I'm trying to compile UnrealIRCd to support chrooting. I've read the forums and I see that I am supposed to define the following:
CHROOTDIR
IRC_UID
IRC_GID
The config.h file also mentions that I should define DPATH but I'm not sure what all these (other than the UIDs) should be set to - should DPATH and CHROOTDIR be the same? Will the install script install everything automatically to the proper directories? What other configuration will I have to do?
I've looked for documentation about this feature but there just doesn't seem to be any at all. Any help would be greatly appreciated.
Thanks.
Chroot defines?
Re: Chroot defines?
Seeing you got the uid and gid things, the only other thing you have to do is add the:thalin wrote:The config.h file also mentions that I should define DPATH but I'm not sure what all these (other than the UIDs) should be set to - should DPATH and CHROOTDIR be the same?
#define CHROOTDIR
(takes no parameter)
That's all.. And then recompile of course.
DPATH is already set during ./Config (in another .h file).
The IRCd is simply chrooted to the path you specified during ./Config (2nd question in ./Config) eg '/home/irc/Unreal'.