mIRC Homepage
The upgrade from mIRC 7.36 to 7.38 appears to have changed something in the sockopen command - a script I wrote to pull API data from my ISP works fine on 7.36 but can't successfully start an https connection on 7.38.

The "tekcheck" alias in the code below should run without feedback and does on 7.36, but on 7.38 you'll see a [10101] Host disconnected error. Could anyone figure out what changed?

Thanks!

Code:
alias tekCheck {
  sockopen -e tekapi api.teksavvy.com 443
}

on 1:sockopen:tekapi: {
  if ($sockerr > 0) echo -t Socket Error on open: $sockerr message: $sock($sockname).wsmsg
  sockclose $sockname
}
Accpepted ciphers were changed in 7.37 to the following:
Quote:
ALL:!ADH:!aNULL:!eNULL:!EXP:!3DES:!RC4:!MD5:!PSK:!SRP:!DSS:!SSLv2:!LOW

Since RC4 is the only cipher available on that server the connection fails, you can remove the RC4 exclusion from the string to connect to this host. Add the following line to the [ssl] section of mirc.ini:
Quote:
ciphers=ALL:!ADH:!aNULL:!eNULL:!EXP:!3DES:!MD5:!PSK:!SRP:!DSS:!SSLv2:!LOW

I'd blame the server more than mIRC for offering such weak security, but this situation could be presented to the user more clearly.
That was it! Thank you smile
© mIRC Discussion Forums