1)Устанавливаем для началу данные пакеты:
#apt-get install build-essential mysql-server apache2 iptables-dev libpcap0.8-dev libcurl3-openssl-dev libmysql-client15-dev
2) я установил с cvs последнию версию (неделя полёт нормальный)
#apt-get install cvs
#cvs -d :pserver:netams@netams.netams.com:/netams/cvs checkout netams
#sh configure.sh
Если всё нормально в терминале должно быть это:## Configuring NeTAMS for build targets…
##Linux operating system…
Will have LIBIPQ supportOptional features:
BW_limit Fast_FW_checks Layer7_filter
Will have MYSQL support[ /usr/lib /usr/include/mysql ]
Will have BILLING service
Will have DEBUG flag set
Will have RADIUS support## Configuration file was built. ############################################################
#make
#make install
3)Добавляемый пользователя netams даём ему привилегии для базы данных netams
4) Приступаем к настройки
Открываем файлик /etc/netams.conf
#NeTAMS 3.4.1 (3441.0) root@iserver / Вт Янв 29 11:12:23 MSK 2008
#configuration built Tue Jan 29 11:12:23 2008
#begin
#global variables configuration
debug none
language ru
user oid 02F612 name admin real-name "Admin" crypted $21$$jhsUhs. email root@localhost permit all
#services configuration
service server 0
login local
listen 20001
max-conn 6
service processor
lookup-delay 30
policy oid 0C5207 name intranet target proto ip
policy oid 0A1271 name www target proto tcp port 80 443 8080 21 #www считает трафик по 80 443 8080 21 портам
policy oid 04E120 name inet target proto tcp port 1024:65535
restrict all pass local pass
unit group oid 0F1260 name Inet acct-policy intranet www
unit net oid 0B123A name Inet ip 192.168.2.0/24
unit host oid 0C235D name iServer ip 192.168.2.1 parent Inet acct-policy intranet www inet
unit host oid 0123C0 name 192.168.2.2 ip 192.168.2.2 acct-policy www inet intranet
unit host oid 04DAAC name 192.168.2.20 ip 192.168.2.20 bw 512.000K acct-policy www inet intranet #ограничить скорость канала до 512кб/c и считать траффик
service storage 1
type mysql
socket /var/run/mysqld/mysqld.sock
host 127.0.0.1
user netams
pass *****
dbname netams
accept all
service data-source 1
type ip-traffic
source ipq
layer7-detect urls
rule 1 "INPUT -j QUEUE"
rule 2 "OUTPUT -j QUEUE"
rule 3 "FORWARD -j QUEUE"
service scheduler
oid 08FFFF time 1min action "html"
service monitor 1
monitor to storage 1
monitor unit hosts
Март 30, 2008 в 01:18
does anyone knows if there is any other information about this subject in other languages?