Giter Club home page Giter Club logo

censor's Introduction

Censor - Scheduled Website Blocker

Dependencies: iptables, ipset, systemd, cronie, bind-utils, polkit, gtk2

Censor is designed to block sites from the black list according to the schedule: days of the week, time.

It has three blocking options that differ in their effectiveness:

  • normal; sites from the list are blocked using ipset + iptables/ip6tables
  • dictionary filtering method; useful for blocking "difficult" sites like youtube.com
  • only web-surfing; method allows you to disable VPN, Torrent, Skype and other services

How to work

  • Add to the list addresses of sites without http(s) that you want to block
  • Specify the days of the week and the time interval during which the blocking will be active
  • If necessary, specify the desired blocking method (the strongest - everything is included)
  • Click the Apply button

Open a browser and check your work. If you changed the blocking rules again, the browser needs to be reopened and check the work again. The Reset button removes all locks and returns full access to the Internet.

In case the site is not blocked (eg yotube.com or similar), add another one of the same address with www. prefix at the beginning (www.youtube.com) and click Apply. Reopen your browser and check the blocking again.

Note: I remind you that the time in the scheduler is set in a 24-hour format. For example, if it is 4:27 PM on your computer, then you need to specify 16:27 in the scheduler. PM is the time after noon, i.e. after 12:00.

Tested in Mageia-8/9, ROSA 12.3, Fedora-36, LUbuntu-22.04.

Similar program: SiteBlocker - a small blocker of sites and other content by time (Linux-router).

censor's People

Contributors

akotov-dev avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

stlcours

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.