connection-bytes mangle rule

here is the rule:

add chain=prerouting action=add-src-to-address-list protocol=tcp
connection-bytes=2000000-0 hotspot=from-client address-list=test69
address-list-timeout=12h comment=“” disabled=no


and what it does is after a client from the hotspot has reacehed 2MB it adds them to an address list.

however i dont understand when this resets or how the connection-bytes resets.

This mange rule works for some of my users, but others it will never add to the list.

i can watch each users QUEUE and see when they hit the 2MB limit and it will add some, but not all.

i think im not clear on how this connection-bytes rule resets or keeps its count. and there is essentailly no documentation on this element of mangle (one line).

thanks

‘connection-bytes’ counts bytes for each connection, not all user’s traffic. i.e. user can have 2000 connections with 1M bytes - and he won’t be detected