2017 © Pedro Peláez
 

project ipositif

Internet Positif Generator

image

bahirul/ipositif

Internet Positif Generator

  • Friday, July 14, 2017
  • by bahirul
  • Repository
  • 1 Watchers
  • 1 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

IPOSITIF

Internet postif domain list generator., (*1)

Web untuk generate domain blacklist atau whitelist. Implementasi untuk pi-hole dan bind9., (*2)

Stuktur Direktori


  base/               contains base and init class
  commands/           contains console commands
  config/             contains application configurations
  controllers/        contains Web controller classes
  data/               contains generated data
  public/             contains the entry script and Web resources
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application

Fitur

  • Validasi domain otomatis
  • Blacklist dan Whitelist dari Kominfo Server
  • Bind RPZ Format (Upcoming)

Instalasi

Via composer :, (*3)

  1. install : composer create-project bahirul/ipositif:"dev-master"
  2. composer update
  3. Setup web server
  4. Setup cron

Manual via git :, (*4)

  1. git clone https://github.com/bahirul/ipositif.git
  2. composer update
  3. Setup web server
  4. Setup cron

Konfigurasi apache 2.4

<Virtualhost *:80>
  ServerName ipositif.domain
  DocumentRoot "/var/www/html/ipositif/public"
  <Directory "/var/www/html/ipositif/public">
      RewriteEngine on
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteRule . index.php
      Require all granted
  </Directory>
</Virtualhost>

Konfigurasi cron

path-applikasi : root folder ipositif (contoh: /var/www/html/ipositif), (*5)

update cron kominfo list dieksekusi setiap hari senin jam 10 pagi., (*6)

0 10 * * mon <cron-user> php <path-applikasi>/ipositif kominfo:fetch blacklist
0 10 * * mon <cron-user> php <path-applikasi>/ipositif kominfo:fetch whitelist

Url Download list

  1. kominfo blacklist : http://ipositif.domain/kominfo/blacklist
  2. kominfo whitelist : http://ipositif.domain/kominfo/whitelist

Screenshot

ipositif, (*7)

License

ipositif is released under the BSD 3-Clause License. See the bundled LICENSE.md for details., (*8)

The Versions