<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Chillispot Forum — Out of free connection]]></title>
		<link>http://www.chillispot.org/chilliforum/topic490-out-of-free-connection.html</link>
		<atom:link href="http://www.chillispot.org/chilliforum/feed-rss-topic490.xml" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Out of free connection.]]></description>
		<lastBuildDate>Wed, 30 Jun 2010 13:06:18 +0000</lastBuildDate>
		<generator>PunBB 1.4.4</generator>
		<item>
			<title><![CDATA[Re: Out of free connection]]></title>
			<link>http://www.chillispot.org/chilliforum/post1402.html#p1402</link>
			<description><![CDATA[<p>Ok, for anyone that was interested or finds this, it looks like I might have the error resolved, also I am running chilli on a WRT54gl running ddwrt.&nbsp; I found out that I had someone trying to brute force the router from the outside and resolved that issue. I turned off certain services to free more ram and I would still encounter the same problem.&nbsp; Finally I noticed that around every five minutes a group of 16MAC addresses would try to request a DHCP lease, and then tried to release it.</p><p>These MAC addresses were malfunctioning Access Points that were set to static IP addresses. After a firmware update they stopped requesting the leases and the problem has at least delayed itself over 14hours now which is quite an improvement.</p><p>Since the other routers have had this error once or twice I am thinking that there is some other issue at work, but if its only every few days I can write a script to just restart the service or reboot them in the middle of the night.</p>]]></description>
			<author><![CDATA[null@example.com (disbroc)]]></author>
			<pubDate>Wed, 30 Jun 2010 13:06:18 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/post1402.html#p1402</guid>
		</item>
		<item>
			<title><![CDATA[Re: Out of free connection]]></title>
			<link>http://www.chillispot.org/chilliforum/post1399.html#p1399</link>
			<description><![CDATA[<p>Hmm, after watching the logs more it seems that a &quot;Peer protocol not defined&quot; tends to appear more often and the other messages have stopped appearing on the one router running chillispot for some reason. Of course I can find little information into what this actully means. If anyone has any clues or advice, please let me know.</p><p>Thanks <img src="http://www.chillispot.org/chilliforum/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (disbroc)]]></author>
			<pubDate>Tue, 29 Jun 2010 12:07:28 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/post1399.html#p1399</guid>
		</item>
		<item>
			<title><![CDATA[Re: Out of free connection]]></title>
			<link>http://www.chillispot.org/chilliforum/post1396.html#p1396</link>
			<description><![CDATA[<p>OK, I have changed the network on one of the routers from 192.168.182.0/23 to add some more hosts to see if that addresses the problem, although it would be nice, I have my doubts.</p><p>The only real information I have found searching around for these errors comes from the source <a href="http://chillispot.sourcearchive.com/documentation/1.0-9ubuntu1/chilli_8c-source.html">http://chillispot.sourcearchive.com/doc … ource.html</a></p><div class="codebox"><pre><code>int static newconn(struct app_conn_t **conn)
{

  if (!firstfreeconn) {
    sys_err(LOG_ERR, __FILE__, __LINE__, 0,
          &quot;Out of free connection&quot;);
    return -1;
  }</code></pre></div><p>and</p><div class="codebox"><pre><code> if (options.debug) printf(&quot;New DHCP connection established\n&quot;);

  /* Allocate new application connection */
  if (newconn(&amp;appconn)) {
    sys_err(LOG_ERR, __FILE__, __LINE__, 0,
          &quot;Failed to allocate connection&quot;);
    return 0;
  }</code></pre></div><p>It looks like, there are error messages pertaining to not being to allocate a free IP, while I am guessing some part of the connection process is what is giving me trouble here.</p>]]></description>
			<author><![CDATA[null@example.com (disbroc)]]></author>
			<pubDate>Mon, 28 Jun 2010 14:14:17 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/post1396.html#p1396</guid>
		</item>
		<item>
			<title><![CDATA[Out of free connection]]></title>
			<link>http://www.chillispot.org/chilliforum/post1394.html#p1394</link>
			<description><![CDATA[<p>Ok, my syslog looks about the same as the guy who posted a similar post, but never received a reply.</p><p><a href="http://www.chillispot.info/chilliforum/viewtopic.php?id=259">http://www.chillispot.info/chilliforum/ … php?id=259</a></p><p>I am running this on DDWRT-v24 sp2</p><p>This started fairly suddenly and was not having issues (at least not this frequent). After the router runs for several hours I usually start to see a few error messages saying &quot;Peer protocol is not defined&quot;. Shortly after I will start to see MAC address come through that are requesting DHCP leases, but I am greeted by error messages like the following:</p><div class="quotebox"><blockquote><p>2010-06-28 00:00:56&nbsp; &nbsp; Daemon.Info&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:00:56 chillispot[430]: chilli.c: 1088: Rereading configuration file and doing DNS lookup</p><br /><p>2010-06-28 00:01:01&nbsp; &nbsp; Daemon.Notice&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:01:01 chillispot[430]: chilli.c: 3513: New DHCP request from MAC=00-02-6F-59-45-F2</p><br /><p>2010-06-28 00:01:01&nbsp; &nbsp; Daemon.Error&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:01:01 chillispot[430]: chilli.c: 1190: Out of free connection</p><br /><p>2010-06-28 00:01:01&nbsp; &nbsp; Daemon.Error&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:01:01 chillispot[430]: chilli.c: 3532: Failed to allocate connection</p><br /><p>2010-06-28 00:01:01&nbsp; &nbsp; Daemon.Notice&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:01:01 chillispot[430]: chilli.c: 3513: New DHCP request from MAC=00-02-6F-59-45-F4</p><br /><p>2010-06-28 00:01:01&nbsp; &nbsp; Daemon.Error&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:01:01 chillispot[430]: chilli.c: 1190: Out of free connection</p><br /><p>2010-06-28 00:01:01&nbsp; &nbsp; Daemon.Error&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:01:01 chillispot[430]: chilli.c: 3532: Failed to allocate connection</p><br /><p>2010-06-28 00:01:01&nbsp; &nbsp; Daemon.Notice&nbsp; &nbsp; 10.255.255.3&nbsp; &nbsp; Jun 28 06:01:02 chillispot[430]: chilli.c: 3513: New DHCP request from MAC=00-02-6F-59-45-F8</p></blockquote></div><p>Restarting the router does seem to fix the problem.</p><br /><p>I was wondering if the problem might be from running out of IP addresses to lease but figured I would receive a different error if this was the case. Can chilli only make or keep so many active connections at a time, independent of the amount of DHCP leases? </p><p>Any advice would be very helpful, there seems to be precious little information on the subject.</p><br /><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (disbroc)]]></author>
			<pubDate>Mon, 28 Jun 2010 13:30:05 +0000</pubDate>
			<guid>http://www.chillispot.org/chilliforum/post1394.html#p1394</guid>
		</item>
	</channel>
</rss>
