Цитата:
Может порты разные указали....
Со стороны ipcad-а:
Код:
netflow export destination 127.0.0.1 2004;
Со стороны нетфлоу:
Код:
port.netflow=2004
Цитата:
в iptables отключите все правила, потом включите.
И так нечего отключать. (iptables v1.4.2). Подозрение может модули не все включаются. Как посмотреть какие модули подгружены?
Код:
#!/bin/sh
INET="eth0"
INETIP="192.168.0.222"
/sbin/depmod -a
/sbin/modprobe ip_tables
/sbin/modprobe ip_conntrack
/sbin/modprobe iptable_filter
/sbin/modprobe iptable_nat
/sbin/modprobe ip_queue
iptables -F INPUT
iptables -F FORWARD
iptables -F OUTPUT
iptables -P INPUT QUEUE
iptables -P OUTPUT QUEUE
iptables -P FORWARD QUEUE
iptables -t nat -A POSTROUTING -o $INET -j SNAT --to-source $INETIP
echo "1" > /proc/sys/net/ipv4/ip_forward
Цитата:
а в логах коллеткора что написано?
Код:
collector.log
нулевой
Код:
dataloader.log
в цикле вот эти три строчки
Код:
Audit is on..
Audit chek is ok..
proccess [20-03-2009 10:00:00; mid=>1; param=>1] Bean creat=>2 Processed lines=>0; insert=>0; errors=>0; time=>3ms.
Код:
detail.log
пустой
Код:
generator.log
в цикле вот эти строчки
Код:
Generate source data..
Generating process task..
Add process task 1:1 20.03.2009 10
Flush loaders..
Код:
loader.log
пустой
Код:
netflow.log
пустой
Код:
netflow.out
в цикле
Код:
null
Цитата:
в файле на стороне БГ биллинга log4j_netflow_ipn.properties
вот в таких строчках что вметсо ххх написано?
Везде во всех log4j_хххххххххххххх.properties INFO
Цитата:
по умолчанию там info, пока не поставил ALL - ничего не принималось.
Говорят ALL нагружает сервер, если поможет в моём случае хотя бы что то происнить. То в каких файлах и каких строчках в log4j_хххххххххххххх.properties INFO поменять ALL?(они и в сервере биллинга есть и строчек где INFO много)
Цитата:
посмотрите на стороне ipcad что покажет команда
Код:
rsh localhost show ip accounting
Код:
Permission denied
Что это означает? (Дословный перевод - Разрешение отрицается)
Цитата:
rsh надеюсь в конфиге у вас не опущен
Код:
capture-ports disable;
interface ipq; # Use Linux IPQ (libipq(3))
aggregate 1024-65535 into 65535; /* Aggregate wildly */
aggregate 1080-1080 into 1080; /* Protect these ports */
aggregate 1194-1194 into 1194; /* Protect these ports */
aggregate 1111-1111 into 1111; /* Protect these ports */
aggregate 1400-1400 into 1400; /* Protect these ports */
aggregate 2042-2042 into 2042; /* Mail.ru agent */
aggregate 3128-3128 into 3128; /* Protect these ports */
aggregate 3306-3306 into 3306; /* Protect these ports */
aggregate 4899-4899 into 4899; /* Protect these ports */
aggregate 5000-5000 into 5000; /* Protect these ports */
aggregate 5190-5190 into 5190; /* Protect these ports */
aggregate 5222-5222 into 5222; /* Protect these ports */
aggregate 5223-5223 into 5223; /* Protect these ports */
aggregate 5269-5269 into 5269; /* Protect these ports */
aggregate 5555-5555 into 5555; /* Protect these ports */
aggregate 6667-6667 into 6667; /* Protect these ports */
aggregate 7071-7071 into 7071; /* Protect these ports */
aggregate 7777-7777 into 7777; /* Protect these ports */
aggregate 8080-8080 into 8080; /* Protect these ports */
aggregate 9090-9090 into 9090; /* Protect these ports */
aggregate 9091-9091 into 9091; /* Protect these ports */
aggregate 27030-27030 into 27030; /* Steam by buka&1C */
aggregate 44999-44999 into 44999; /* Protect these ports */
aggregate 55777-55777 into 55777; /* Protect these ports */
netflow export destination 127.0.0.1 2004;
netflow export version 5; # NetFlow export format version {1|5}
netflow timeout active 2; # Timeout when flow is active, in minutes
netflow timeout inactive 15; # Flow inactivity timeout, in seconds
netflow engine-type 73; # v5 engine_type; 73='I' for "IPCAD"
netflow engine-id 1; # Useful to differentiate multiple ipcads.
netflow ifclass eth mapto 0-99; # i.e., "eth1"->1, "eth3"->3
netflow ifclass fxp mapto 0-99; # i.e., "fxp4"->4, "fxp0"->0
netflow ifclass ppp mapto 100-199; # i.e., "ppp32"->532, "ppp7"->507
netflow ifclass gre mapto 200-299;
netflow ifclass tun mapto 300-399; # i.e., "tun0"->300
rsh enable at 127.0.0.1;
rsh root@127.0.0.1 admin; /* Can shutdown ipcad */
rsh staff@127.0.0.1 backup; /* Can dump/restore/import accounting table */
rsh yourself@127.0.0.1; /* Can view and modify accounting tables */
/* Note the order! */
rsh luser@127.0.0.1 deny; /* Deny this user from even viewing tables */
rsh 127.0.0.1 view-only; /* Other users can view current tables */
rsh ttl = 3;
rsh timeout = 30;
dumpfile = ipcad.dump; # The file is inside chroot(), see below...
chroot = /usr/local/BGBilling/ipcad;
pidfile = ipcad.pid;
memory_limit = 3m;
Вот мой конфиг ipcad-а. Что убрать, что добавить?
Цитата:
вообще в соседнем топике я ведь выкладывал рабочий конфиг на ipcad + BGNetflowcollector, только что
Спасибо! Я их посмотрел и уже задавал вопросы.