Page 3 of 3

Re: Tracking website usage similar to data quotas

Posted: Fri Feb 28, 2020 5:58 pm
by Lantis
I don't use squid sorry.

Re: Tracking website usage similar to data quotas

Posted: Fri Feb 28, 2020 7:43 pm
by agrohe21
i think I can get good information from the /proc/net/nf_conntrack file.

However, I notice that the nf_conntrack file only has IPs but but webmon_recent_domains file has resolved DNS names. How do you get those domains resolved from IPs? If I just have IPs it wont mean as much as with domains.

Re: Tracking website usage similar to data quotas

Posted: Fri Feb 28, 2020 8:38 pm
by Lantis
webmon pulls the domains from the webpackets themselves.

Re: Tracking website usage similar to data quotas

Posted: Sat Feb 29, 2020 1:34 am
by agrohe21
sneaky. any way to tap into that pull process and or piggy back it? might have to try squid again.

Re: Tracking website usage similar to data quotas

Posted: Sat Feb 29, 2020 6:31 am
by Lantis
Not really as it occurs in kernel space.

Re: Tracking website usage similar to data quotas

Posted: Sat Mar 14, 2020 7:41 am
by sefas
Lantis wrote:
Sat Feb 29, 2020 6:31 am
Not really as it occurs in kernel space.
Is this feature possible for xiaomi mi router 3g table and output how much quota websites have spent

thanks

Re: Tracking website usage similar to data quotas

Posted: Sat Mar 14, 2020 8:06 am
by Lantis
Yes the device is supported.
No, as previously discussed in this thread, it does not measure how much data has been used on each website.

It can indicate which websites have been visited, and how much traffic has been used.
It does not correlate the two together.

Re: Tracking website usage similar to data quotas

Posted: Tue Apr 28, 2020 5:31 pm
by agrohe21
I have a script solution in place that dumps nf_conntrack and then calls nslookup for each of the IPs to get domain name. Not perfect but is generally good enough to spot over usage of Netflix.

Re: Tracking website usage similar to data quotas

Posted: Thu Dec 30, 2021 9:55 am
by MikeTK
I use it for Netflix and it works fine for me!