Dash-Industry-Forum / DASH-IF-Conformance

This repository provides the source code for MPEG-DASH/DASH-IF Conformance Software/Validator. It has been extended according to further standards, such as CMAF, DVB-DASH, HbbTV, and CTA WAVE.
https://conformance.dashif.org/
Other
66 stars 27 forks source link

Introduce processing statistics #680

Closed wschidol closed 1 month ago

wschidol commented 11 months ago

This is a proof of concept implementation for a statistics page, showing accesses to the tool. The implementation uses the server access log and greps for "GET" and "POST" on /Utils/Process_cli.php which seem to give all the statistics that are needed.

The script that parses the access logs needs to run with root privileges. Only user www-data can call the script as root, and it is not writable for anyone except www-data. Careful review is suggested.

The output is further processed and analyzed by a php script. The php script makes a half-hearted attempt to find "unique accesses" by using the ip address of the requesting host. It is unknown whether the resulting statistics are very useful, but absent using cookies this is probably the best that can be done.