hexchat / hexchat

GTK+ IRC client
https://hexchat.github.io
GNU General Public License v2.0
3.07k stars 536 forks source link

STS implementation #2038

Open TehPeGaSuS opened 7 years ago

TehPeGaSuS commented 7 years ago

Hello. Hope that this isn't a duplicate issue. I've searched but didn't found anything like this. UnrealIRCd now support draft/sts as it can be seen here: https://github.com/unrealircd/unrealircd/commit/84776eeeb2a8d703e67859bf210e9919d15ba71c Hope this can help to enhance HexChat. It's a good implementation to force users to connect always over SSL, since nowadays there's no excuse to not use encryption on our communications. Cheers. Exterminador

TingPing commented 7 years ago

I made an implementation here: https://github.com/TingPing/irc-client/commit/deb27ea7c32afad5b88ac477166f65d5ded0dccc

The only thing that maps poorly to HexChat is how a single "network" in HexChat is made up of multiple servers. I'm not sure the best way to deal with that.

TehPeGaSuS commented 7 years ago

UnrealIRCd uses this: https://www.unrealircd.org/docs/Configuration#Allow_block and numeric 010 as RPL_REDIR as it can been seen here: https://github.com/unrealircd/unrealircd/blob/unreal40/src/s_err.c#L38 Not sure if this helps in anything (at least it can help HexChat to work flawlessly with UnrealIRCd maybe?)

TehPeGaSuS commented 7 years ago

Would be great if HexChat upon receiving that numeric initiate by itself the connection over SSL. Not sure if that's even feasible.

TingPing commented 7 years ago

I would like to focus on STS since it will be standardized across multiple servers.

TehPeGaSuS commented 7 years ago

Sure that's the best option. Not sure yet how will HexChat handle with server/port redirection. I can try it later on and give some feedback.

searedvandal commented 6 years ago

Has there been any more work on implementing STS in Hexchat?