Re: lug-bg: traffic / no-traffic ?
- Subject: Re: lug-bg: traffic / no-traffic ?
- From: raptor@xxxxxxxxxx (raptor)
- Date: Thu, 28 Nov 2002 17:38:10 -0500
Does ipac support kernel 2.4.x systems?
Not really. Porting ipac to 2.4 is going on, but nobody knows when it will be finished.
One option is to use the ipchains.o kernel module. This means that you cannot have iptables support in the kernel because those two conflict. Also, because of an incompatibility between 2.2 and 2.4 ipchains support, you need to add a command - quoting Sumit Pandya sumit(at)elitecore.com:
In Kernel 2.4 after running "fetchipac" you have to manually zero all
ipchains counter. That can be done with "/sbin/ipchains -Z". Ya result will
not be exect, but who cares for approx(< 1K) in say 5 minutes of intervel of
running "fetchipac".
a i ot towa koeto sam chuwal za instalaciqta i nastroikata mu... mai ste mi e po lesno da naprawq (on the fly):
tie my %db, 'DB_File' or die print 'cant open the DB : $!';
for my $line (split /\n/, qx{iptables -L -v -n}) {
my ($bytes,$src, $dst) = (split /\s+/, $line)[1,7,8] if $line =~ /^\s+?\d/;
$db{"$src|$dst"} = $bytes if $bytes > $db{"$src|$dst"};
}
untie %db;
#move bi malko po slovno ako trqbwa da wzimam predwid restart na komputyra/iptables .... toest zeroing na counterite
Da go dobawq w cron I saotwetno da dobqwq logika za displaywane...:")
On Thu, 28 Nov 2002 16:12:42 +0200
Damyan Ivanov <divanov@xxxxxxxxxxxxxxx> wrote:
|On Thu, Nov 28, 2002 at 03:13:05PM -0500 raptor wrote:
|> az si misleh za nesto po elemetarnichko na baza iptables may be:
|>
|> ipac-ng - aggrrhhh...
|> mrtg - mnogo igrachka, a i az nesta grafiki...
|>
|> mai ste trqbwa da pisha :"))
|
|Íå ðàçáèðàì êàêâî òå ïðèòåñíÿâà â ipac-ng. Îñòàíàõ ñ âïå÷àòëåíèå, ÷å òå
|èíòåðåñóâà òðàôèêà çà äàäåí ïåðèîä, à ipac-ng òè äàâà òî÷íî òàêàâà
|ñòàòèñòèêà - êàçâàø ìó ïåðèîäà, òî òè êàçâà òðàôèêà.
|
|
|äàì
============================================================================
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
============================================================================
|