Permalink
Commits on Oct 3, 2013
  1. Merge pull request #15 from gittex/multi-socket

    Add multi socket support
    apparentlymart committed Oct 3, 2013
Commits on Jul 7, 2013
  1. Merge pull request #31 from ioanrogers/djabberd_pod

    Add a help option to djabberd, and pod link to DJabberd::Config
    apparentlymart committed Jul 7, 2013
Commits on Jun 9, 2013
Commits on Oct 14, 2012
  1. Add multi socket support

    This commit adds support for multiple listening sockets per serivce.
    
    This allows listening on muliple sockets/ports for each given
    service. It is especially usefull in transitional IPv4/IPv6 setups
    w/ specific needs for socket bindings.
    
    This commit changes the config handling slightly by differntiating
    between set_config_key and add_config_key. The keywords which define
    a port binding are feed to the new add_config_key methods
    while the old set_config_key methods behave exactly as before.
    
    It will throw out a wildcard c2s bind on port 5222 if there
    are any subsequent c2s ports defined. This necessary since
    we can not bind to one port twice.
    
    It also introduces some new testcases for the new feature.
    dominikschulz committed with dominikschulz Oct 1, 2012
Commits on Oct 13, 2012
  1. Improve DJabberd::Util validation and testcases

    This commit tightens the validation in DJabberd::Util
    and adds some more testcases.
    dominikschulz committed with yannk Oct 7, 2012
  2. Don't leave eval via next

    Eval is not a loop and as such should not be left
    using loop control statements.
    
    This commit replaces those next statements with return
    statements. The control flow should be exactly the same
    since the enclosing loop will move on to the next iteration
    after a successfull return from the eval.
    dominikschulz committed with yannk Oct 7, 2012
Commits on Oct 11, 2012
  1. Merge pull request #20 from gittex/debinitfix

    Improve debian package upgrades
    abh committed Oct 11, 2012
  2. Merge pull request #21 from brong/bugfixes

    Bugfixes - XML entities, dots in usernames, local delivery namespace
    abh committed Oct 11, 2012
  3. Decode XML entites in Attributes

    We run without external entity parsing for security, but this
    means we don't parse regular named or numbered entities either,
    which breaks setting "Bob & Sue Jones" as a JID name in your
    Roster.
    
    This is fixed by using HTML::Entities to parse the 'Attributes'
    in SAXHandler.
    brong committed Oct 11, 2012
  4. Encode XML using entities for high-byte chracters

    There appears to be a bug in the SSL handling in Pidgin
    where it's counting bytes vs characters, and with a long
    roster containing multibyte characters, it corrupts the
    XML by randomly skipping some characters.
    
    This bug is somewhat insane, but it's work-aroundable
    by just sending all high-byte characters encoded as
    numbered (hex) entities.
    
    It would be nice to be smarter about quoting of quotes,
    but this seems to interoperate fine.
    brong committed Oct 10, 2012
  5. Local Delivery: replace "jabber:server" namespace with "jabber:client"

    This was causing significant interoperability issues.
    
    RFC 6120 is quite clear on this:
    
    4.8.3. XMPP Content Namespaces
    
    [...]
    
       Server implementations MUST support as default content namespaces
       both the 'jabber:client' namespace (when the stream is used for
       communication between a client and a server) and the 'jabber:server'
       namespace (when the stream is used for communication between two
       servers).  When communicating with a connected client, a server MUST
       NOT send stanzas qualified by the 'jabber:server' namespace; when
       communicating with a peer server, a server MUST NOT send stanzas
       qualified by the 'jabber:client' namespace.
    
          Implementation Note: Because a client sends stanzas over a stream
          whose content namespace is 'jabber:client', if a server routes to
          a peer server a stanza it has received from a connected client
          then it needs to "re-scope" the stanza so that its content
          namespace is 'jabber:server'.  Similarly, if a server delivers to
          a connected client a stanza it has received from a peer server
          then it needs to "re-scope" the stanza so that its content
          namespace is 'jabber:client'.  This rule applies to XML stanzas as
          defined under Section 4.1 (i.e., a first-level <message/>,
          <presence/>, or <iq/> element qualified by the 'jabber:client' or
          'jabber:server' namespace), and by namespace inheritance to all
          child elements of a stanza.  However, the rule does not apply to
          elements qualified by namespaces other than 'jabber:client' and
          'jabber:server' nor to any children of such elements (e.g., a
          <message/> element contained within an extension element
          (Section 8.4) for reporting purposes).  Although it is not
          forbidden for an entity to generate stanzas in which an extension
          element contains a child element qualified by the 'jabber:client'
          or 'jabber:server' namespace, existing implementations handle such
          stanzas inconsistently; therefore, implementers are advised to
          weigh the likely lack of interoperability against the possible
          utility of such stanzas.  Finally, servers are advised to apply
          stanza re-scoping to other stream connection methods and
          alternative XMPP connection methods, such as those specified in
          [XEP-0124], [XEP-0206], [XEP-0114], and [XEP-0225].
    brong committed Sep 25, 2012
  6. Allow dots in usernames (incomplete - should use nodeprep)

    This allows users with gmail accounts to work correctly.
    
    NOTE: gmail accounts have interesting issues with dot-stuffing
    and subscription as well...
    brong committed with brong Oct 30, 2009
Commits on Oct 7, 2012
  1. Improve debian package upgrades

    This commit adresses an issue when upgrading the DJabberd
    debian package. It the server is not running when
    the upgrade is started it will fail due to a bad exit code
    from the init script.
    
    This commit makes sure as stopped server does not hinder
    the upgrade process.
    dominikschulz committed with dominikschulz Oct 7, 2012
Commits on Oct 6, 2012
  1. Merge pull request #16 from gittex/saslwarnings

    Turn of warnings in DJabberd::SASL
    yannk committed Oct 6, 2012
  2. Turn of warnings in DJabberd::SASL

    This commit turns of the warnings in DJabberd::SASL's get_sasl_manager.
    In recent perl versions these warnings clutter the test output.
    
    Since I'm not entirely sure if removing the defined stmt. will
    silently break things I prefer to use the no warnings here.
    dominikschulz committed with dominikschulz Oct 6, 2012
Commits on Oct 5, 2012
  1. Add c2s IPv6 support

    This commit adds IPv6 c2s (listening) support to the server using
    IO::Socket::INET6 instead of IO::Socket::INET.
    
    It also relaxes the IP(v4) check of DJabberd::Util::as_bind_addr
    and introduces some new testcases.
    
    This patch works for me, but has the drawback of requiring IPv6
    capabilities even on hosts w/o (a need for) IPv6.
    
    As IPv4 is facing its end-of-life I deem this is OK, but YMMV.
    dominikschulz committed with dominikschulz Oct 1, 2012
Commits on Oct 3, 2012
  1. Merge pull request #13 from gittex/sha

    Use Digest::SHA instead of Digest::SHA1
    abh committed Oct 3, 2012
Commits on Oct 1, 2012
  1. Add travis-ci integration

    abh committed Oct 1, 2012
  2. Depend on Digest::SHA instead of Digest::SHA1.

    This commit makes DJabberd depend on Digest::SHA instead
    of Digest::SHA1. Digest::SHA is in the perl core since 5.9.3
    while Digest::SHA1 is not.
    
    Futhermore Digest::SHA1 is not available in Debian wheezy
    anymore.
    
    Conflicts:
    	debian/control
    dominikschulz committed with dominikschulz Oct 1, 2012
Commits on Aug 2, 2012
  1. Merge pull request #7 from nrr/test_requires_digest_sha1

    Add a prerequisite for Digest::SHA1 to correlate with t/lib/djabberd-test.pl
    apparentlymart committed Aug 2, 2012
Commits on Mar 25, 2012
Commits on Feb 19, 2012
  1. Merge pull request #6 from gittex/master

    Please pull my debian packaging changes
    apparentlymart committed Feb 19, 2012
  2. Fix build-time warnings.

    Remove obsoleted chdirs in debian/rules. Add VCS URIs to debian/control.
    dominikschulz committed Feb 19, 2012
  3. Bump version in debian changelog.

    This commit raises the package version in the debian changelog to
    match the CHANGES file and fixes a small location issue.
    dominikschulz committed Feb 19, 2012
  4. Restructure debian packaging.

    This commit restructures the debian packaging. First it splits off
    the modules from the djabberd package which allows installing all
    required libraries w/o getting another deamon (e.g. as build
    dependency for building other modules or custom jabberds). Second
    it adds the missing wiring to the djabberd to get an jabber
    server which is easy to set up. Including propper logging and
    an ssl certificate.
    dominikschulz committed Feb 19, 2012
  5. Remove obsolete install files.

    These modules were moved to their own repositories. Thus they
    aren't needed here anymore.
    dominikschulz committed Feb 19, 2012
Commits on Jun 13, 2011
  1. Prep for 0.85 security release

    yannk committed Jun 13, 2011
  2. Fix XML Parser to fail on external entities

    Bump dependency on LibXML to the latest because of their recent
    new() signature change
    yannk committed Jun 5, 2011
Commits on Oct 18, 2010
Commits on Jun 3, 2010
  1. Updates CHANGES

    yannk committed Jun 3, 2010
  2. Merge branch 'namespaces-fix'

    yannk committed Jun 3, 2010
Commits on Jun 2, 2010