This is an old revision of the document!
In order to filter a traffic of some particular subscribers, or exclude filtering of transit traffic, or provide filtering to other operators as a service - you will need to activate Subscriber Management to control this service. Please add configuration parameter to the file /etc/dpi/fastdpi.conf to activate:
black_list_sm=1
As a result, this service is configured on level of individual subscribers by fdpi_ctrl.
Instruction format:
fdpi_ctrl command --service 4 [IP_list]
You can find more details on the instruction syntax and IP specification methods here: Control instructions
Examples:
Activate the service for all subscribers and switch filtering off for an administrator:
fdpi_ctrl load --service 4 --cidr 192.168.0.0/24 fdpi_ctrl del --service 4 --ip 192.168.0.1
Enable the service for an independent system AS50538:
fdpi_ctrl load --service 4 --cidr 37.110.240.0/21 --cidr 109.235.216.0/21