Hi Mada, On Tue, 22 Sep 2009, Mada R Perdhana wrote:
> I'm want to use pmacct as a packet logger. The scenario is, I will put > pmacct at the main backbone line, then I want to log ALL the packet on > that line, then save it on a database backend. > > log all the packet like wireshark did, but wireshark save it into a > capture log, what I want is save it on a database. is it possible to do > with pmacct?? does anyone ever tried this before?? You can use iptables with the ULOG target, together with the MySQL plugin for ulogd, to log all packets that match the ULOG target to a MySQL database: http://tldp.org/LDP/LGNET/121/anonymous.html Cheers, Chris. -- Aptivate | http://www.aptivate.org | Phone: +44 1223 760887 The Humanitarian Centre, Fenner's, Gresham Road, Cambridge CB1 2ES Aptivate is a not-for-profit company registered in England and Wales with company number 04980791. _______________________________________________ pmacct-discussion mailing list http://www.pmacct.net/#mailinglists
