Comparing some git repos with each other
Find a file
Aaron Jones a9505057c5 MODRESTART/MODRELOAD: Defer reloading more quickly
Commit 41390bfe5f fixed a bug whereby the processing
of a MODRESTART command could result in a crash. The approach
taken in this fix was to defer the reloading of all modules
so that the call stack does not contain functions located in
modules that are being reloaded. It did this by scheduling a
one-shot timer event for 1 second in the future, in the absense
of any better deferral mechanism at the time. Timers are
processed by the event loop, which is core to IRCd and cannot
be reloaded.

Commit 59ea3c6753 introduced a mechanism to defer the
execution of a function until all events have been processed by
the event loop, in order to fix a REHASH bug that could result
in a crash due to closing and reopening listener sockets with a
pending socket connection event to process after the REHASH was
completed.

Rework commit 41390bfe5f to use the new deferral
mechanism introduced by commit 59ea3c6753 and do the
same for module reloads.
2023-11-20 14:01:33 +00:00
.github/workflows CI: Modernize 2022-08-24 19:38:32 -04:00
authd make some authd warnings L_NETWIDE 2022-10-03 20:00:21 +01:00
bandb Remove Windows support 2021-07-30 14:17:47 -04:00
doc doc/reference.conf: document connect::flags sctp 2023-11-20 13:55:21 +00:00
extensions extensions/invite_notify: make the NOTICE optional, configurable 2023-11-08 13:12:49 +00:00
help document +M cmode (#417) 2023-08-29 09:12:01 -07:00
include extensions/invite_notify: make the NOTICE optional, configurable 2023-11-08 13:12:49 +00:00
ircd extensions/invite_notify: make the NOTICE optional, configurable 2023-11-08 13:12:49 +00:00
librb Delay rehashing until we're not processing events 2023-11-06 14:22:55 +00:00
m4 Innovation by sed 2020-10-15 15:52:41 +01:00
modules MODRESTART/MODRELOAD: Defer reloading more quickly 2023-11-20 14:01:33 +00:00
scripts Innovation by sed 2020-10-15 15:52:41 +01:00
ssld ssld: Remove unused zlib_ok variable 2022-11-09 18:14:41 -06:00
tests m_sasl: Remove implicit abort on registration 2022-10-06 17:06:28 -04:00
testsuite "KDX-Line active for" is now L_NETWIDE, so remove sno_globalkline 2021-04-10 15:12:40 +01:00
tools Remove Windows support 2021-07-30 14:17:47 -04:00
wsockd Remove ancient portability code (#361) 2022-08-24 20:53:52 -04:00
.gitignore Update .gitignore for 25d169b649 (#69) 2020-11-11 14:14:12 -08:00
.mailmap Mailmap and copyright update for Ariadne 2021-06-01 12:40:02 -04:00
autogen.sh *sigh* comment these out until travis is fixed. 2016-04-10 17:12:42 -05:00
configure.ac Remove missed Winsock2 check 2022-08-26 18:58:49 -04:00
CREDITS Sort reps in CREDITS case insensitive alphabetically 2023-06-05 19:08:57 +01:00
LICENSE Remove more $Id tags. 2016-03-06 02:58:32 -06:00
Makefile.am Remove *.la from install/lib 2020-11-10 09:37:55 +00:00
NEWS.md m_sasl: Remove implicit abort on registration 2022-10-06 17:06:28 -04:00
README.md Add "automake" and "libtool" to the list of packages required for building 2023-02-21 15:45:16 -05:00
shtool Remove Windows support 2021-07-30 14:17:47 -04:00

solanum Build Status

Solanum is an IRCv3 server designed to be highly scalable. It implements IRCv3.1 and some parts of IRCv3.2.

It is meant to be used with an IRCv3-capable services implementation such as Atheme or Anope.

necessary requirements

  • A supported platform
  • A working dynamic library system
  • A working lex and yacc - flex and bison should work

platforms

Solanum is developed on Linux with glibc, but is currently portable to most POSIX-compatible operating systems. However, this portability is likely to be removed unless someone is willing to maintain it. If you'd like to be that person, please let us know on IRC.

platform specific errata

These are known issues and workarounds for various platforms.

  • macOS: you must set the LIBTOOLIZE environment variable to point to glibtoolize before running autogen.sh:

    brew install libtool
    export LIBTOOLIZE="/usr/local/bin/glibtoolize"
    ./autogen.sh
    
  • FreeBSD: if you are compiling with ipv6 you may experience problems with ipv4 due to the way the socket code is written. To fix this you must: sysctl net.inet6.ip6.v6only=0

  • Solaris: you may have to set your PATH to include /usr/gnu/bin and /usr/gnu/sbin before /usr/bin and /usr/sbin. Solaris's default tools don't seem to play nicely with the configure script. When running as a 32-bit binary, it should be started as:

    ulimit -n 4095 ; LD_PRELOAD_32=/usr/lib/extendedFILE.so.1 ./solanum
    

building

sudo apt install build-essential pkg-config automake libtool libsqlite3-dev # or equivalent for your distribution
./autogen.sh
./configure --prefix=/path/to/installation
make
make check # run tests
make install

See ./configure --help for build options.

feature specific requirements

  • For SSL/TLS client and server connections, one of:

    • OpenSSL 1.0.0 or newer (--enable-openssl)
    • LibreSSL (--enable-openssl)
    • mbedTLS (--enable-mbedtls)
    • GnuTLS (--enable-gnutls)
  • For certificate-based oper CHALLENGE, OpenSSL 1.0.0 or newer. (Using CHALLENGE is not recommended for new deployments, so if you want to use a different TLS library, feel free.)

  • For ECDHE under OpenSSL, on Solaris you will need to compile your own OpenSSL on these systems, as they have removed support for ECC/ECDHE. Alternatively, consider using another library (see above).

tips

  • To report bugs in Solanum, visit us at #solanum on Libera Chat

  • Please read doc/readme.txt to get an overview of the current documentation.

  • Read the NEWS.md file for what's new in this release.

  • The files, /etc/services, /etc/protocols, and /etc/resolv.conf, SHOULD be readable by the user running the server in order for ircd to start with the correct settings. If these files are wrong, Solanum will try to use 127.0.0.1 for a resolver as a last-ditch effort.

git access

  • The Solanum git repository can be checked out using the following command: git clone https://github.com/solanum-ircd/solanum

  • Solanum's git repository can be browsed over the Internet at the following address: https://github.com/solanum-ircd/solanum