C M4 Perl Shell Makefile C++ Other
Clone or download
Oleg Girko and smokku sx/ssl.c: fix undefined behaviour with openssl-1.1
BN_dec2bn in OpenSSL 1.1 requires its first argument to point to
either pointer to initialised BIGNUM or NULL.
Using pointer to uninitialised pointer to BIGNUM is undefined behaviour
causing coredumps or other memory corruption.

This change fixes missing initialisation overlooked when porting
to OpenSSL 1.1 API.

Signed-off-by: Oleg Girko <ol@infoserver.lv>
Latest commit bc2d7ae Sep 23, 2017
Permalink
Failed to load latest commit information.
c2s Fix sigabrt due to race condition Mar 5, 2018
contrib Updated Flash patch Dec 6, 2011
docs fix spelling Mar 5, 2018
etc systemd units restart on failure Mar 5, 2018
man Update Makefiles for out-of-source builds Feb 12, 2013
mio CID 90842 Free MIO fd on failed fcntl May 3, 2016
router CID 90844 Drop incoming conn if unable to get port May 3, 2016
s2s add printing of domain when trying to send to non-whitelisted domain Mar 5, 2018
sm fix spelling Mar 5, 2018
storage authreg_ldapfull: adapt to openssl-1.1 Apr 26, 2018
subst Fix compilation warnings Sep 25, 2012
sx sx/ssl.c: fix undefined behaviour with openssl-1.1 Apr 26, 2018
tests Support out-of-source build May 22, 2016
tools Updated git release help May 22, 2016
util fix spelling Mar 5, 2018
win32 Reverted r861 r862 - libunbound does not report TTL and needs to be p… Dec 15, 2009
.gitignore Added .pro file for Qt-Creator Apr 29, 2016
.travis.yml Added Coverity Scan to Travis CI Apr 12, 2016
AUTHORS Remove presence routing optimisations. Jun 13, 2009
COPYING jabberstudio CVS import Apr 16, 2006
ChangeLog Replace ChangeLog with link to GitHub commit log Nov 18, 2013
Doxyfile.in jabberstudio CVS import Apr 16, 2006
Makefile.am Fixed cppcheck-detected issues May 22, 2016
NEWS Updated NEWS Jul 1, 2017
README README is required by autotools Jul 21, 2015
README.config Added README.config about node value substitution Oct 8, 2011
README.md Fix Gitter badge Apr 22, 2018
README.protocol Updated supported protocol listing Jan 24, 2008
README.win32 Reverted r861 r862 - libunbound does not report TTL and needs to be p… Dec 15, 2009
TODO jabberstudio CVS import Apr 16, 2006
acinclude.m4 clean up acinclude.m4 Dec 15, 2009
config.rpath jabberstudio CVS import Apr 16, 2006
configure.ac configure.ac: adapt to openssl-1.1 Apr 26, 2018
jabberd2.pro CID 90881 authreg_ldapfull: return code signed comparison May 3, 2016
license-header Updated license template Jan 24, 2008

README.md

jabberd2

Jabber Open Source Server (2.x)

Build Status Coverity Scan Build Status Join the chat at Gitter Flattr this

Thanks for downloading jabberd2. Below are some basic instructions to get you started. Complete documentation is available at http://jabberd2.org/

-- the jabberd team

Required packages:

Optional packages:

Build:

% ./configure
% make
% make install

Options to ./configure:

% ./configure --help
[...]

Configure:

Edit $prefix/etc/(router|sm|c2s|s2s).xml to taste. In particular, make sure you setup for your choice of data storage correctly. If you're using the Berkeley DB backend, you'll need to create /var/run/jabberd and sets its permissions so that the server processes can find it.

If you're using a SQL backend, you'll need to create an account for the server to use, and create the tables. Load db-setup.mysql or db-setup.pgsql from the tools/ directory into your database to do this.

If you plan to use the jabberd wrapper script, make sure you look at the paths in the $prefix/etc/jabber/jabberd.cfg.

Run:

You can either run all of the pieces separately:

% $prefix/bin/router &
% $prefix/bin/s2s &
% $prefix/bin/sm &
% $prefix/bin/c2s &

Or you can run them all from the jabberd wrapper script:

% $prefix/jabberd &

All the processes can take the following switches:

-c use an alternate config file
-D output lots of debugging info (if compiled with --enable-debug)

Upgrade:

Please see NEWS file.

Support:

When requesting assistance, please note that the following things can provide useful information which may assist with finding your problem:

  • debug logs (compile with --enable-debug and run with -D)
  • running components seperately (ie without the wrapper script)
  • config.log

Please try to provide as much relevant information as possible when reporting problems - it will make helping you much easier.

Copyright & License:

jabberd - Jabber Open Source Server
Copyright (c) 2002-2012 Jeremie Miller, Thomas Muldowney,
                        Ryan Eatmon, Robert Norris, Tomasz Sterna.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA02111-1307USA

As a special exception, the authors give permission to link this
program with the OpenSSL library and distribute the resulting binary.

subst/snprintf.c and util/base64.c were originally taken from the Apache web server project. Originally copyright (c) 1995-2003 Apache Software Foundation.

util/md5.c was taken from Ghostscript. Originally copyright (c) 1999-2002 Aladdin Enterprises.

util/sha1.c was taken from Mozilla. Originally copyright (c) 1995-1999 Cryptography Research, Inc.

subst/getopt.[ch] was taken from GNU Libc. Originally copyright (c) 1987-1993 Free Software Foundation, Inc.

subst/gettimeofday.c was taken from PostgreSQL. Originally copyright (c) 2003 SRA, Inc. & SKC, Inc.

subst/syslog.[ch] was taken from Bind. Originally copyright (c) 2001 Internet Software Consortium.

subst/inet_aton.c Originally copyright (c) 1995-1997 Kungliga Teniska Hogskolan

subst/ip6_misc.h Originally copyright (c) 1993,1994,1997 The Regents of the University of California.

subst/dirent.[ch] Originally copyright (c) 1997,2003 Kevlin Henney.