freeradius performance testing with seagull

Vladimir Romanov vromanov at gmail.com
Tue Jun 22 09:48:31 CEST 2010


Hi All!
I want test freeradius+mysql accounting interface performance with
seagull. My problem - I can't implement valid signature. I always get

rad_recv: Accounting-Request packet from host 10.2.170.14 port 65535,
id=1, length=48
Received Accounting-Request packet from 10.2.170.14 with invalid
signature!  (Shared secret is incorrect.) Dropping packet without
response.
I try next scenario
.....
<traffic>

  <!-- Start Accouting Request -->
  <send channel="trans-ip-v4">
    <action>
      <!-- For each new call, increment the Acct-Session-Id counter -->
      <inc-counter name="session-counter"> </inc-counter>
      <inc-counter name="identifier-counter"> </inc-counter>
      <set-value name="Acct-Session-Id".
                 format="$(session-counter)"></set-value>
      <set-value name="Identifier".
                 format="$(identifier-counter)"></set-value>
      <!-- This field must not be use with a true value -->
      <restore-from-external field="0"
entity="Authenticator"></restore-from-external>
    </action>
    <Message name="Accounting-Request">
      <setfield name="Authenticator" value="0000000000000000"> </setfield>
      <Attribute name="Acct-Session-Id" value="value_is_replaced"> </Attribute>
      <!-- 1 stand for Start -->
      <Attribute name="Acct-Status-Type" value="1"> </Attribute>
      <Attribute name="NAS-Identifier" value="ims.hpintelco.org"> </Attribute>
    </Message>
    <action>
      <store name="ACCT_SES_ID" entity="Acct-Session-Id"></store>
      <start-timer></start-timer>
    </action>
  </send>
.....
-- 
Vladimir Romanov



More information about the Freeradius-Users mailing list