en:dpi:dpi_components:utilities:blcheck [Документация VAS Experts]

This is an old revision of the document!


The utility intended to check the quality of locks by lists approved by regulatory and competition authorities for the broadcasting, telecommunications and postal industries

Introduction

The utility is designed to check the quality of locks according to the telecommunication authorities (like the Russian ROSCOMNADZOR) lists. It uses original upload without processing using the cloud.

Installation and upgrade

  1. add the VAS Experts repository similar to the item 1 of DPI installation manual.
  2. install the blcheck:
    yum install -y blcheck

Start options of blcheck

usage: blcheck [-h] [-log LOGFILE] [-o OUTFILE] -r REDIRECT [-m MODE]
               [-l LOGLEVEL] [-t THREADS] [-ve]

ROSCOMNADZOR Black list check utility.

optional arguments:
  -h, --help            show this help message and exit
  -log LOGFILE, --logfile LOGFILE
                        Log file default: /var/log/blcheck.log
  -o OUTFILE, --outfile OUTFILE
                        Result output file default: stdout
  -r REDIRECT, --redirect REDIRECT
                        URL of page used for redirect
  -m MODE, --mode MODE  Mode 'default' - scan URL, domains ; ipfast - scan
                        URL, domains, IP(80,443) ; iponly - scan ip for all
                        ports
  -l LOGLEVEL, --loglevel LOGLEVEL
                        Log level (INFO,DEBUG) default: DEBUG
  -t THREADS, --threads THREADS
                        Quantity of threads for check processes
  -ve                   show program's version number and exit


Note: ipfast, iponly - are the deprecated test modes. iponly - performs full port checking, takes a very long time.

Example of running the utility

blcheck -r vasexperts.ru -l DEBUG -o out.lst

The log file

tail -f /var/log/blcheck.log