[Freeswitch-users] Bottleneck between mod_xml_radius and freeradius client?

Sergey Safarov s.safarov at gmail.com
Mon Sep 5 23:29:15 MSD 2016


I has opened Jira tiket FS-7575 <https://freeswitch.org/jira/browse/FS-7575>
But I not is developer and not familiar with autoconf make files

пн, 5 сент. 2016 г. в 19:36, Ítalo Rossi <italo at freeswitch.org>:

> This should be documented. Can anyone open a pull request?
> Em seg, 5 de set de 2016 às 11:22, Juan Pablo Godoy <jpgodoy at redvoiss.net>
> escreveu:
>
>> OK, I think it was the freeradius client version all the time.
>>
>> I manually downloaded the last FreeRadius-Client version and recompiled
>> xml_mod_radius as Sergey said.
>>
>> If someone needs to fix this problem, just copy the newer
>> FreeRadius-Client directory where the old one is. Then open the makefile
>> inside "/src/mod/xml_int/mod_xml_radius/" and change the variable
>> "RADCLIENT_VERSION" from 1.1.6 to 1.1.7.
>>
>> Thank you to Sergey and Ahmed for your time and help.
>>
>> Best Regards,
>> Juan Pablo Godoy.
>>
>> On 03-09-2016 13:49, Sergey Safarov wrote:
>> > Default freeswitch is compiled with freeradius-client 1.1.6 version.
>> > This version has several bugs fixed in 1.1.7.
>> > Please recompile FreeSwitch with 1.1.7 radius lib and also check that
>> > iptables and selinux is disables.
>> >
>> > http://freeradius.org/freeradius-client/
>> >
>> > сб, 3 сент. 2016 г. в 19:04, Juan Pablo Godoy <jpgodoy at redvoiss.net
>> > <mailto:jpgodoy at redvoiss.net>>:
>> >
>> >     Hello,
>> >
>> >     I'm sorry to bother everyone with these mails, but I'm discovering
>> >     things (I'm completely new in Freeswitch) and probably this will
>> help
>> >     someone in the future. The problem is not caused by DNS at all. The
>> >     reverse resolv it's used by Radius client just for logging
>> purposes. I
>> >     gave a FQDN to each Radius and the report changed to:
>> >
>> >     "freeswitch: rc_send_server: no reply from RADIUS server FQDN:1646,
>> >     XXX.XXX.XXX.XXX"
>> >
>> >     After that I increased the amount of retries in mod_xml_radius and
>> >     then
>> >     my Radius server (BTW is a Radiator) logged messages like the next
>> >     one:
>> >
>> >     "INFO: Duplicate request id 53 received from XXX.XXX.XXX.XX(42430):
>> >     retransmit reply"
>> >
>> >     If I run tcpdump in my Freeswitch server I can see every reply
>> >     retransmited from the Radius server. It looks like that Radius
>> Client
>> >     can't process those replies.
>> >
>> >     What else can I check?
>> >
>> >     Regards,
>> >
>> >     On 02-09-2016 14:20, Juan Pablo Godoy wrote:
>> >     >
>> >     > Hello,
>> >     >
>> >     > I was wrong yesterday Sergey, as you say the problem could be
>> >     related
>> >     > to reverse resolv.
>> >     >
>> >     > I've discovered that in Debian those errors are reported in
>> >     > /var/log/users.log and that the problem perhaps is the rate of
>> >     calls,
>> >     > therefore could be related to the rate that my system tries to
>> >     do the
>> >     > reverse resolv.
>> >     >
>> >     > I don't think the problem is my DNS server, anyway right now I'm
>> >     using
>> >     > google's DNS with the same results.
>> >     >
>> >     > What could be limiting that rate? Is there a way to fix it?
>> >     >
>> >     > Best Regards,
>> >     > Juan Pablo Godoy.
>> >     >
>> >     > On 01-09-2016 12:50, Juan Pablo Godoy wrote:
>> >     >>
>> >     >> Hello Sergey,
>> >     >>
>> >     >> Thank you very much for your help.
>> >     >>
>> >     >> Please correct me if I'm wrong, but I don't think this is
>> >     related to
>> >     >> my DNS because my configuration don't use hostnames. Besides
>> >     now that
>> >     >> I'm using Debian I don't see those "look up" message anymore.
>> >     >>
>> >     >> Best Regards,
>> >     >> Juan Pablo Godoy.
>> >     >>
>> >     >> On 01-09-2016 10:57, Sergey Safarov wrote:
>> >     >>>
>> >     >>> It is look like DNS not return reverse resolv results.
>> >     >>> Please check DNS requests and responses.
>> >     >>>
>> >     >>>
>> >     >>> On Thu, Sep 1, 2016, 16:43 Juan Pablo Godoy
>> >     <jpgodoy at redvoiss.net <mailto:jpgodoy at redvoiss.net>
>> >     >>> <mailto:jpgodoy at redvoiss.net <mailto:jpgodoy at redvoiss.net>>>
>> >     wrote:
>> >     >>>
>> >     >>>     Hello,
>> >     >>>
>> >     >>>     Can anybody help me please?
>> >     >>>
>> >     >>>      During this week I changed from CentOS 7 to Debian 8.5 and
>> I
>> >     >>>     still have the same problem. Honestly I don't know what to
>> do
>> >     >>>     anymore.
>> >     >>>
>> >     >>>     Regards,
>> >     >>>     Juan Pablo Godoy.
>> >     >>>
>> >     >>>     On 19-08-2016 15:00, Juan Pablo Godoy wrote:
>> >     >>>>     Hello Everybody,
>> >     >>>>
>> >     >>>>     I'm new using Freeswitch and now I'm implementing it as a
>> >     B2BUA
>> >     >>>>     using Radius (using the module mod_xml_radius) for
>> Accounting
>> >     >>>>     and Authentication. Everything work OK until freeswitch has
>> >     >>>>     more than 260 simultaneous calls, after that  the cli shows
>> >     >>>>     errors:
>> >     >>>>
>> >     >>>>     2016-08-18 16:23:24.314356 [ERR] mod_xml_radius.c:1046
>> >     >>>>     mod_xml_radius:  Accounting Stop failed
>> >     >>>>     2016-08-18 16:23:24.454362 [ERR] mod_xml_radius.c:1109
>> >     >>>>     mod_xml_radius: Failed to authenticate, authentication
>> >     result: 1
>> >     >>>>
>> >     >>>>     Meanwhile, the messages file shows the following errors:
>> >     >>>>
>> >     >>>>     rc_ip_hostname: couldn't look up host by addr:
>> >     "HEXAIPADRRESS"
>> >     >>>>     rc_send_server: no reply from RADIUS server unknown:1646,
>> >     >>>>     "IPADDRESS"
>> >     >>>>
>> >     >>>>     It looks like it's timeout, however my Radius server is
>> >     >>>>     responding OK to another server's requests.
>> >     >>>>
>> >     >>>>     I'm using Freeswitch 1.6.9 compiled from source.
>> >     >>>>
>> >     >>>>     Best Regards,
>> >     >>>>     Juan Pablo Godoy.
>> >     >>>
>> >     >>>
>> >
>> _________________________________________________________________________
>> >     >>>     Professional FreeSWITCH Consulting Services:
>> >     >>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> >     <mailto:consulting at freeswitch.org <mailto:consulting at freeswitch.org
>> >>
>> >     >>> http://www.freeswitchsolutions.com
>> >     >>>
>> >     >>>     Official FreeSWITCH Sites
>> >     >>> http://www.freeswitch.org
>> >     >>> http://confluence.freeswitch.org
>> >     >>> http://www.cluecon.com
>> >     >>>
>> >     >>>     FreeSWITCH-users mailing list
>> >     >>> FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     >>>     <mailto:FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>>
>> >     >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >>>
>> >      UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     >>> http://www.freeswitch.org
>> >     >>>
>> >     >>>
>> >     >>>
>> >     >>>
>> >
>>  _________________________________________________________________________
>> >     >>> Professional FreeSWITCH Consulting Services:
>> >     >>> consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> >     >>> http://www.freeswitchsolutions.com
>> >     >>>
>> >     >>> Official FreeSWITCH Sites
>> >     >>> http://www.freeswitch.org
>> >     >>> http://confluence.freeswitch.org
>> >     >>> http://www.cluecon.com
>> >     >>>
>> >     >>> FreeSWITCH-users mailing list
>> >     >>> FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     >>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     >>>
>> >     UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     >>> http://www.freeswitch.org
>> >     >>
>> >     >
>> >
>> >
>> >
>>  _________________________________________________________________________
>> >     Professional FreeSWITCH Consulting Services:
>> >     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>> >     http://www.freeswitchsolutions.com
>> >
>> >     Official FreeSWITCH Sites
>> >     http://www.freeswitch.org
>> >     http://confluence.freeswitch.org
>> >     http://www.cluecon.com
>> >
>> >     FreeSWITCH-users mailing list
>> >     FreeSWITCH-users at lists.freeswitch.org
>> >     <mailto:FreeSWITCH-users at lists.freeswitch.org>
>> >     http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >     UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >     http://www.freeswitch.org
>> >
>> >
>> >
>> >
>> _________________________________________________________________________
>> > Professional FreeSWITCH Consulting Services:
>> > consulting at freeswitch.org
>> > http://www.freeswitchsolutions.com
>> >
>> > Official FreeSWITCH Sites
>> > http://www.freeswitch.org
>> > http://confluence.freeswitch.org
>> > http://www.cluecon.com
>> >
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:
>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160905/87db755d/attachment-0001.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list