From: Peter Volkov <pvolkov@mics.msu.su>
To: "Антон щербаков" <tosh17@list.ru>
Cc: Community@lists.altlinux.org
Subject: Re: [Comm] учет трафика ppp
Date: Tue, 09 Oct 2007 13:42:35 +0400
Message-ID: <1191922955.1072.7.camel@localhost> (raw)
In-Reply-To: <E1IfAB0-000G6E-00.tosh17-list-ru@f115.mail.ru>
[-- Attachment #1: Type: text/plain, Size: 2418 bytes --]
В Втр, 09/10/2007 в 12:10 +0400, Антон щербаков пишет:
> |В Втр, 09/10/2007 в 10:44 +0400, Антон щербаков пишет:
> |> Раньше сервак стоял под управлением мастера 2.4 и трафик считал ipcad
> |> но после перевода на server 4 ipcad как то стал безбожно врать, такое
> |> чувство что он не считает а генерирует результат.
> |
> |А подробнее? Покажите конфиг ipcad (без комментариев), и почему вы
> |думаете, что он глючит? Между прочим, какая версия ipcadа?
> Версия 3.7
> конфиг:
> capture-ports enable; .
>
> #interface eth0;
> interface eth1;
> interface ppp*;
>
> aggregate 192.168.1.0/16 strip 32; /* Don't aggregate 192.168.0.0 */
> aggregate 0.0.0.0/0 strip 24; /* Drop the last octet of all other IPs */
>
> # Aggregate port numbers.
> aggregate 1024-65535 into 65535; /* Aggregate wildly */
> aggregate 3128-3128 into 3128; /* Protect these ports */
> aggregate 150-1023 into 1023; /* General low range */
>
> rsh enable at 127.0.0.1;
> rsh root@127.0.0.1 admin; /* Can shutdown ipcad */
> rsh 127.0.0.1 view-only; /* Other users can view current tables */
>
>
> chroot = /var/log/traf/;
> pidfile = ipcad.pid;
> dumpfile = ipcad.dump;
>
>
>
> Проверяю очень просто смотрю по соединению сколько отправлено байтов и
> сравниваю с базой вот сейчас например показывкает 786 мб хотя реально
> 645
То есть ipcad врёт в большую сторону и показывает больше трафика, чем
есть на самом деле? Хорошо, а какая у вас топология сети? Какой
интерфейс вы смотрите? Может быть такое, что ipcad "видит" трафик
дважды, один раз на ppp*, а другой не eth1?
P.S. Отвечайте, пожалуйста, и в рассылку тоже. Может быть кто-другой
раньше поймёт, в чём у вас проблема. )
--
Peter.
[-- Attachment #2: Эта часть сообщения подписана цифровой подписью --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2007-10-09 9:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-09 6:44 Антон щербаков
2007-10-09 7:17 ` Peter Volkov
2007-10-09 9:42 ` Peter Volkov [this message]
2007-10-09 11:17 ` Антон щербаков
2007-10-09 13:59 ` Peter Volkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1191922955.1072.7.camel@localhost \
--to=pvolkov@mics.msu.su \
--cc=Community@lists.altlinux.org \
--cc=tosh17@list.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git