Commit graph

33 commits

Author SHA1 Message Date
fhajny
57f2bb85ac Update chat/prosody to 0.10.0
- Rewritten SQL storage module with archive support
- SCRAM-SHA-1-PLUS
- prosodyctl check
- Statistics
- Improved TLS configuration
- Lua 5.2 support
- mod_blocklist (XEP-0191)
- mod_carbons (XEP-0280)
- Pluggable connection timeout handling
- mod_websocket (RFC 7395)
- mod_mam (XEP-0313)

See release notes on upgrading:

  https://prosody.im/doc/release/0.10.0#upgrade_notes
2017-11-23 22:06:15 +00:00
fhajny
7f28dc9327 Update chat/prosody to 0.9.12.
0.9.12
- Dependencies: Fix certificate verification failures when using
  LuaSec 0.6
- mod_s2s: Lower log message to 'warn' level, standard for
  remotely-triggered protocol issues
- certs/Makefile: Remove -c flag from chmod call (a GNU extension)
- Networking: Prevent writes after a handler is closed

0.9.11
- HTTP parser: Improve buffering of incoming HTTP data and add size
  limits
- sessionmanager: Fix for an issue which caused people to be kicked
  from conferences if mod_smacks was enabled
- Dependencies: Workaround for compatibility with LuaSec 0.6
- MUC: Accept missing form as "instant room" request
- C2S: Fix issues with destroying disconnected connections
- mod_privacy: Fix selection of the top resource(s)
- mod_presence: Make sure both users get each others presence after
  adding each other
- mod_http_files: Fix traceback when serving a non-wildcard path
- mod_http_files: Preserve a trailing slash in paths
- util.datamanager: Fix error handling
- net.server_event: Fix internal socket API to allow writing from
  socket.ondrain callback
- net.server_event: Fix timeout
- net.server_event: Fix traceback due to write during TLS handshake
- net.server_event: Fix buffer length check
2017-03-01 16:38:31 +00:00
joerg
fe6deb4024 Don't conflict with NetBSD's hmac(3). 2016-12-15 23:45:42 +00:00
jperkin
36e6903fd8 Remove the stability entity, it has no meaning outside of an official context. 2016-06-08 10:16:50 +00:00
jperkin
31ffe7cbb6 Change the service_bundle name to "export" to reduce diffs between the
original manifest.xml file and the output from "svccfg export".
2016-06-08 09:46:01 +00:00
jperkin
17661ff9a5 Bump PKGREVISION for security/openssl ABI bump. 2016-03-05 11:27:40 +00:00
fhajny
d72ae77f0d Skip example certs build, simplifies and fixes unprivileged installation.
Bump PKGREVISION.
2016-02-26 10:52:01 +00:00
jperkin
1755fe8fda Use OPSYSVARS. 2016-02-25 11:21:11 +00:00
fhajny
7fb5e8701b Update chat/prosody to 0.9.10.
Security
- mod_dialback: Adopt key generation algorithm from XEP-0185,
  to prevent impersonation attacks (CVE-2016-0756)

Fixes and improvements
- Startup: Open /dev/urandom read-only, to fix a failure to start
  on some systems (fixes #585)
- Networking: Improve handling of the 'select' network backend
  running out of file descriptors

Minor changes
- Networking: Increase default internal read size to prevent
  connections stalling with LuaEvent (see #583)
- DNS: Discard queries that failed to send due to connection
  errors (fixes #598)
- c2s, s2s: Lower priority of shutdown handler, so that modules
  such as MUC can always send shutdown notifications to (remote)
  users (fixes #601)
2016-02-01 12:35:33 +00:00
fhajny
3aa4c42483 Update chat/prosody to 0.9.9.
Security fixes:
- Fix path traversal vulnerability in mod_http_files (CVE-2016-1231)
- Fix use of weak PRNG in generation of dialback secrets (CVE-2016-1232)

Bugs:
- Improve handling of CNAME records in DNS
- Fix traceback when deleting a user in some configurations
- MUC: restrict_room_creation could prevent users from joining rooms
- MUC: fix occasional dropping of iq stanzas sent privately between
  occupants
- Fix a potential memory leak in mod_pep

Additions:
- Add http:list() command to telnet to view active HTTP services
- Simplify IPv4/v6 address selection code for outgoing s2s
- Add support for importing SCRAM hashes from ejabberd
2016-01-25 13:01:39 +00:00
agc
b35b0abbb4 Add SHA512 digests for distfiles for chat category
Problems found with existing distfiles:
	distfiles/icb-5.0.9.tar.gz
	distfiles/icb.2.1.4.tar.Z
	distfiles/zenicb-19981202.tar.gz
No changes made to these /distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 01:20:17 +00:00
nros
462af75fc4 Update prosody to version 0.9.8.
Changelog:
Changes ordered by priority.

High:

*    Ensure only valid UTF-8 is passed to libidn. It was found (CVE-2015-2059)
     that libidn can read beyond the boundaries of the provided buffer when an
     input string contains invalid UTF-8 sequences.

Systems where Prosody is compiled with libICU are not affected by this issue.

Medium:

*    DNS: Fix traceback caused when DNS server IP is unroutable (issue 473)
*    HTTP client: More robust handling of chunked encoding across packet
     boundaries
*    Stanza router: Fix handling of 'error' <iq>'s with multiple children

Low:

*    c2s: Fix error reply when clients try to bind multiple resources on the
     same stream (issue 484)
*    s2s: Ensure to/from attributes are always present on stream headers, even
     if empty (issue 468)
*    Build scripts: Add --libdir option to ./configure to simplify building on
     some platforms
*    Fix traceback in datamanager when used outside of Prosody
     (e.g. in some migration tools)
*    mod_admin_telnet: Fix potential traceback in server:memory()
     command (issue 471)
*    HTTP server: Improved debug logging
2015-04-15 14:05:46 +00:00
fhajny
1535145e14 Make sure to pass full LDFLAGS. Fixes build on NetBSD. 2014-12-15 11:49:50 +00:00
fhajny
170c167f75 Fix missing conditional 2014-11-27 11:21:40 +00:00
fhajny
1c54d9eba3 Update prosody to 0.9.7.
Clean up Makefile for readibility. Add SMF manifest.

Changes in 0.9.7:
- Fix server-to-server interoperability issue with Isode M-Link (since 0.9.6)
- Fix traceback in 'prosodyctl about' command with LuaRocks 2.2.0+ installed

Changes in 0.9.6:
- certmanager, net.http: Disable SSLv3 by default
- net.http.parser: Support status code 101 and allow handling of the received
  data by plugins
- util.filters: Ignore filters being added twice (fixes issues on removal,
  i.e. when some plugins are reloaded/unloaded)
- mod_s2s: Close offending s2s streams missing an 'id' attribute with
  a stream error instead of throwing an unhandled error
- Networking API: Add 'ondetach' callback for listener objects, to prevent
  leaks when connections have their listener changed
- core.stanza_router: Stricter validation of stanzas
- mod_admin_adhoc: Mark 'accountjids' field as required in 'end user sessions'
  command (thanks Lloyd)
- mod_admin_adhoc: Add required to field in user deletion form too
- net.dns: Avoid duplicate cache entries
- util.stanza: Escape newlines and tabs (\r\n\t) when serializing stanzas.
- util/dataforms: Make sure we iterate over field tags only
- mod_s2s: Capitalize log message
- mod_pubsub: Fix error type of 'forbidden' (change from 'cancel' to 'auth')

Changes in 0.9.5:
- C2S: Fix traceback if a client opens a stream to component, which could
  cause a crash in combination with some versions of LuaEvent
- C2S, S2S: Log received invalid stream headers
- S2S: Fix case where stream headers were sometimes sent twice
- DNS: Ensure all pending requests get notified of a timeout when looking
  up a record
- DNS: Fix duplicated cache insertions by limiting outstanding queries
  per name to one
- xmppstream: Disable LuaExpat's buffering
- xmppstream: Disable CharacterData merging after stream restarts
- xmppstream: Pass invalid stream headers to error handling
- Privacy lists: Correctly sort privacy list rules by order
- prosody: Check dependencies later in the startup sequence
- Config: Delay importing LuaFileSystem until needed by an Include line
- Config: Normalize VirtualHost and Component names
- prosodyctl: Normalize JIDs for adduser/passwd/deluser
- POSIX: Fix error reporting from disk space allocation
- POSIX: Verify that 'pidfile' is a string, show friendly error otherwise
- Dependency checking: Check that prosody is running under Lua 5.1. We don't
  currently support any other versions. (LuaJIT identifies as 5.1)
- Compliance: Reset stream ID when resetting stream
- Compression: Log compression setup errors
- Console: Fix commands for adding and replacing name servers
- Console MUC commands: Fix error when a non-existent host is entered
- Filters: Prevent filters from being added twice
- Network: Transfer all available data between linked sockets
- dataforms: Add support for XEP-0221: Data Forms Media Element
2014-11-27 10:18:20 +00:00
alnsn
bdc6025cdf Revbump after lang/lua51 update. 2014-10-19 22:27:43 +00:00
fhajny
60f2fba36f Add lang/lua/tool.mk to fix build with lang/lua52. 2014-06-19 13:19:24 +00:00
alnsn
fb7c78e46e Adapt to Lua multiversion support. 2014-05-03 13:01:24 +00:00
fhajny
5150dad92b Update prosody to 0.9.4.
Fix for a DoS vulnerability, see
  https://www.debian.org/security/2014/dsa-2895

Changes in 0.9.4:
- Compression: Disallow compression on unauthenticated streams
- Core: Limit default read size and maximum stanza size
- Core: Enable SASL EXTERNAL by default for component s2s
- S2S: Warn if s2s_secure_auth and s2s_require_encryption have been
  set in conflicting ways
- S2S: Warn if no local network addresses were found, preventing
  successful s2s
- MUC: Fix traceback when a non-occupant tried to change an
  occupant's role
- MUC: API: Fire an event when temporary rooms are destroyed after
  the last person leaves
- Telnet: Fixed traceback when listing users
- Telnet: Apply normalization to JIDs in user management commands
- HTTP: Fix directory detection in file server on Windows
- Plugins: Fix paths on Windows
- MOTD: Don't strip blank lines from the message provided in the config
- prosodyctl: Better error reporting when generating certificates
- Makefile: Improve FreeBSD compatibility
- Multiple fixes to our migration tools, and support for importing MUCs
  from ejabberd
2014-04-07 20:32:20 +00:00
jperkin
45bc40abb4 Remove example rc.d scripts from PLISTs.
These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or
ignored otherwise.
2014-03-11 14:04:57 +00:00
fhajny
a87a1cee13 Update prosody to 0.9.3.
Changes in 0.9.3:
- A config file passed as command line argument is no longer forgotten
  when config is reloaded
- MUC: Allow admins to always bypass restrict_room_creation
- Strip trailing '.' when normalizing hostnames
- HTTP: Prevent silent connection failures
- Components: Allow easier overriding of component authentication by plugins
- Components: Enable TCP keepalives
- Migrator: Better error reporting and improved robustness
- S2S: Include IP in log messages, if hostname is unavailable
- TLS: Log error when initialization fails

Changes in 0.9.2:
- Debian/Ubuntu packages fixed to always generate per-system certs
- TLS: Improved cipher string, and use Prosody's preferred ciphers
- MUC: Fix for Spark clients not displaying room lists
2014-03-10 13:01:17 +00:00
tron
73d05e2276 Recursive PKGREVISION bump for OpenSSL API version bump. 2014-02-12 23:17:32 +00:00
dholland
2d5ff4445e Bump PKGREVISION of packages whose Lua depends changed form, but whose
own PKGNAME is unchanged.
2013-10-30 06:49:53 +00:00
dholland
ee7e6c065b Update Lua module depends for multiversion environment; use REPLACE_LUA. 2013-10-30 06:19:17 +00:00
fhajny
6441e89b20 Update prosody to 0.9.1
Changes in 0.9.1:
* Config: Fix the workaround for LuaSec 0.4.x to apply the ssl 'ciphers'
  option correctly
* Config: Ability to specify the ssl 'dhparam' option simply as a path to
  a file, instead of a callback function
* Windows: Fix s2s issues
* Windows: Fix the ability to specify absolute paths to SSL certificates
  in the config
* Build: Fix compilation issue on non-Linux systems that have glibc (such as
  Debian GNU/kFreeBSD)
* API: Fix to our set library, that caused the :include() and :exclude()
  methods to behave incorrectly

Changes in 0.9.0:
* IPv6 support for c2s, s2s and all other services (e.g. HTTP)
* Server-to-server authentication using certificates (SASL EXTERNAL)
* A new HTTP subsystem, supporting virtual hosts, and fully reloadable modules
* Client and server connections are now handled by modules: mod_c2s, mod_s2s
* mod_pubsub: Basic pubsub service (some features not yet implemented)
* prosodyctl about - show information about a Prosody installation
* prosodyctl cert - command to generate XMPP certificates and CSRs
* Many very nice enhancements to our module API
* MUC: Configurable per-room history length
* MUC: Plugins can now extend the room configuration form

See notes on upgrading from 0.8.x:

  https://prosody.im/doc/release/0.9.0#upgrading
2013-09-13 14:37:49 +00:00
adam
f9cd38361f Revbump after updating lang/lua to 5.2.2. 2013-07-04 21:27:56 +00:00
jperkin
becd113253 PKGREVISION bumps for the security/openssl 1.0.1d update. 2013-02-06 23:20:50 +00:00
asau
4840ebad6d Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-03 00:02:33 +00:00
fhajny
3248e2af3b Fix rpath linking & typo in patch file, add a rc.d script (thanks ewdafa)
This fixes PR pkg/45357. Bump PKGREVISION.
2011-09-30 08:33:54 +00:00
schnoebe
6c67d7dc5e Update to 0.8.2. From the release announcement:
Just a small release for you this time, with a handful of bugfixes.
Thanks to '@eoranged' and the other PostgreSQL users who helped with
feedback and testing of the SQL fixes (the PostgreSQL server we use
for testing is now behaving properly!).

A summary of changes in this release:

* mod_storage_sql: Fix compatibility with PostgreSQL databases (0.8.1 issue)
* mod_bosh: Fix for sessions not timing out after inactivity in some cases
* mod_dialback: Fix multiple concurrent dialback requests for the same
  domain (was sometimes causing s2s failure with certain ejabberds)
2011-06-21 13:03:39 +00:00
schnoebe
3c49fa489a Update to prosody 0.8.1.
A security and bug fix release.  The security aspect is to mitigate the
"billion laughs" denial-of-service attack against XML parsers and XMPP
servers.

Other changes:

- Reject XML DTDs, comments and processing instructions, preventing
  the "billion laughs" attack
- Switch to MEDIUMTEXT in the schema for MySQL to avoid truncating
  large data (such as large avatars)
  Prosody automatically upgrades the table in-place if possible, see:
  http://prosody.im/doc/mysql
- Fix for endless loop when parsing certain invalid JSON
- Fix PostgreSQL compatibility in prosody-migrator
- Fix timestamp parsing for DST (affecting MUC scrollback retrieval)
- mod_legacyauth now correctly disabled for unencrypted connections by default
- Components properly inherit SSL settings and certificates from their
  'parent' hosts
- Prevent startup with no VirtualHost entries in the config file
2011-06-06 14:41:48 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
fhajny
6339c8a693 Import prosody-0.7.0 as chat/prosody.
Prosody is a flexible communications server for Jabber/XMPP written in Lua.
It aims to be easy to use, and light on resources. For developers it aims
to be easy to extend and give a flexible system on which to rapidly develop
added functionality, or prototype new protocols.

(Based on wip/prosody.)
2010-09-21 11:01:22 +00:00