Comparing some git repos with each other
Find a file
Aaron Jones 566f46785f
MbedTLS: Misc backend cleanups
* 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.
2016-09-10 08:42:04 +00:00
bandb Spring cleaning redux: 2015-04-20 00:55:20 -05:00
doc reference.conf: Document fingerprint generation 2016-07-16 05:42:00 +00:00
extensions mkpasswd: use urandom for salts, cleanup 2016-08-15 09:49:57 +00:00
help Revert "remove MONITOR for now pending a complete rewrite" 2015-10-15 17:31:55 -05:00
include Do not shadow OpenSSL-internal symbol "ssl_ok". 2016-06-01 16:32:26 +00:00
libratbox MbedTLS: Misc backend cleanups 2016-09-10 08:42:04 +00:00
m4 m4/pkg.m4: add pkg-config-0.24 macros 2014-06-01 15:50:47 -04:00
modules SASL: Disallow beginning : and space anywhere in AUTHENTICATE parameter 2016-09-03 17:28:41 +00:00
scripts release: Use git instead of hg for version number in tarballs. 2012-04-22 19:08:33 +02:00
src Backport ffedad8d to release/3.5 2016-08-31 14:21:16 +00:00
ssld Do not shadow OpenSSL-internal symbol "ssl_ok". 2016-06-01 16:32:26 +00:00
testsuite Remove network_desc configuration option, never actually used anywhere 2015-03-26 14:46:54 -05:00
tools Spring cleaning redux: 2015-04-20 00:55:20 -05:00
.gitignore tools: Remove Hybrid 6 conversion tools. 2014-09-21 18:20:39 +02:00
.indent.pro [svn] - the new plan: 2007-01-24 22:40:21 -08:00
.mailmap Add a Git .mailmap 2013-01-02 01:46:36 +02:00
.travis.yml Travis CI: Build against sqlite3 library, don't autogen 2016-05-03 23:29:27 +00:00
aclocal.m4 charybdis 3.5.0. 2016-01-05 19:49:18 -06:00
appveyor.yml Attempt to disable AppVeyor on this branch 2016-08-19 19:48:30 +00:00
configure rebuild configure 2016-09-05 17:33:24 -05:00
configure.ac charybdis 3.5.3. 2016-09-05 17:09:30 -05:00
CREDITS CREDITS: charybdis official channel will now be on irc.charybdis.io. 2016-06-04 23:54:14 -05:00
GIT-Access Update Git repo references to new organization 2015-12-28 16:01:07 -08:00
INSTALL tools: Remove Hybrid 6 conversion tools. 2014-09-21 18:20:39 +02:00
install-sh [svn] - the new plan: 2007-01-24 22:40:21 -08:00
LICENSE [svn] - the new plan: 2007-01-24 22:40:21 -08:00
Makefile.in Fix inconsistency between --sysconfdir and --with-confdir, deprecate --with-confdir. 2012-03-02 01:11:42 +00:00
NEWS.md update NEWS for charybdis 3.5.3. 2016-09-05 17:31:49 -05:00
README.md README: Fix more MbedTLS casing 2016-08-30 23:39:22 +00:00
TODO Back out chanroles. 2011-07-07 21:24:14 -04:00

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