sending mail mechanism of radwatch

2012-05-02 Thread
hi all, Is there anyone using /usr/sbin/radwatch? At line 166 it comments "Send email only once every hour (or so)", what does it means? and how it works? At line 178, restarts be re-assigned to 0, so I do think $restarts no more than 1. - List info/subscribe/unsubscribe? See

FR 2.1.10, fail-over not working

2011-07-26 Thread
Hi Alan all, I've configured two home_server for a pool with type=fail-over, when the 1st one not start,FR didn't send the request to the 2nd one. Works fine when configured with type=load-balance. following is my proxy.conf section: home_server svr1st { type = auth+acct ipaddr = 192.168.0.2

Re: FR 2.1.10, fail-over not working

2011-07-26 Thread
Hi Alan all, I found that when radiusd started with -X, the config-item of type = fail-over in proxy.conf will not take effect. Anyone to confirm that? B.R. Wei JingPeng Wei JingPeng wrote: Hi Alan all, I've configured two home_server for a pool with type=fail-over, when the 1st one

Re: can attr_filter.accounting_response be used in post-proxy section ?

2011-04-26 Thread
Dear Brian Candler, thank you for focus. I think freeradius may lack the opportunity to change filter acctcounting-response(reply) in post-proxy. I have done this througth filter proxy-reply. Best regards WeiJingpeng Brian Candler wrote: On Mon, Apr 18, 2011 at 09:13:47PM +0800, 魏景鹏

can attr_filter.accounting_response be used in post-proxy section ?

2011-04-18 Thread
Dear All, In post-proxy section, I wrote lines as follows: post-proxy { if(cond) { attr_filter.accounting_response } } But it seems not work as expected. Any Ideas? Best Regards WeiJingPeng - List info/subscribe/unsubscribe? See

how to update proxy-request

2011-04-06 Thread
Dear folks, how to update proxy-update list in the section pre-proxy? I've tried following lines in pre-proxy section, but nothing happend: update proxy-update { User-Name = abcdefg } many thx WeiJingPeng - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: how to update proxy-request

2011-04-06 Thread
Sorry! I got it through User-Name *:=* abcdefg Dear folks, how to update proxy-update list in the section pre-proxy? I've tried following lines in pre-proxy section, but nothing happend: update proxy-update { User-Name = abcdefg } many thx WeiJingPeng - List

Is it possible to write client information into database other than clients.conf in default virtual server?

2011-04-06 Thread
Dear All, I know a little about dynamic client, it may be used in virtual server; But just as the mentioned subject, is it possible to write client information into database other than clients.conf in default virtual server? thx all WeiJingPeng - List info/subscribe/unsubscribe? See

Is it possible to write proxy information into database other than proxy.conf?

2011-04-06 Thread
many thx WeiJingPeng - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

how to proxy a request with the specified local port to remote server?

2011-04-06 Thread
Dear All, I know that we can proxy a request with the specified ip-address if multiple ip hosted, the problem is can we proxy a request with the specified local port? I've configured listen {type=proxy...} in radiusd.conf, but freeradius proxy the request with a random port. What should I do?

Is it possible to get packet id in pre-proxy section?

2011-03-22 Thread
Helo guys, One side auth with pap method, but the other side needs chap auth method, so I have to do some translating work. chap-string = Packet-Id + Cleartext-Password + authenticator chap-password = packet-id + md5(chap-string) Is it possible to get packet id in pre-proxy section? how can i

execute DML in unlang

2011-03-22 Thread
Dear all, How to execute insert, update, delete statments in unlang? if I set %{sql:delete} freeradius can't interpret the configure file correctly. if I set Tmp-String-0 := %{sql:delete...} the output of 'radiusd -X' shows there's some problem since the statement don't return any