【问题标题】:buildbot: connect to IRC server using SSLbuildbot:使用 SSL 连接到 IRC 服务器
【发布时间】:2011-01-01 00:22:05
【问题描述】:

如何使用 buildbot 的 IRC bot 连接到需要 SSL 连接的 IRC 服务器?

【问题讨论】:

    标签: python ssl twisted irc buildbot


    【解决方案1】:

    您可以使用 stunnel 修复 buildbots localhost 上的隧道,例如:

     stunnel -c -D5 -r dest.irc.server:port -d 127.0.0.1:6667
    

    然后让 buildbot 连接到 127.0.0.1:6667

    【讨论】:

    • +0 感谢您展示 stunnel - 本身就很有趣。
    【解决方案2】:

    我刚刚向 BuildBot 提交了一个小补丁,它将允许 IRC bot 连接到启用 SSL 的服务器。应该包含在下一个版本中(0.7.12?)。

    如果你想将它应用到你的设置中,它是一个 simple patch 来向后移植。

    【讨论】:

      猜你喜欢
      • 2023-01-12
      • 1970-01-01
      • 2018-12-12
      • 2016-04-27
      • 1970-01-01
      • 2014-10-16
      • 1970-01-01
      • 2020-09-13
      • 1970-01-01
      相关资源
      最近更新 更多