Skip to content

Releases: cablelabs/micronets-gw

Release v1.0.37 - basic host- and port-level allow/deny rule support

19 Jun 01:08
4840cd1
Compare
Choose a tag to compare

Installation

Installation of the micronets gateway components can be performed using the following:

echo "-----------------------------------------------------------------------------"
echo "INSTALLING PYTHON-PIP, VIRTUALENV, and DNSMASQ"
echo "-----------------------------------------------------------------------------"
sudo apt-get update
sudo apt-get -y install python-pip virtualenv dnsmasq

echo "-----------------------------------------------------------------------------"
echo "INSTALLING OPENVSWITCH 2.9.2"
echo "-----------------------------------------------------------------------------"

for package in libopenvswitch_2.9.2-1_amd64.deb openvswitch-common_2.9.2-1_amd64.deb openvswitch-switch_2.9.2-1_amd64.deb ;
do curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/v1.0.37/${package};
sudo dpkg -i ${package} ;
done

echo "-----------------------------------------------------------------------------"
echo "INSTALLING PYTHON 3.6"
echo "-----------------------------------------------------------------------------"

for package in libpython3.6-minimal_3.6.5-5.16.04.york1_amd64.deb libpython3.6-stdlib_3.6.5-5.16.04.york1_amd64.deb
python3.6-minimal_3.6.5-5.16.04.york1_amd64.deb python3.6_3.6.5-5.16.04.york1_amd64.deb ;
do curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/v1.0.37/${package};
sudo dpkg -i ${package} ;
done

echo "-----------------------------------------------------------------------------"
echo "INSTALLING MICRONETS GATEWAY COMPONENTS"
echo "-----------------------------------------------------------------------------"

curl -L -O https://github.com/cablelabs/micronets-gw/releases/download/v1.0.37/micronets-gw-1.0.37.deb
sudo dpkg -i micronets-gw-1.0.37.deb 

This last package should (1) install the micronets gateway service in the /opt/micronets-gw directory, (2) install the ifup/down and dnsmasq extension scripts for the configuration of openvswitch and the micronets-gw service via /etc/network/interfaces, (3) install a sample/etc/network/interfaces file in /opt/micronets-gw/doc/interfaces.sample, and (4) install and start the micronets-gw-service systemd service.

Configuration

Basic instructions for configuration can be found here:

https://github.com/cablelabs/micronets-gw/tree/v1.0.37

Notes on this release

This release includes support for TCP and UDP ports to be specified in allowHosts/denyHosts statements.

e.g.
      "denyHosts": [
        "4.4.4.4",
        "34.56.78.0/24",
        "www.ietf.org:80/tcp,443/tcp"
      ]

Also includes support for EAPoL traffic.