Re: lug-bg: IP accounting
- Subject: Re: lug-bg: IP accounting
- From: alex@xxxxxx (Alexander Atanasov)
- Date: Fri, 1 Nov 2002 13:40:43 +0200
Hello,
On Fri, 1 Nov 2002 11:57:24 +0200
"Nickola Kolev" <nikky@xxxxxxx> wrote:
> Èìà îùå åäíà ìíîãî äîáðà ñèñòåìà - netacct+mysql, íî ëè÷íî íà ìåí
> íåéíèÿ promiscuousðåæèì íå ìè ñå ïîíðàâè.
Ot promisc ima nujda samo ako ne e pusnat na routera ot koito iskash da logvash.
Loshata strana e che dori i da e na nego obrabotva vsichki paketi koito minavat prez nego,
i e malko zle ot kum selektivnost na tova kakvo da logva i kakvo ne.
Ako se polzvat ipchains/iptables se poluchavat mnogo rules, a ako triabva da se logvat i ports stava ujas.
V momenta sym dokaral do niakude netacct da raboti prez netlink vmesto s libpcap.
i sys ipchains -I output -d a.b.c.d/z -o 30 da se selektva kakvo da se logva.
Tova shte reshi do niakude problemite s broia rules i tova kakvo da se logva,
syshto e po byrzo zashtoto netacct ne poluchava celite paketi, kakto sys libpcap, a samo headers
spored tova koi kakvo iska da logva. Interesno mi e da chuia idei/comentari po vyprosa. :)
I support za postgres e interesen no ... triabva vreme.
--
have fun,
alex
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|