Commit Graph

121 Commits (710276524128f20766056daa70d60ef6c1fe285b)

Author SHA1 Message Date
Matthew Vivian 7102765241 feat: Add OCSP support to federated environment
Adds Online Certificate Status Protocol (OCSP) support to the federated Openfire setup:
- Add certificate generation script with full PKI hierarchy
- Add certificate import script for Openfire keystores
- Implement OCSP responder service via Docker compose
- Update documentation with OCSP usage instructions

The -o flag can now be used with start.sh to enable OCSP support.
2024-11-21 14:09:03 +01:00
mjones216 3aac76fdcf
Merge pull request #68 from guusdk/hazelcast-5.5.0
Clustering: use Hazelcast 5.5.0
2024-11-12 10:16:26 +00:00
mjones216 aa986a48d4
Merge pull request #70 from guusdk/69_loadbalancer-startup-fix
Fix IPv6 configuration in nginx.conf files
2024-11-07 11:27:13 +00:00
Guus der Kinderen 558666b591 Fix IPv6 configuration in nginx.conf files
fixes #69
2024-11-07 12:22:48 +01:00
Guus der Kinderen 93ed45f72a Clustering: use Hazelcast 5.5.0
This updates the configuration to use a SNAPSHOT build of the Hazelcast plugin 5.5.0-1, and updated its configuration files accordingly.

Note that this requires Openfire (the container) to use Java 17 or later.
2024-11-05 20:37:43 +01:00
Guus der Kinderen 2488798304 Ipv6: Add `java.net.preferIPv6Addresses` property
Based on feedback from the Hazelcast community, this adds a Java networking property to help use Hazelcast use IPv6.
2024-11-05 09:47:10 +00:00
Guus der Kinderen 3b4862328b Add dualstack support
This adds support for IPv6, by giving all `start.sh` scripts an `-6` argument, that causes a dualstack configuration to be loaded.

Each individual docker-compose file has been split out. Now, each file no longer defines any networking. Instead, one of two networking fragments is expected to be merged in.

When starting Openfire, a Hazelcast configuration option is passed through to the Openfire process to denote preference for IPv4 or IPv6. This passing through depends on the change in Openfire, that is introduced by 2634d4a83a

Minor other changes have been applied, that mostly make the start scripts more consistent amongst each-other.

fixes #61
2024-11-05 09:47:10 +00:00
mjones216 7d30e5e1f6
Merge pull request #65 from guusdk/hazelcast-3.0.0
Update the Hazelcast plugin (clustering) to version 3.0.0
2024-10-31 15:04:28 +00:00
Guus der Kinderen c01a940638 Update the Hazelcast plugin (clustering) to version 3.0.0
This plugin requires Openfire 4.8.1 or later.

fixes #63
2024-10-16 17:12:41 +02:00
Dan Caseley 46d4fa34db For federation, add self-signed certs to each other's truststore 2024-02-21 15:52:51 +01:00
Dan Caseley 2c114089c9
Merge pull request #51 from surevine/simple
Add simple and proxied configuration
2022-12-18 14:59:00 +00:00
Dan Caseley ced3c0cb59 Fix domains 2022-09-22 20:59:32 +01:00
Dan Caseley dc3c01aa89 Add proxy configuration 2022-08-04 23:23:28 +01:00
Dan Caseley 83b84af000 Add simple configuration 2022-08-04 23:23:13 +01:00
Dan Caseley 905c512e7b Add script to prune _data directories with sudo 2022-07-27 14:47:41 +02:00
Dan Caseley 7baa48e888 Fix federated domain plugin loading 2022-07-27 14:47:41 +02:00
Dan Caseley f8dd949970 Tidy scripts directory 2022-07-27 14:47:41 +02:00
Dan Caseley 33d97f94de Add dependency check for docker & compose 2022-07-27 14:47:41 +02:00
Dan Caseley 346a4e4005 Drop use of old style "docker-compose" in favour "docker compose" everywhere 2022-07-27 14:47:41 +02:00
Dan Caseley f9e5e43506 Fix stop errors 2022-07-27 14:47:41 +02:00
Dan Caseley 5742077a93 Fix popd noise 2022-07-27 14:47:41 +02:00
Dan Caseley 438c9ec933 Fixes 2022-07-27 14:47:41 +02:00
Dan Caseley bd38d3e9e6 Update scripts to account for file movement 2022-07-27 14:47:41 +02:00
Dan Caseley 097d29d8f5 Update scripts. More reliable stop, and mitigate #18 2022-07-27 14:47:41 +02:00
Dan Caseley 7caafe6056 Fix READMEs 2022-07-27 14:47:41 +02:00
Dan Caseley c5ff481255 Move all the files into purpose-defined subdirectories 2022-07-27 14:47:41 +02:00
Dan Caseley 7b4e49c238
Merge pull request #48 from surevine/logging_container
Add optional logging container, run compose in background
2022-01-22 13:22:24 +00:00
Dan Caseley 61fe144679 Supply separate stack stop script
Alliteration always
2021-12-23 12:31:31 +00:00
Dan Caseley a5d717688c Add optional logging container, run compose in background 2021-12-20 11:32:56 +00:00
Dan Caseley b5c5659164 Update federated setup postgres version 2021-12-20 11:31:08 +00:00
Dan Caseley 7fd1ba5d24
Merge pull request #47 from evdherberg/with-client-plugin-installed
Update of dev environment
2021-12-20 11:30:06 +00:00
Dan Caseley c7efe32e96 Update scripts to ignore fixed name formats 2021-12-20 11:28:33 +00:00
Dan Caseley d319c68a10 Update blocking to ignore fixed names
Docker Compose may use hyphens or underscores, depending on platform or version
2021-12-20 11:16:40 +00:00
Emiel van der Herberg d6f5761fbc No copying of hazelcast plugin to non-clustered openfire environments. No default inclusion of monitoring plugin. 2021-12-02 13:06:14 +01:00
Emiel van der Herberg 75f74b5795 Update for dev environment, containing:
- Unified structure for auto-loading plugins for different modes of operation
- Added in heapdump/monitoring/jsxc plugins for auto-loading
- Modified scripts to work with (docker compose 2) default of using hyphens for creating service names
- Fixed copy monitoring plugin script and added copy hazelcast plugin script
- Extra scripts for blocking and unblocking server 2 in federation mode
2021-12-01 12:43:18 +01:00
Emiel van der Herberg d158ab353e Merge branch 'master' into with-client-plugin-installed 2021-12-01 12:19:31 +01:00
Dan Caseley ef4c0660a4 Bump hazelcast 2021-12-01 10:07:51 +00:00
Guus der Kinderen f3ec9a1468 Remove debug logging flag in database
By setting the 'debug' flag in the database, Openfire will, at boot time, override the configuration in log4j2.xml.

When debug logging is desired, it's best to configure that in the log4j2.xml file instead of in the database.
2021-12-01 10:26:32 +01:00
Guus der Kinderen 5c8c654542 Update log file locations
Openfire 4.7.0 brings a change to the name of the log files. They've been renamed from 'all.log' to 'openfire.log'.

This commit applies the same change to this project.
2021-12-01 10:26:22 +01:00
Dan Caseley eb2a20911e Postgres trivial bump 2021-11-12 15:29:19 +01:00
Dan Caseley d6e8f727d3 Latest hazelcast
Only change is the cache name change (49e4b5)
2021-11-12 15:29:19 +01:00
Dan Caseley f87d5fdaf2 Plugins for federating xmpp cluster 2021-11-02 09:31:12 +01:00
Dan Caseley 89cb3e1b61 Update Hazelcast plugin to latest master 2021-10-28 08:06:32 +02:00
Dan Caseley baf835561e Load balance connections from other domain over s2s via nginx
Prevents otherxmpp always preferring a connection to node 3 in the cluster.

My testing shows clients from both sides being able to initiate and connect to a MUC on the other side of the s2s connection, although I'm certain that the timings and strategy might want tuning for anything production-like (and perhaps even for testing environments if we hit issues)
2021-10-22 16:25:56 +02:00
Emiel van der Herberg 331bcdaff8 Merge branch 'with-client-plugin-installed' of https://github.com/evdherberg/openfire-docker-compose into with-client-plugin-installed 2021-10-12 11:34:35 +02:00
Dan Caseley b56573508f
Merge pull request #40 from guusdk/hazelcast-update
Update hazelcast plugin
2021-10-04 15:36:07 +01:00
Guus der Kinderen 3406ebad03 Update hazelcast plugin
This version of the plugin has been built using the latest changes to the project (migrating the non-Hazelcast specific session code to Openfire).
2021-09-30 17:17:05 +02:00
Emiel van der Herberg 423b589e69 Merge branch 'master' into with-client-plugin-installed 2021-09-30 13:52:35 +02:00
Emiel van der Herberg 4790b2b324
Merge branch 'surevine:master' into with-client-plugin-installed 2021-09-30 13:51:46 +02:00
Emiel van der Herberg 00efb4c576
Merge branch 'surevine:master' into master 2021-09-30 13:31:19 +02:00