Hi !

It seems there is a bug in proxy implementation in freeradius-0.5.

Accounting packets never sent to xxx.xxx.xxx.xxx if I specify in proxy.conf
following construction:

realm NULL {
        type            = radius
        authhost        = LOCAL
        accthost        = xxx.xxx.xxx.xxx:1813
        secret          = BIGSECRET
}

If I change "LOCAL" to "xxx.xxx.xxx.xxx:1812" both accounting and
authentication packets are send to xxx.xxx.xxx.xxx.

I suppose bug is in file src/main/conffile.c in function
static int generate_realms(const char *filename).
In this function server address for realm constructs only from authhost value:

> strcpy(c->server, authhost);

-- 


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

Reply via email to