Skip to content

Privacy Shield Prototype for controlling Smart Home devices

License

Notifications You must be signed in to change notification settings

daniel-eichinger-bl/privacyShield

Repository files navigation

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

About

Privacy Shield Prototype for controlling Smart Home devices

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published