Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:dpi:dpi_options:opt_filtration:filtration_info:start [2022/04/04 06:34] – kuligina | en:dpi:dpi_options:opt_filtration:filtration_info:start [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== 5 Diagnostics ====== | ||
| - | {{indexmenu_n> | ||
| - | VAS Experts DPI logs are placed to /// | ||
| - | The file fastdpi_alert.log contains the information on errors and informative events. The first field denotes the message class. The diagnostic information and the message text or error text are placed next. | ||
| - | |||
| - | The information on successful renewal of black lists from cloud service: | ||
| - | < | ||
| - | [INFO ] bl_updater_thread : URL black list download with result, rc=1001 : Success. | ||
| - | [INFO ] bl_updater_thread : IP black list download with result, rc=1001 : Success. | ||
| - | </ | ||
| - | |||
| - | The file fastdpi_stat.log contains statistical information. | ||
| - | |||
| - | The number of verified and blocked URL (for HTTP protocol): | ||
| - | < | ||
| - | url/ | ||
| - | </ | ||
| - | |||
| - | The number of verified and blocked sessions by certificate (for HTTPS protocol): | ||
| - | < | ||
| - | ssl/ | ||
| - | </ | ||
| - | |||
| - | The number of verified and blocked packets by IP (for HTTPS protocol): | ||
| - | < | ||
| - | https/ | ||
| - | </ | ||
| - | |||
| - | Check that the lists are up to date, the date is usually not far in the past (a few hours): | ||
| - | < | ||
| - | ls -la / | ||
| - | </ | ||
| - | |||
| - | Check if [[en: | ||
| - | < | ||
| - | bpctl_util all get_bypass | ||
| - | |||
| - | Mistake: | ||
| - | -bash: bpctl_util: command not found | ||
| - | Means you don't have a bypass | ||
| - | </ | ||
| - | |||
| - | Check if there is a service on the subscriber, if there is, whether it corresponds to the [[en: | ||
| - | < | ||
| - | looking for a login by IP (if logins are used) | ||
| - | fdpi_ctrl list all --bind_multi | grep 192.168.1.100 | ||
| - | user_100: | ||
| - | |||
| - | check the status of the service: | ||
| - | fdpi_ctrl list --service 4 --login user_100 | ||
| - | Autodetected fastdpi params : dev=' | ||
| - | connecting 192.168.0.2: | ||
| - | |||
| - | ================================ | ||
| - | |||
| - | user_100 4 (0x8) default | ||
| - | Result processing login=user_100 : | ||
| - | 1/1/0 | ||
| - | Total: filtering service is active | ||
| - | |||
| - | Checking the state of the parameter: | ||
| - | service fastdpi reload | ||
| - | grep black_list_sm / | ||
| - | black_list_sm : 0 | ||
| - | |||
| - | ATTENTION! The parameter is set by default, which means that the inversion works - the active service disables filtering on the subscriber. | ||
| - | For details, see the section on filtering service management. | ||
| - | </ | ||
| - | |||
| - | Check that the test subscriber' | ||
| - | < | ||
| - | check that the log files do not exceed 1GB: | ||
| - | ls -la / | ||
| - | if it exceeds then do: | ||
| - | echo "" | ||
| - | echo "" | ||
| - | echo "" | ||
| - | echo "" | ||
| - | |||
| - | Set the IP address of the test computer in the / | ||
| - | trace_ip=< | ||
| - | After installation do: | ||
| - | service fastdpi reload | ||
| - | |||
| - | Sample verification for protonmail.com: | ||
| - | 1. Request | ||
| - | wget protonmail.com | ||
| - | --2020-02-09 19:50:15-- http:// | ||
| - | Resolving protonmail.com... 5.3.3.17, 2a02: | ||
| - | Connecting to protonmail.com|5.3.3.17|: | ||
| - | HTTP request sent, awaiting response... 302 Moved Temporarily | ||
| - | Location: http:// | ||
| - | --2020-02-09 19:50:16-- http:// | ||
| - | Resolving vasexperts.ru... 45.151.108.17 | ||
| - | Connecting to vasexperts.ru|45.151.108.17|: | ||
| - | HTTP request sent, awaiting response... 200 OK | ||
| - | |||
| - | 2. checking log entries | ||
| - | grep -E " | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | -- | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | / | ||
| - | |||
| - | The log shows that the resource is blocked: | ||
| - | ... url_blocked=0x22 ... | ||
| - | and redirected to the blocking page: | ||
| - | NEW_URL=http:// | ||
| - | |||
| - | </ | ||