Giter VIP home page Giter VIP logo

meirkr / gatesentry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fifthsegment/gatesentry

0.0 1.0 0.0 16.8 MB

GateSentry is a complete Web Filtering suite for the Raspberry Pi that supports both HTTP and HTTPS filtering. It can be downloaded and used as a SD-CARD image from : www.abdullahirfan.com/my-projects/gatesentry/.

Python 11.74% HTML 21.96% ApacheConf 0.01% PHP 2.03% Shell 0.12% CSS 0.04% C 64.08%

gatesentry's Introduction

GateSentry

A Free webfilter + Parental Controls Suite for the Pi

IMPORTANT UPDATE :

28-March-2017 : A newer, better GateSentry's here. This version will soon be Deprecated, in favor of this one.

GateSentry is a complete Web Filtering suite for the Raspberry Pi that supports both HTTP and HTTPS filtering. It can be downloaded and used as simply as a SD-CARD image .

Features
  • SSL Filtering
  • File Download restriction based upon MIME types
  • Phrase based content restriction
  • Individual Site blocking
  • Ad Blocking
  • Switch Internet access on or off.
  • Updated Squid
  • Support for all Raspberry Pi boards upto Raspberry Pi 3
  • Built in Wifi Access point for the Pi3
  • Sets up proxy automatically on clients using WPAD, works out of the Box on the Pi3 and Pi2 (if * your Wifi Device is supported)
  • Support for OTA updates
  • Its Free!
Screenshots

1 - Main Screen Main-Screen 2 - Change built-in Wifi name and password Wifi-pass 3 - Disable Internet access for Wifi Clients Disable-access 4 - Edit Filters Edit-filters

Download and Initial Setup Guide

https://www.abdullahirfan.com/releasing-gatesentry-v1-0-beta/

Using a self-signed certificate

Even though GateSentry comes with its own certificate, for security purposes you're encouraged to generate your own. Here's how:

openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days XXX

Under the hood

GateSentry is powered by:

  • Squid3 compiled with sslbump
  • Dansguardian for http filtering
  • GateSentry's ICAP server for https filtering
  • PHP5 and Sqlite powered by Laravel (for the Administration panel)

Compiling and Running

####ICAP Server GateSentry's source uses the Python 2.7 interpreter.

To Run:

python icap_server.py [path of .cfg file here]

Example:

python icap_server.py icap_server.cfg

Administration Panel

The admin panel is powered by Laravel, so you'll need a webserver to run it. On the Raspberry Pi GateSentry uses Lighttpd to serve the administration panel.

Just provide the following path as your document Root to Lighttpd:

<base_path>/Gatesentry/admin_panel/site/public/

Squid3

GateSentry uses Squid3 with -sslbump enabled. GateSentry's Squid3 config file can be found in the Squid3 labelled folder of this repo.

####Dansguardian

Config file available in the repo.

###Running GateSentry

Once everything is in place (Squid3, Dansguardian, GateSentry's ICAP server and the Lighttpd). Start services in the following order :

  1. Lighttpd
  2. Squid3
  3. Dansguardian
  4. GateSentry

gatesentry's People

Contributors

abdullah1213 avatar fifthsegment avatar

Watchers

 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.