Depending on the kernel you're running, you could try playing around with either
ipac (2.2 / ipchains) or
ipac-ng (2.4/2.6 iptables).
They basically provide easy configuration of your ipchains/iptables accounting policies, and it runs from your crontab so you can set the summary resolution down to a few minutes if you want. There are a few auxilliary programs that come with it, like ipacsum, which will give you summaries between different times etc. It's pretty nice; one of my favourites.
If you just want squid proxy reporting,
Calamaris is worth looking at.
also. have a look a
bmon. Easy to use, provides nice and pretty realtime ASCII graphs.