White List and Captive Portal (Service 5)
1. Can Subnets be Added to the IP Address File and Can Ports Other Than 443 be Used, such as 80?
In the IP address list, only port 443 can be used. If it is necessary to allow URLs like http://192.162.1.1/myfunction?p=1
, you only need to add the required IP address to the whitelist of URLs or sites, for example:
1magehut.com/users.php?act=gallery&gal=81&page=4 3dmx.net 192.162.1.1
2. Is it Possible to Use a Mask in Domain Names in the File? For Example, to Avoid Listing All Third-Level Domains.
Unfortunately, using full regular expressions in the search algorithm would significantly impact DPI performance. To address this problem, we suggest the following solution:
- Configure clickstream recording to a file with the host parameter (hostname) — see metadata recording point http
- To compute third-level domains, use the following command:
grep yandex.ru clickstream.txt | sort -uniq
As a result, you will get a list of third-level domains used by subscribers on your network.