NetBilling architecture
NetBilling is built of the following parts:
- MySQL database
- net-acct traffic collector
- nacctd - traffic collecting daemon
- nacctd.out - nacctd log with traffic data
- scripts to form the Web-interface (from
cgi-bin
)- admin/*.pl - system administrator's interface
- client.pl - client's personal page
- gettraf.pl - net-acct log analyser and traffic accounter; put calculated traffic date into MySQL
- getfee.pl - monthly fee collector; should be daily sheduled with cron
- setaccess.pl - access restorator for setting appropriate access when server reboots
- act.sh, deact.sh, ipta - packet filter control subsystem
- reportday.pl and reportmonth.pl - report senders, sheduled in cron