Commit Graph

57 Commits

Author SHA1 Message Date
Travis Burtrum 7c50b1bd18 Fix fuzzing 2023-02-07 00:22:17 -05:00
Travis Burtrum 2a6dea344f Send header Access-Control-Allow-Origin: * for outgoing WebSocket connections, thanks singpolyma 2023-01-31 22:01:05 -05:00
Travis Burtrum 30ca8609d5 Fix websocket conversion code 2022-09-30 21:22:01 -04:00
Travis Burtrum f179a1c526 Implement optional support for systemd socket activation 2022-07-18 01:49:56 -04:00
Travis Burtrum 27887c2e82 Remove un-needed tokio-tungstenite features, prepare for fixing reqwest to use our root certs 2022-07-17 16:00:20 -04:00
Travis Burtrum fd7920d551 More refactoring 2022-07-17 02:34:54 -04:00
Travis Burtrum e553b4da14 Massive refactoring 2022-07-16 23:23:01 -04:00
Travis Burtrum 4498559c08 Update readme 2022-07-16 20:55:05 -04:00
Travis Burtrum 455f833879 Add and define features for conditional compilation 2022-07-16 16:27:41 -04:00
Travis Burtrum ca4dce14fd Read private keys with any headers 2022-07-14 01:20:38 -04:00
Travis Burtrum 5e38d437a9 Update dependencies 2022-06-21 23:09:50 -04:00
Travis Burtrum 90ab9f2ad7 Add logo thanks to TheCoffeMaker 2022-06-21 22:34:01 -04:00
Travis Burtrum 9d308873c7 Fallback to original domain for Host: if securely delegated websocket fails 2022-05-23 00:34:32 -04:00
Travis Burtrum cc527aae39 Replace hacky sleep with proper ejabberdctl started check 2022-05-22 23:30:10 -04:00
Travis Burtrum 06a4b7684c Make integration/test.sh able to run tests in parallel
why oh why did I write this in bash... I do this every time... will I ever learn?
2022-05-21 02:41:30 -04:00
Travis Burtrum 56846d8e50 Make mod_s2s_outgoing_proxy compatible with prosody 0.12
Based off mod_onions rev 44be2c6087f3, thanks for the pointer Zash!
2022-04-25 00:57:26 -04:00
Travis Burtrum c0a8adc3e0 Add support for proxying outgoing WebSocket connections 2022-03-25 01:32:10 -04:00
Travis Burtrum 4f5938e0ce Implement future host-meta.json proposal 2022-03-24 22:49:50 -04:00
Travis Burtrum 5f05332e37 Tweak proposed host-meta extension, add minimal example 2022-03-18 01:11:58 -04:00
Travis Burtrum 909f7ec94a Proposed host-meta extensions 2022-03-17 00:12:58 -04:00
Travis Burtrum 91837a2ad5 Add ejabberd integration tests, currently fails with prosody without dialback 2022-03-16 00:46:26 -04:00
Travis Burtrum 7a8e72e9f4 Update Cargo.lock and try to fix incorrect language detection 2022-03-15 22:35:31 -04:00
Travis Burtrum 58b68540d7 remove todo for done things 2022-03-10 01:29:41 -05:00
Travis Burtrum a5b93b10be Reload cert/key on SIGHUP 2022-03-09 23:40:17 -05:00
Travis Burtrum a8487a4f1e Revert "WebSocket host-meta tests use wildcard cert, revert after complete TLS name validation is implemented"
This reverts commit 679f6fcfc8e7bd495ec2379680eef3ee8a48c1ab.
2022-02-27 02:04:44 -05:00
Travis Burtrum 01714522ec Implement POSH and host-meta secure delegation for incoming and outgoing 2022-02-27 02:04:06 -05:00
Travis Burtrum e792da3312 Disable dialback for all tests 2022-02-23 00:21:12 -05:00
Travis Burtrum 28c5bb27e8 Complete bi-directional SASL EXTERNAL support, no more dialback needed 2022-02-23 00:20:54 -05:00
Travis Burtrum db2739a474 WebSocket host-meta tests use wildcard cert, revert after complete TLS name validation is implemented 2022-02-22 23:12:37 -05:00
Travis Burtrum f42498970c Implement most of certificate auth/sasl external for incoming connections 2022-02-22 02:51:45 -05:00
Travis Burtrum 7df66e2f78 Clean up deps, add missing server alpn 2022-02-17 00:37:22 -05:00
Travis Burtrum cff500016d Implement certificate auth/sasl external for outgoing connections 2022-02-17 00:14:40 -05:00
Travis Burtrum 27dbd346c0 Fix compilation without websocket feature 2022-02-14 01:33:58 -05:00
Travis Burtrum 77bae23d8a Add support for looking up wss:// connections via host-meta and host-meta.json and tests 2022-02-13 14:45:13 -05:00
Travis Burtrum d5dca49008 Multiplex WebSocket on the same sockets as STARTTLS and Direct TLS 2022-02-11 00:55:36 -05:00
Travis Burtrum 14baf94efb Add extensive end-to-end integration tests powered by podman 2022-02-10 01:19:39 -05:00
Travis Burtrum cb5553fb4f Add outgoing WebSocket support, major re-factor 2022-02-10 01:18:35 -05:00
Travis Burtrum 0b9b9098f0 fix clippy lints 2022-01-19 01:14:39 -05:00
Travis Burtrum bc932189a1 Update all dependencies to latest versions, test nothing :) 2022-01-19 01:09:32 -05:00
Travis Burtrum ea6e3e7026 Implement WebSocket reverse proxy support 2021-07-28 02:24:08 -04:00
Travis Burtrum 12ed7d0d86 update cargo dependency versions 2021-07-24 02:08:31 -04:00
Travis Burtrum 90a5f1837c much improved logging 2021-07-24 01:53:00 -04:00
Travis Burtrum f005907fc5 Apply clippy suggestions 2021-06-08 00:41:15 -04:00
Travis Burtrum 39bb8a337e Migrate logging to rust log with optional env_logger feature 2021-06-08 00:14:22 -04:00
Travis Burtrum 59f8e628ba Some documentation and QUIC updates 2021-05-23 22:27:12 -04:00
Travis Burtrum 0d2313e86f set SRV resolver to LookupIpStrategy::Ipv4AndIpv6 2021-05-18 00:01:49 -04:00
Travis Burtrum f127c02d45 Make QUIC S2S bidirectional too 2021-05-15 00:32:36 -04:00
Travis Burtrum 6b851312d8 Add fuzzing, fix integer underflow 2021-05-15 00:23:04 -04:00
Travis Burtrum 62a97d3721 Document new QUIC and outgoing support 2021-05-12 00:51:53 -04:00
Travis Burtrum 8e612cf02e Major re-factor, add XMPP-over-QUIC and outgoing forward support 2021-04-27 02:02:02 -04:00