无法建立 SSL 连接
我正在使用具有 GPRS 媒体的设备来连接到运行 stunnel 的 PC。 在 TCPIP 连接上,会话数量是无限的。 然而,当涉及 SSL 连接时,最多只能进行 1062 个成功会话。 我已经尝试了 3 次,但没有什么区别。 我检查了OpenSSL代码,似乎找不到任何将SSL连接限制为1062的代码块。从SSL的角度来看,是否有任何限制连接数的东西?
是的,我使用的是后付费电话 SIM 卡,但 TCPIP 没有任何问题。 这只发生在 SSL 连接上。 我们也尝试过使用相同的 OpenSSL stunnel 连接到其他 PC,但最终最多只有 1062 个连接。
I'm using a device that's got GPRS media to connect to a PC running stunnel. On TCPIP connections, the number of sessions is limitless. However, when it comes to SSL connections, it could only go as far as 1062 successful sessions. I've tried it like 3 times but makes no difference. I've checked the OpenSSL codes and I couldn't seem to find any code block that limits SSL connection to 1062. On SSL's point of view, is there anything that limits the number of connections?
Yes, I'm using a postpaid phone SIM, but there isn't any problem with TCPIP. It only happens with SSL connections. We've tried connecting to other PC's as well using same OpenSSL stunnel, but only ends up to 1062 connections.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我想我不是唯一一个有这种问题的人。 我发现 Sun Java System Directory Server 对打开的 ssl 连接有限制,仅达到 1020 (FD_SETSIZE=1024)。 但它是硬编码的,因此您可以清楚地看到问题的原因。 然而,就我而言,我似乎找不到罪魁祸首......:(
I guess I'm not the only one having this kind of problem. I found out that Sun Java System Directory Server had a limit of opened ssl connection which only reached 1020 (FD_SETSIZE=1024). It was hardcoded though so you could obviously see the cause of the problem. In my case however, I couldn't seem to find the culprit... :(
您是否通过电话提供商连接 - 这可能是问题所在吗?
Are you connecting via a phone provider - could that be the issue?