Ivan Rostovikov Posted August 11, 2009 Posted August 11, 2009 Существуют ли независимые скрипты для генерации radius accounting пакетов из CDR файлов ? Необходимо продублировать учет звонков, а кипер неумеет слать аккаунтинг сразу на 2 радиуса. Но пишет CDR-ки. Вставить ник Quote
Telesis Posted August 11, 2009 Posted August 11, 2009 Очень просто поставь samplicate и принимай на его Accounting, тот в свою очередь размножит UDP на столько хостов сколько надо. (только желательно на втором Radius'е задуши все ответы) Вставить ник Quote
Ivan Rostovikov Posted August 11, 2009 Author Posted August 11, 2009 samplicate не сохраняет адрес отправителя (кипера) в повторяемых пакетах :-( Вставить ник Quote
dyer Posted August 11, 2009 Posted August 11, 2009 у freeradius'a был когда-то radrelay, теперь это http://freeradius.org/radiusd/man/radrelay.html Вставить ник Quote
leveler Posted August 12, 2009 Posted August 12, 2009 А если софстсвич не умеет аккаунтинг, а только CDR? :) Вставить ник Quote
dyer Posted August 12, 2009 Posted August 12, 2009 (edited) "use google, Luk" например (кодирровка страницы - кои-8) Edited August 12, 2009 by dyer Вставить ник Quote
Telesis Posted August 12, 2009 Posted August 12, 2009 samplicate не сохраняет адрес отправителя (кипера) в повторяемых пакетах :-(думаю вы плохо смотрели... -S maintain (spoof) source addresses ... Usage: ./samplicate [option...] receiver... Supported options: -p <port> UDP port to accept flows on (default 2000) -s <address> Interface address to accept flows on (default any) -d <level> debug level -b <size> set socket buffer size (default 65536) -n don't compute UDP checksum (leave at 0) -S maintain (spoof) source addresses -x <delay> transmit delay in microseconds -c configfile specify a config file to read -f fork program into background -h print this usage message and exit Specifying receivers: A.B.C.D[/port[/freq][,ttl]]... where: A.B.C.D is the receiver's IP address port is the UDP port to send to (default 2000) freq is the sampling rate (default 1) ttl is the sending packets TTL value (default 64) Config file format: a.b.c.d[/e.f.g.h]: receiver ... where: a.b.c.d is the senders IP address e.f.g.h is a mask to apply to the sender (default 255.255.255.255) receiver see above. Receivers specified on the command line will get all packets, those specified in the config-file will get only packets with a matching source. Вставить ник Quote
leveler Posted August 13, 2009 Posted August 13, 2009 "use google, Luk"например (кодирровка страницы - кои-8) Правильно поставленный вопрос - это половина дела. Ага. По каким словам искали то? Сами этой утилитой пользовались? Работает? Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.