Ba Luh, There are a number of IP accounting packages you could look into. Here's one. http://sourceforge.net/projects/ipac-ng/ I have little experience with ipac-ng, but this may be the tool you seek. I don't know anything about the back end storage, but it looks like it can use at least postgresql, you can probably also tweak it to use mysql. If you want to write your own, you should consider the ULOG target in iptables. Good luck, -Martin : thanks for helping me who ever behind to setup my box : as a bridge. : : my bridge is working fine like below setup : : : My Lan--- eth1-Bridge-eht0---switch--router-- internet : : i have some user in my office lan : : i wopuld like to have accounting like this : : protocol : ip level : un wanted traffic : : i would like to know is there prossible to have all : protocol wise traffic log to send to Mysql and make : them useful in graphics manner : : thanks : blu : : : : : __________________________________________________ : Do you Yahoo!? : Yahoo! Tax Center - forms, calculators, tips, more : http://taxes.yahoo.com/ : _______________________________________________ : LARTC mailing list / LARTC@xxxxxxxxxxxxxxx : http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/ : -- Martin A. Brown --- SecurePipe, Inc. --- mabrown@xxxxxxxxxxxxxx