<p>Incorporates firewall changes suggested by <a href="https://github.com/raniarho" class="user-mention">@raniarho</a> in <a href="https://github.com/opentechinstitute/commotion-router/pull/116" class="issue-link" title="Authentication attempts limit">#116</a> with some modifications.<br>
Partially addresses <a href="https://github.com/opentechinstitute/commotion-router/issues/30" class="issue-link" title="Authentication attempts should be logged and/or limited">#30</a>.</p>

<p>To test:<br>
1. Flash the node and configure it as a gateway<br>
2. Log in and make note of the public-facing IP address.<br>
3. Connect another machine to the same network as the node, but not to the node itself. You should not receive an IP address from the node or be inside the commotion network.<br>
4. SSH to the node and enter an invalid password until you are disconnected (3 attempts), then immediately repeat. On the fourth attempt within 1 minute your connection should be denied.</p>

<hr>

<h4>You can merge this Pull Request by running</h4>
<pre>  git pull https://github.com/opentechinstitute/commotion-router ssh-rate-limit</pre>
<p>Or view, comment on, or merge it at:</p>
<p>  <a href='https://github.com/opentechinstitute/commotion-router/pull/120'>https://github.com/opentechinstitute/commotion-router/pull/120</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Create firewall.user</li>
  <li>Update firewall</li>
  <li>Update firewall</li>
  <li>Merge branch 'master' of https://github.com/RaniaRho/commotion-router into ssh-rate-limit</li>
  <li>Fixed typo in /etc/firewall.user</li>
  <li>Moved firewall.user rules to /etc/config/firewall.</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/opentechinstitute/commotion-router/pull/120/files#diff-0">default-files/etc/config/firewall</a>
    (15)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/opentechinstitute/commotion-router/pull/120.patch'>https://github.com/opentechinstitute/commotion-router/pull/120.patch</a></li>
  <li><a href='https://github.com/opentechinstitute/commotion-router/pull/120.diff'>https://github.com/opentechinstitute/commotion-router/pull/120.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/commotion-router/pull/120'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/3074564__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxMzQ2OTYzMSwiZGF0YSI6eyJpZCI6MzAzNDgxNTZ9fQ==--f1eb16fa4efae2d6aca486cd723e0ccad345ba20.gif' height='1' width='1'></p>