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)
- install :
composer create-project bahirul/ipositif:"dev-master"
- composer update
- Setup web server
- Setup cron
Manual via git :, (*4)
- git clone https://github.com/bahirul/ipositif.git
- composer update
- Setup web server
- 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
- kominfo blacklist : http://ipositif.domain/kominfo/blacklist
- kominfo whitelist : http://ipositif.domain/kominfo/whitelist
Screenshot
, (*7)
License
ipositif is released under the BSD 3-Clause License. See the bundled LICENSE.md
for details., (*8)