回复: maybe a bug: radius server did not response

Jiang Jianping brightcove at foxmail.com
Wed Sep 14 04:22:20 CEST 2016


Hello,


The problem is in "linelog_escape_func" of rlm_linelog.c.  I  change the special charater (which is larger than 0x80) to 'X' on linelog_escape_func, the problem disappeared.  


JP


------------------ 原始邮件 ------------------
发件人: "Alan DeKok";<aland at deployingradius.com>;
发送时间: 2016年9月14日(星期三) 凌晨1:34
收件人: "FreeRadius users mailing list"<freeradius-users at lists.freeradius.org>; 

主题: Re: maybe a bug: radius server did not response



On Sep 13, 2016, at 7:32 AM, Jiang Jianping <brightcove at foxmail.com> wrote:
> 
> Version: freeradius-server-3.0.11
> Environment: gnugk->radius server(local relay)->radius accouting server 
> Module: Relay Server: Accouting with detail, Accounting Server: Accouting with linelog
> 
> Issue: Special characters(UTF-8 other than Ascii) wil cause radius server not response to accounting request

  Please describe in more detail what you're doing.  i.e. What is the configuration you're using?

  The problem may be linelog, or it may the module after linelog.  Or, it may be something external to the server.

  Alan DeKok.


> Linelog Configuration:
>         Accounting-Request {
>        Stop = "CDR:type=h323;%{h323-connect-time};%{h323-disconnect-time};duration=%{Acct-Session-Time};sessionid=%{Acct-Session-Id};caller=%{Calling-Station-
> Id};callee=%{Called-Station-Id};sourceip=%{Framed-IP-Address}"
>           }

  Which doesn't even have User-Name in it, and therefore cannot possibly be affected by the contents of User-Name.

  Alan DeKok.


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


More information about the Freeradius-Users mailing list