There is a similar issue with online game sites e.g. based on Adobe Flash/Shockwave Player. The quota is checked via URL request when you start playing. During the game no URL request is sent. Therefore the time quota check cannot be performed, and you get unlimited play time. The following scenario is possible: At the beginning of your play time quota you open different games in different browser tabs, getting a real huge playground for many hours. Is there any way to fix this issue within the UTM 9? I searching for a mechanism which limits the play time independently from URL requests.
Something that is probably related:
With https scanning disabled, the logs contain a single "Connect" entry for each https session.
I have determined that the Size information on the log entry represents the total volume of traffic moved during the session, and that the log entry is not written until the session is closed.
Youtube (and other Google sites) are fully https-based. So the best that we can expect is that the quota will be updated when the session is closed, at which point a new session will not be allowed, but it does not solve your problem with the long session.
Https inspection might solve the problem, because each request is logged separately. That requires deploying the UTM CA and a proxy configuration to each device.