GithubHelp home page GithubHelp logo

daniel-eichinger-bl / privacyshield Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.08 MB

Privacy Shield Prototype for controlling Smart Home devices

License: MIT License

JavaScript 90.98% HTML 4.84% CSS 4.17%
react nodejs raspberrypi traffic-analysis iot

privacyshield's Introduction

PrivacyShield ๐Ÿ›ก

The idea of the privacy shield is to provide smart home owners with an interface to control their IoT devices. This interface should enable users to examine the traffic leaving the administrative domain and filter or obscure it based on protection classes. The prototype of the Privacy Shield runs on a raspberry pi 3. The pi is setup as a network bridge between the router and the IoT devices. A webserver with an React web application runs on the pi. The prototypes features include traffic analyzation and device blocking.

Architecture

Architecture Image Node, React, Python, Sqlite

Screenshots

screenshot1

screenshot2

Quickstart

  • modify Proxy: client/package.json to your IP-address
  • Running Node-Server and React Frontend: npm run dev
  • Running Node-Server, React Frontend, Traffic Analyzer: npm run all-dev

Useful Commands and Tools

Restart DHCPCD client

sudo systemctl restart dhcpcd

Remote Development

Installation of sqlite3

Install sqlite3: converge/instapy-dashboard#19

Iptables, Blacklisting-Approach

  • sudo modeprobe br_netfilter to enable iptables (netfilter) on bridge interface
  • Setup Rule for MAC: sudo iptables -A FORWARD -m mac --mac-source XX:XX:XX:XX:XX:XX -j DROP
  • Delete Rule for MAC: sudo iptables -D FORWARD -m mac --mac-source XX:XX:XX:XX:XX:XX -j DROP

privacyshield's People

Contributors

dependabot[bot] avatar

Watchers

Daniel Eichinger avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.