I am having Raspberry Pi running Raspbian, I have configured it as a wifi hotspot using hostapd and dhcpd, I have configured transparent squid proxy server on it. Now all traffic goes through my proxy server and I can see a log in /var/log/squid3/access.log. I need to keep the track of data for user connected to my wifi, I need to keep how much data he has used for e.g x.x.x.x has used 200MB and I need to ban that user after using 500MB. How can I achieve this with transparent proxy server and without using authentication. I tried with squish but no success as I guess it needs authentication.
Thanks in Advance.