dialup.conf - multiple query for postauthquery

2012-06-06 Thread mimir
Hello, Im using freeradius 2.1.7. I want to add multiple queries for radpostauth statement like radpostauth = query1;query2 But it says mysql error. How can I resolve this issue? Thanks. -- View this message in context:

Re: dialup.conf - multiple query for postauthquery

2012-06-06 Thread mimir
I think stored procedure can be written for multiple queries? Thank you. -- View this message in context: http://freeradius.1045715.n5.nabble.com/dialup-conf-multiple-query-for-postauthquery-tp5713591p5713595.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List

How to proxy according to attribute value?

2012-05-22 Thread mimir
Hello, I want to proxy accounting packets according to Calling-Station-Id attribute. I first think that I must use keyed-balance method for this. I set realm as below: home_server_pool vas1 { type = keyed-balance home_server = vas1 --- I want to send acct pkgs with calling-st-id

Re: How to proxy according to attribute value?

2012-05-22 Thread mimir
realm VAS1 { acct_pool = vas1 } I added realm definition. -- View this message in context: http://freeradius.1045715.n5.nabble.com/How-to-proxy-according-to-attribute-value-tp5713307p5713308.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List

Re: How to proxy according to attribute value?

2012-05-22 Thread mimir
Thanks Alan for reply. Is there any other way to run my scenario? like attribute filtering sth else? I also created multiple realms with one home_servers and tried to Proxy to them according to Calling-Station-Id value by adding if else structrues to the update control section in preacct. But I

How to set attribute value as null means that

2012-05-15 Thread mimir
Hello, I want to add a custom attribute before replicate the accounting package with null value. I see that it is added successfully before replication, but when I check it on remote server, I can not see userid1 and userid2 attributes. Do you have any comment on this? [replicate] Replicating

Re: freeradius GUI

2012-05-11 Thread mimir
no project is existing now:) Im just trying to discover freeradius with all capabilities. Thanks for great help till now. -- View this message in context: http://freeradius.1045715.n5.nabble.com/freeradius-GUI-tp5700219p5702369.html Sent from the FreeRadius - User mailing list archive at

freeradius GUI

2012-05-10 Thread mimir
Do you know any other application that provides GUI for freeradius? I checked daloradius but it is not supported most of features. For example, I want to monitor freeradius alarms via GUI. Thanks. -- View this message in context:

Re: freeradius GUI

2012-05-10 Thread mimir
Thanks for reply Alan. Think that I used other network monitoring tools. But, when I checked freeradius, I only see logs radius.log and radacct/radauth logs if enabled. They printed if sth happen. But I see no alarm number, explanation etc. Is there any support like that? or is there any document

Synchronous + Asynchronous proxying

2012-05-09 Thread mimir
Hello, According to proxy.conf asynchronous configuration is disabled. I want to manage the realms by setting parameter synchronous or asynchronous, means that switch the configuration each other. Asynchronous is needed to queue the accounting packages, retransmission etc. Do you have any comment

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread mimir
We want radius support both modes and update realms configuration as sync/async. I think in asyncron mode we can send/proxy accounting packets in a period not instantly. Because of this, we want to use async mode. -- View this message in context:

SNMP capabilities

2012-05-09 Thread mimir
Hello, According to the document, freeradius supports SNMP and can send snmp trap. But, when I check the MIBs, I could not find event based definitions. According to my scenario, I want to send trap, For example 1-) When one of fail-server is dead ( with clear live also) 2-) When one of

Re: Synchronous + Asynchronous proxying

2012-05-09 Thread mimir
Hello, In general I can accounting packets to multiple servers from one radius servers. I set a solution with replicate module + one by one proxy configuration. ( because I want to see some logs regarding home servers) I do not know very well how radius behaves in sync and async mode? But I

Re: SNMP capabilities

2012-05-09 Thread mimir
Sorry Alan, not document, according to web site native snmp support is supported. Am I right? I am not a developer so checking source code is diffiucult/different for me. I asked if we can send snmp traps to NMS systems if any type of failure, unsuccessful proxy message etc. Is it possible or

radius proxy

2012-04-05 Thread mimir
Hello, I applied proxy configuration between two radius servers. I see that packets are succesfully sent to second server and can get statistics via radmin tool. Besides this, I can log or write to sql the accounting datas. When I shutdown the remote server I can see the status of remote server

Re: radius proxy

2012-04-05 Thread mimir
any comment ? -- View this message in context: http://freeradius.1045715.n5.nabble.com/radius-proxy-tp5620043p5620800.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

adding custom attribute with ldap_xlat

2012-04-04 Thread mimir
Hello, I am trying to add custom attribute to accounting packet and proxy to them to different servers by using ldap_xlat. But, although I query the ldap successfully and see the correct value in debug logs, attributes values are wrong, and changed. What is the cause? Do you have any comment.

Re: xlat errors filter logs

2012-04-04 Thread mimir
issue is resolved. It was about type of ldap columns. we set attribute and ldap columns both to string, and it worked. Thanks. -- View this message in context: http://freeradius.1045715.n5.nabble.com/xlat-errors-filter-logs-tp5614816p5617794.html Sent from the FreeRadius - User mailing list

Re: adding custom attribute with ldap_xlat

2012-04-04 Thread mimir
issue is resolved. It was about type of ldap columns. we set attribute and ldap columns both to string, and it worked. Thanks. -- View this message in context: http://freeradius.1045715.n5.nabble.com/adding-custom-attribute-with-ldap-xlat-tp5617491p5617800.html Sent from the FreeRadius - User

Re:replicate accounting packets

2012-04-03 Thread mimir
Hi, Is there any difference between original accounting packets and replicated (which are modified and some attributes added) accounting packets? I asked this question because when I check the radius servers in debug mode, I see that slave radius servers are sending Accounting Response but

xlat errors filter logs

2012-04-03 Thread mimir
Hello, I am adding custom attributes and replicate or proxy them to other radius servers. But I also want to log this operation. I test it via sql xlat. ( I will also use ldap xlat, I think they will be same like %ldap: . ) For example, I am waiting 20 digit number from my queries. But, if

Re: Proxy + copy accounting to passive home server

2012-04-03 Thread mimir
Hi Alan, Do you have any advice on my configuration? I want to send same accounting packages to multiple nodes like replication. But, I want to log home_servers responses. You advised configuring proxy. But, proxy mode only sends accounting packets to one node because of failover or loadbalance

Re: Proxy + copy accounting to passive home server

2012-04-02 Thread mimir
Hi Alan, I got your point. I need a reply. I can use proxying but I also need to send same accounting to all servers at the same time. I tried to build virtual servers to proxy accounting packets to other servers. For example: I am going to send accounting packets to 20 servers. First I

Re: Moving included conf files to virtualhost..

2012-04-02 Thread mimir
Can you please share docs links? I only check configuration files comments. I could not find any detailed docs for configurations, or my account do not have access? -- View this message in context:

Re: Moving included conf files to virtualhost..

2012-04-02 Thread mimir
One more question.. is it possible to replicate to virtual hosts? I tried but get following error: [replicate] ERROR: Failed opening socket: cannot open socket: Address family My aim is first replicate the acct packets to virtual hosts then proxy it. -- View this message in context:

Re: Proxy + copy accounting to passive home server

2012-03-30 Thread mimir
Hi, I installed latest version of freeradius and verified replicate module is existing. I can run replication via editing proxy.conf and acct_user. ( but I can replicate to only one server for now) I need to copy accountings to 20 servers. DEFAULT Proxy-To-Realm := TEST1 ( how can I add others

Re: Proxy + copy accounting to passive home server

2012-03-30 Thread mimir
Hi, Sorry, I wrote wrong in my previous post, I am trying to apply Replicate-To-Realm to send accounting messages to 20 servers from my radius server. I added as below in /sites-available/default accounting { update control { Replicate-To-Realm := TEST1

Re: Proxy + copy accounting to passive home server

2012-03-30 Thread mimir
Hello, I added same definition to acct_users DEFAULT Replicate-To-Realm := TEST1,Replicate-To-Realm += TEST2,Replicate-To-Realm += TEST3 and it worked :) I can send 3 servers same accounting messages. I wonder another thing. Is it possible to get log/error or sth else if one of the replicated

Re: Proxy + copy accounting to passive home server

2012-03-30 Thread mimir
Hi Fajar, I also think that option. But, I can not configure it. I set up realms same in proxy.conf. But, how can we point it to sites-available/copy-acct-to-home-server ? How can we configure it? I can only see explanation of config file comments. Thanks, -- View this message in context:

Re: Proxy + copy accounting to passive home server

2012-03-30 Thread mimir
I forgot to add. preacct also worked :) Thanks. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Proxy-copy-accounting-to-passive-home-server-tp5598491p5606585.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe/unsubscribe?

Re: Proxy + copy accounting to passive home server

2012-03-28 Thread mimir
by deploying configuration only on proxy servers. Mimir. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Proxy-copy-accounting-to-passive-home-server-tp5598491p5599770.html Sent from the FreeRadius - User mailing list archive at Nabble.com. - List info/subscribe

Proxy + copy accounting to passive home server

2012-03-27 Thread mimir
Hello, I am trying to deploy proxy configuration to my radius server. I added home_server_pool with two home_servers. I can successfully send accounting packets (with load-balance) to other two radius servers. I also can use attribute filtering for proxy via acct_users as below. acct_users:

Proxy + copy accounting to passive home server

2012-03-27 Thread mimir
-balancing) I read some forums and see that it can be done via copy-acct-to-home-server. But, I could not configure it. (I also could not understand where I should edit it? on proxy ? or home_servers? Can you please help me on this issue? Thanks... Mimir -- View this message in context: http