From dfedda0d296663197c331025bc1a377bba328141 Mon Sep 17 00:00:00 2001 From: alex Date: Fri, 24 Sep 2021 23:52:44 -0400 Subject: [PATCH] ngircd: Add ngircd config for localhost-only IRC server I think the plan is to only serve localhost and have people use wireguard to connect to a bouncer that's connected on localhost. --- Makefile | 2 ++ etc/ngircd/ngircd.conf | 28 ++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 etc/ngircd/ngircd.conf diff --git a/Makefile b/Makefile index 64907d5..2dd15de 100644 --- a/Makefile +++ b/Makefile @@ -10,3 +10,5 @@ pull: for f in $(FILES); do \ cp $$f .$$f; \ done + sed 's/Password =.*/Password = /' /etc/ngircd/ngircd.conf > \ + etc/ngircd/ngircd.conf diff --git a/etc/ngircd/ngircd.conf b/etc/ngircd/ngircd.conf new file mode 100644 index 0000000..3833afc --- /dev/null +++ b/etc/ngircd/ngircd.conf @@ -0,0 +1,28 @@ +# See ngircd.conf and /usr/local/share/examples/ngircd/sample-ngircd.conf +# for more info on syntax, etc +[Global] + Name = irc.garbash.com + AdminEMail = alex@garbash.com + HelpFile = /usr/local/share/doc/ngircd/Commands.txt + Info = internal irc + Listen = 127.0.0.1 + MotdPhrase = "Create something worth rewriting" + Ports = 6667 + ServerGID = _ngircd + ServerUID = _ngircd + +[Limits] + MaxJoins = 0 + MaxNickLength = 9 + +[Options] + ChrootDir = /var/ngircd + DefaultUserModes = iw + +[Operator] + Name = root + Password = + +[Channel] + Name = #garbash + Topic = for discussions about the tilde -- libgit2 1.1.1