jmurth1234 / WinIRC

C# IRC Client for Windows 10, written as a UWP application.
http://rymate1234.github.io/WinIRC/
MIT License
58 stars 9 forks source link

Possible TLS issues; default port; expand default server list #20

Open unquietwiki opened 3 years ago

unquietwiki commented 3 years ago

Hey there. Cool to see this app exist; wanted to try it with https://sharkchat.com/channels/ipv6. The operator is a co-mod on r/ipv6, and they told me the servers are set up with TLS 1.3 with Let's Encrypt. Finally got it to work if I connected via port 6697, told it to ignore SSL errors, and quit+restarted the program. Since the default ports per https://datatracker.ietf.org/doc/html/rfc7194 are 6667 and 6697 respectively, I think those can be filled in whenever you toggle secure or not. Otherwise, if you test this and also get an issue, there's probably a library that needs to be updated for TLS 1.3 support.

Another thing to note. When I first fired up the app, there was a default server list that doesn't make it immediately clear you can use your own. There also seems to be a huge stink going on about Freenode right now; https://www.reddit.com/r/linux/comments/nmzv2f/psa_many_projects_have_moved_their_irc_presence/ mentions libera.chat as one of those; I think you already had OFTC in the list.

Hope all is well. Thank you again!

Saijin-Naib commented 3 years ago

+1 on possible TLS issues. Seemingly impossible to connect to Libera.Chat, which is unfortunate since most of my channels have switched from FreeNode to there in the past few weeks.

OFTC, as well.

jmurth1234 commented 2 years ago

Apologies for not replying in like almost a year, I completely missed this issue

I assume what you were trying to do is connect to port 6667 on sharkchat with secure connection on, as that's the TLS port looking at the site?

Looks like TLS 1.3 is not currently supported by the StreamSocket we use for connections, so any TLS 1.3 connections won't work.

I have been unable to reproduce issues connecting to Libera

unquietwiki commented 2 years ago

@rymate1234 thanks for getting back to this. I haven't used the client in a while; but if you need help testing a fix, I can do so. Just let me know!