<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    "kamctl fifo ws.dump" shows you all websocket connections kamailio
    knows about.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 19/06/15 17:49, swuy wrote:<br>
    </div>
    <blockquote cite="mid:kamailio%2Fkamailio%2Fissues%2F218@github.com"
      type="cite">
      <p>Hello!<br>
        I have kamailio installed as a part of kazoo server (kamailio
        server and server with other apps) with enabled websocket role.
        As I see in .cfg file there is default restriction for
        connection from one IP - 50, so 51st client from the same IP
        address get 403 error. So</p>
      <p>1) How can I see how many websocket connections from one IP I
        have? (Except log messages in kamailio.log)</p>
      <p>2) Our kamailio work fine for week and a half, after that I see
        messages in kamailio log: <br>
        "[Some_IP_address] is at the maximum allowable sockets per IP,
        rejecting request for another websocket"</p>
      <p>I checked connections from OS and saw that there is one
        connection not fifty.<br>
        lsof -ni TCP:8080 | grep [Some_IP_address]<br>
        kamailio 30673 kamailio 132u IPv4 4667683 0t0 TCP
        [Some_IP_address]:webcache->[Some_IP_address]:57688
        (ESTABLISHED)</p>
      <p>After restarting kamailio all work fine for another week and a
        half and repeat.<br>
        Is it some bug?</p>
      <p
        style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>
        Reply to this email directly or <a moz-do-not-send="true"
          href="https://github.com/kamailio/kamailio/issues/218">view it
          on GitHub</a>.<img moz-do-not-send="true" alt=""
src="https://github.com/notifications/beacon/AF36ZY0i3CRUHfCawrdsdQ8f6gsRAk7hks5oVCOTgaJpZM4FHRB6.gif"
          height="1" width="1"></p>
      <div itemscope="" itemtype="http://schema.org/EmailMessage">
        <div itemprop="action" itemscope=""
          itemtype="http://schema.org/ViewAction">
          <link itemprop="url"
            href="https://github.com/kamailio/kamailio/issues/218">
          <meta itemprop="name" content="View Issue">
        </div>
        <meta itemprop="description" content="View this Issue on GitHub">
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>