* Re: [Comm] Почему обманывает netams или как правильно сконфигурировать?
2005-12-02 15:21 ` [Comm] Почему обманывает netams или как правильно сконфигурировать? Aleksander N. Gorohovski
@ 2005-12-02 14:11 ` Slava Dubrovskiy
0 siblings, 0 replies; 2+ messages in thread
From: Slava Dubrovskiy @ 2005-12-02 14:11 UTC (permalink / raw)
To: Community
Aleksander N. Gorohovski пишет:
> А как Вы его запускаете?
Как обычно: service netams start
Естественно предварительно удалив отчеты и вычистив базу, т.е. на чистую.
--
С уважением,
Дубровский Вячеслав.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Comm] Почему обманывает netams или как правильно сконфигурировать?
@ 2005-12-02 15:21 ` Aleksander N. Gorohovski
2005-12-02 14:11 ` Slava Dubrovskiy
0 siblings, 1 reply; 2+ messages in thread
From: Aleksander N. Gorohovski @ 2005-12-02 15:21 UTC (permalink / raw)
To: slava, ALT Linux Community
On Fri, 02 Dec 2005 12:36:09 -0000, Slava Dubrovskiy wrote:
Sorry, Slava
А как Вы его запускаете?
> Здравствуйте.
>
> Стоит задача посчитать трафик. Считать необходимо весь трафик и отдельно
> по
> некоторым портам. Плюс надо считать общий, до внутренних серверов
> провайдера и
> остальной трафик. Т.е. Общий=внутренние сервера провайдера+мир.
> Сделал вот такую конфигурацию:
> service processor
> lookup-delay 60
> flow-lifetime 60
> policy oid 0BD476 name ip target proto ip
> policy oid 07FC87 name www target proto tcp port 80 81 8080 3128
> policy oid 070F52 name ftp target proto tcp port 20 21
> policy oid 036FDB name mail target proto tcp port 25 110
> policy oid 0F1A97 name optima target file /etc/netams/optima_networks.txt
> policy oid 05267C name ipoptima target policy-and ip optima
> policy oid 07CE24 name ftpoptima target policy-and ftp optima
> policy oid 08E9F0 name mailoptima target policy-and mail optima
> policy oid 0F15D7 name wwwoptima target policy-and www optima
> policy oid 098CD4 name ipbis target policy-and ip !optima
> policy oid 034CC2 name ftpbis target policy-and ftp !optima
> policy oid 0DA6C0 name mailbis target policy-and mail !optima
> policy oid 00E5B0 name wwwbis target policy-and www !optima
> restrict all drop local pass
> unit host oid 0001D6 name INET ip ххх.ххх.ххх.ххх acct-policy ip ipbis
> ipoptima
> www wwwbis wwwoptima mail mailbis mailoptima ftp ftpbis ftpoptima
>
> При просмотре получаем вот такую картину.
> acct-policy WEEK
> in out
> HOST INET oid 0001D6 IP: xxx.xxx.xxx.xxx
> ip 1.824G 31.483M
> ipbis 44.326K 370.007K
> ipoptima 0 0
> www 1.817G 30.409M
> wwwbis 40.185K 367.542K
> wwwoptima 0 0
> mail 0 0
> mailbis 0 0
> mailoptima 0 0
> ftp 150.697K 14.304K
> ftpbis 1.835K 1.483K
> ftpoptima 0 0
>
> Почему ipbis+ipoptoma<>ip?
> Как правильно сконфигурировать для такой задачи?
> Версия netams 3.3.0 (build 2692.1)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-02 15:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-02 15:21 ` [Comm] Почему обманывает netams или как правильно сконфигурировать? Aleksander N. Gorohovski
2005-12-02 14:11 ` Slava Dubrovskiy
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