Jump to content

Recommended Posts

Posted

Существуют ли независимые скрипты для генерации radius accounting пакетов из CDR файлов ?

Необходимо продублировать учет звонков, а кипер неумеет слать аккаунтинг сразу на 2 радиуса. Но пишет CDR-ки.

 

Posted

Очень просто поставь samplicate и принимай на его Accounting, тот в свою очередь размножит UDP на столько хостов сколько надо. (только желательно на втором Radius'е задуши все ответы)

Posted
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.

Posted
"use google, Luk"

например (кодирровка страницы - кои-8)

Правильно поставленный вопрос - это половина дела. Ага. По каким словам искали то?

 

Сами этой утилитой пользовались? Работает?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.