<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 href="https://github.com/kamailio/kamailio/issues/218">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36ZY0i3CRUHfCawrdsdQ8f6gsRAk7hks5oVCOTgaJpZM4FHRB6.gif" 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"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>