From charlesreid1

Revision as of 22:47, 25 March 2017 by Admin (talk | contribs) (→‎Stunnel)

Wifi Boat Overview

Services

UGR wifi boat ships the following services in Docker containers:

  • stunnel server
  • web server (hello world, report, file management)
  • https web server 9hello world)
  • mongodb database

Stretch goals:

  • Data to inform the server about processes that are running? How to install a program that runs on the pi and tries to call home and send updates on information going on with the operating system, running processes, etc.?

Please make a note:

  • The UGR wifi boat does not receive or process raw packet data. The Raspberry Pi device will extract network data, either by using a tool that extracts relevant information or by running a tool like scapy or aircrack on the Raspberry Pi to capture and process network data local to the Pi. Only small, digested, processed data is sent back to the server.

Getting Set Up For The Boat

Make sure your node is all set: Deployment/New Node Checklist

Make sure docker installed: Docker/Installing

Boat Containers

Stunnel

Stunnel is a server/client service that allows arbitrary traffic to be transported through an encrypted HTTP over SSL layer (HTTPS). Since port 443 is usually open even on locked-down networks, this is an extremely handy tool for punching through firewalls. Due to the nature of encrypted traffic, the contents of an HTTPS packet cannot be inspected, so services that would otherwise be blocked due to their protocols, like SSH, can pass in and out of the network just fine by being wrapped up in HTTPS.

Here is the stunnel docker container on docker hub: https://hub.docker.com/r/dweomer/stunnel/

And here are the corresponding files on Github: https://github.com/dweomer/dockerfiles-stunnel

docker pull dweomer/stunnel

Github link: https://github.com/PMET-public/docker-stunnel

$ docker pull dweomer/stunnel

By looking at the dockerfile in the github repository we can see exactly how this container is set up.