Re: lug-bg: traffic / no-traffic ?
- Subject: Re: lug-bg: traffic / no-traffic ?
- From: mano@xxxxxxxxxxxxx (Marian Popov)
- Date: Thu, 28 Nov 2002 22:31:16 +0200
WHAT IS IT?
ipac is a package which is designed to gather, summarize and nicely
output the IP accounting data. ipac make summaries and graphs as ascii
text and/or images with graphs.
ipac...
- is for Linux
- runs on top of the iptables or ipchains tool
- needs certain kernel parts compiled in
NOTE FOR THAT WHO TRY TO USE THIS FOR THE FIRST TIME
2.2.* kernels support is not well, please use 2.4+iptables. All features
tested & work only for 2.4. But in case you need simple accounting only 2.2
is enough.
INSTALLATION / PRECONDITIONS
ipac-ng runs at least under Linux kernel 2.2.11, 2.2.16 - 2.2.19, 2.4.1,
2.4.3,
2.4.[4-13]. It should run on any kernel above.
mano
----- Original Message -----
From: "raptor" <raptor@xxxxxxxxxx>
To: <lug-bg@xxxxxxxxxxxxxxxxxx>
Cc: <divanov@xxxxxxxxxxxxxxx>
Sent: Friday, November 29, 2002 12:38 AM
Subject: Re: lug-bg: traffic / no-traffic ?
>
> 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
>
============================================================================
>
============================================================================
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
============================================================================
|