trafcnt is an IP accounting scripts for a small LAN. It parses logs created by IPFM or any simillar source and calculates usage costs. It is possible to describe different schemes of operation for different users or groups. OpenBSD's pfctl is used for FW\NAT control, but trafcnt could be easily adapted to use almost anything. It produces clf- style logs.