566f46785f
* Add generic direction enum for negotiation setup. * Rename a rather long wrapper function to a shorter one consistent with what it does. * Rework context setup function. * Don't check for handshake state before beginning handshaking. The old backend began a handshake and then stepped into the callback function if it was interrupted; the current one just jumps right into it, so there is no need to check if it has previously succeeded, because it hasn't been attempted yet. * Add missing errno assignment to one of the handshake wrappers. * Don't bother checking if SSL_P(F) is NULL when we already checked if F->ssl is NULL -- this should be impossible. * Don't bother checking if SSL_C(F) is NULL -- this was a no-op. * Change the socket send and recv functions to not peer into a foreign ratbox structure -- use the correct function to get the socket fd. * Rewrap some lines and function arguments. Other backends will be brought into line with this backend soon. This will enable easier maintenance of the backends, by reducing the diffs between them, which should make different behaviour easier to spot. |
||
---|---|---|
bandb | ||
doc | ||
extensions | ||
help | ||
include | ||
libratbox | ||
m4 | ||
modules | ||
scripts | ||
src | ||
ssld | ||
testsuite | ||
tools | ||
.gitignore | ||
.indent.pro | ||
.mailmap | ||
.travis.yml | ||
aclocal.m4 | ||
appveyor.yml | ||
configure | ||
configure.ac | ||
CREDITS | ||
GIT-Access | ||
INSTALL | ||
install-sh | ||
LICENSE | ||
Makefile.in | ||
NEWS.md | ||
README.md | ||
TODO |
charybdis
Charybdis is a reference implementation of the IRCv3.1 server component. 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 load library.
- A working lex. Solaris /usr/ccs/bin/lex appears to be broken, on this system flex should be used.
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 and RHEL/Fedora (and its derivatives such as CentOS) 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 charybdis, visit us at irc.freenode.net #charybdis
-
Please read doc/index.txt to get an overview of the current documentation.
-
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, charybdis will try to use 127.0.0.1 for a resolver as a last-ditch effort.
-
FREEBSD USERS: 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 USERS: this code appears to tickle a bug in older gcc and egcs ONLY on 64-bit Solaris7. gcc-2.95 and SunPro C on 64bit should work fine, and any gcc or SunPro compiled on 32bit.
-
SUPPORTED PLATFORMS: this code should compile without any warnings on:
- FreeBSD 10
- Gentoo & Gentoo Hardened ~x86/~amd64/~fbsd
- RHEL 6 / 7
- Debian Jessie
- OpenSuSE 11/12
- OpenSolaris 2008.x?
- Solaris 10 sparc.
Please let us know if you find otherwise.
It probably does not compile on AIX, IRIX or libc5 Linux.
-
Please read NEWS for information about what is in this release.
-
Other files recommended for reading: BUGS, INSTALL