View Issue Details

IDProjectCategoryView StatusLast Update
0004900unrealircdpublic2019-03-02 14:20
ReporteryumiAssigned To 
Status confirmedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0004900: Listen blocks should support using options { websockets; };
DescriptionSince we must open a new port for non-SSL web sockets (browsers block 6667) such as 8080 we should be able to restrict that port to web socket connections only using options { websockets; };.
TagsNo tags attached.
3rd party modules



2017-03-30 20:14

administrator   ~0019726

I understand what you are asking for but could you tell us why you would actually need it?
In what scenario would you need to forbid non-websocket users to a certain port?



2019-03-01 20:40

developer   ~0020523

it could be very useful in case if there is some important notices on-connect, for example from other modules, then it should be possible to avoid disabling them for all ports, using websocket only for specific ports instead.


2019-03-02 09:48

administrator   ~0020524

Yeah, that would be useful.

When I added support for websocket I was "thinking big". Wanted to (eventually) have all UnrealIRCd's support this by default, have websockets enabled on all ports, this so web clients could connect from whatever webchat users wanted to use.

Unfortunately, reality was different. Websockets did not catch on much. Also implementations, like chrome, require disabling client certificates on ports, which rules out having websockets on all ports anyway.

So, yeah, I think we will migrate to the way "ssl" works and make it so "websocket" needs to be specified for a port explicitly.


2019-03-02 09:48

administrator   ~0020525

Last edited: 2019-03-02 09:50

View 2 revisions

Confirmed, but not a must-have target for next release. See previous comment.


2019-03-02 14:20

developer   ~0020526

I actually already wrote a module for exactly this:

Perhaps Syzop may incorporate it into base if he thinks it's useful enough. =]

Issue History

Date Modified Username Field Change
2017-03-17 19:58 yumi New Issue
2017-03-30 20:14 syzop Note Added: 0019726
2019-03-01 20:40 argvx Note Added: 0020523
2019-03-02 09:48 syzop Note Added: 0020524
2019-03-02 09:48 syzop Status new => confirmed
2019-03-02 09:48 syzop Note Added: 0020525
2019-03-02 09:50 syzop Note Edited: 0020525 View Revisions
2019-03-02 14:20 Gottem Note Added: 0020526