View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004678 | unreal | module api | public | 2016-05-08 22:48 | 2016-12-30 16:08 |
Reporter | syzop | Assigned To | syzop | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 4.0.3.1 | ||||
Target Version | 4.0.10 | Fixed in Version | 4.0.10 | ||
Summary | 0004678: Support for websockets | ||||
Description | Websockets allow HTML5/JS to connect to UnrealIRCd without any extra requirements. This has been asked by two or three people now. Unfortunately nobody submits a feature request for it which is a shame... This will likely be an ugly implementation so let's stuff it in a module. | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
NOTE: Feature request added, but not working on it myself at the moment. |
|
Yup, reason we moved to InspIRCd. |
|
great, I want to know which version will include this feature? |
|
Will be ready by mid-December (or before) |
|
commit 15842b8290c52b368dce625f8f782eec3dc71f7c Author: Bram Matthys <[email protected]> Date: Sat Dec 24 13:35:37 2016 +0100 Added "websocket" module. This module provides support for WebSocket (RFC6455) so you can use IRC directly from HTML5/JS. It is still considered experimental but feel free to test it out. To do so, add this to your unrealircd.conf: loadmodule "websocket"; This module was sponsored by Aberrant Software Inc. If you want to test it, clone the UnrealIRCd git repository and use that. DO NOT try to use websocket.c on 4.0.9 (or any earlier version), it will seem to load but will not work properly. So: git clone https://github.com/unrealircd/unrealircd.git unrealircd-git cd unrealircd-git ./Config make && make install |
|
I have requested some HTML5/JS websocket example code, it will be added later in extras/ or something. Some IMPORTANT issues to be aware of with the current module: 1) set::options::show-connect-info will be automatically disabled if you use this module. This because such text would prevent websocket users from connecting. 2) For some browsers, notably Chrome, you will need to disable client certificates if you want to use wss:// (the SSL/TLS version of ws://) otherwise it would fail mysteriously. You can do this via set::ssl::options::no-client-certificate. That's not something we really recommend, though, as it would prevent the use of SSL certificates for server linking and /oper too. To work around these issues the idea is to make websocket work on dedicated ports. This so you can enable it on port XYZ and keep SSL clientcerts (and show-connect-info) on at the other ports like 6667, 6697, etc. This will be done sometime later (no ETA). |
|
Documentation added: https://www.unrealircd.org/docs/WebSocket_support |
|
Marking as resolved. When issues show up, they will be dealt with. |
Date Modified | Username | Field | Change |
---|---|---|---|
2016-05-08 22:48 | syzop | New Issue | |
2016-05-08 22:48 | syzop | Assigned To | => syzop |
2016-05-08 22:48 | syzop | Status | new => confirmed |
2016-05-08 22:48 | syzop | Assigned To | syzop => |
2016-05-08 22:49 | syzop | Note Added: 0019258 | |
2016-05-08 22:49 | syzop | Note Edited: 0019258 | |
2016-05-08 22:49 | syzop | Note Edited: 0019258 | |
2016-05-09 18:16 | blank | Note Added: 0019259 | |
2016-05-24 12:37 | taobataoma | Note Added: 0019284 | |
2016-11-26 16:06 | syzop | Assigned To | => syzop |
2016-11-26 16:06 | syzop | Status | confirmed => assigned |
2016-11-26 16:06 | syzop | Note Added: 0019537 | |
2016-11-26 16:06 | syzop | Product Version | 4.0.3.1 => 4.0.9 |
2016-11-26 16:07 | syzop | Product Version | 4.0.9 => 4.0.3.1 |
2016-11-26 16:07 | syzop | Target Version | => 4.0.9 |
2016-12-04 16:26 | syzop | Target Version | 4.0.9 => 4.0.10 |
2016-12-24 13:55 | syzop | Note Added: 0019563 | |
2016-12-24 13:55 | syzop | Note Edited: 0019563 | |
2016-12-24 13:56 | syzop | Note Edited: 0019563 | |
2016-12-24 14:00 | syzop | Note Added: 0019564 | |
2016-12-24 14:01 | syzop | Note Edited: 0019564 | |
2016-12-24 14:02 | syzop | Note Edited: 0019564 | |
2016-12-24 14:02 | syzop | Note Edited: 0019564 | |
2016-12-29 11:48 | syzop | Note Added: 0019580 | |
2016-12-30 16:08 | syzop | Status | assigned => resolved |
2016-12-30 16:08 | syzop | Resolution | open => fixed |
2016-12-30 16:08 | syzop | Fixed in Version | => 4.0.10 |
2016-12-30 16:08 | syzop | Note Added: 0019583 | |
2017-01-06 15:48 | syzop | Category | module => module api |