I've got a FreeBSD server running and it proxies some traffic to other IPs behind it, including a few dedicated ports for some services, and some webpages that are virtual hosts hitting the same IP:80. I'm using the 'pf' packet filter as my firewall.
I want to be able to log all this traffic and keep statistics in some sort of format. My requirement is just to get an idea of what kind of traffic comes in/out of this server and the ones behind it, and to view the trending over time.
How should I achieve this?