On Fri, 2004-05-14 at 16:17 +1000, Andrew Wilson wrote: > Hello Jamie, > > Sounds intriguing how hard would it be to hack this program into using mysql as > opposed to postgresql?
>From having been watching over Jamie's shoulder as he's been hacking on it, it looks like it was designed to work with MySQL rather than postgres. The MySQL plugin has this weird system of using flock() as a semaphore, which is ugly but unmodified I think it would work better on MySQL than postgres. Anyway, the short answer is "trivial". James. > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Behalf Of Jamie Wilkinson > Sent: Friday, 14 May 2004 4:04 PM > To: [EMAIL PROTECTED] > Subject: Re: [SLUG] IP Traffic Accounting software : Your opinion > > > This one time, at band camp, Andrew Wilson wrote: > >After having battled IPAC then its successor IPAC-NG i am left slightly battered > >and bruised. > >The above programs do not seem to give accurate details as to how much traffic has > >past through the monitored eth. > > > >Hopefully one of you out there is currently using a open source program that is > >returning accurate values. > >Im all ears if you are:).. > > I'm using and actively hacking on a project called pmacct, which uses > promiscuous mode and libpcap to grab packets instead of having to set up > bridging and iptables rules as ipac requires. This makes it hella fast. > > The hacking I've been doing on it was on the postgresql backend so that > it can cope writing the amount of data I'm collecting. > > If all you need is to count traffic that's passed, then that should be > trivial to do with pmacct. > > Google for 'pmacct', first hit. > > -- > [EMAIL PROTECTED] http://spacepants.org/jaq.gpg > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html > -- > SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ > Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- James Gregory <[EMAIL PROTECTED]> -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
