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 on this? # In 2.0, the server is always "synchronous", and setting # "synchronous = no" is impossible. This simplifies the # server and increases the stability of the network. # However, it means that the server (i.e. proxy) NEVER # originates packets. It proxies packets ONLY when it receives # a packet or a re-transmission from the NAS. If the NAS never # re-transmits, the proxy never re-transmits, either. This can # affect fail-over, where a packet does *not* fail over to a # second home server.. because the NAS never retransmits the # packet. # # If you need to set "synchronous = no", please send a # message to the list <freeradius-users@lists.freeradius.org> # explaining why this feature is vital for your network. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Synchronous-Asynchronous-proxying-tp... Sent from the FreeRadius - User mailing list archive at Nabble.com.
mimir wrote:
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 on this?
Asynchronous proxying has few good use-cases. It can cause more problems than it solves. That's why it was removed from the server. The NAS is supposed to retransmit. So it's simpler for the server to wait for that retransmission. Can you give a concrete use-case for why this is necessary? Alan DeKok.
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: http://freeradius.1045715.n5.nabble.com/Synchronous-Asynchronous-proxying-tp... Sent from the FreeRadius - User mailing list archive at Nabble.com.
On Wed, May 9, 2012 at 7:13 PM, mimir <erdem.mimiroglu@alcatel-lucent.com> wrote:
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.
If you're only concerned about accounting packets, why not use the detail module and take a look at sites-available/copy-acct-to-home-server? -- Fajar
mimir wrote:
We want radius support both modes and update realms configuration as sync/async.
You already said that. Saying it again doesn't help.
I think in asyncron mode we can send/proxy accounting packets in a period not instantly.
What does that mean?
Because of this, we want to use async mode.
"we want to use async because we want to use async" That's not an answer. Alan DeKok.
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 guess that we proxy packets immediately in sync mode to other servers. I think async mode is requested to queue messages for a while and then proxy them to other node in a set period? Am I right? If you explain/or refer me to any document about this, I will appricate. Thanks. -- View this message in context: http://freeradius.1045715.n5.nabble.com/Synchronous-Asynchronous-proxying-tp... Sent from the FreeRadius - User mailing list archive at Nabble.com.
mimir wrote:
In general I can accounting packets to multiple servers from one radius servers.
Stop repeating that. I understand it already.
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 guess that we proxy packets immediately in sync mode to other servers. I think async mode is requested to queue messages for a while and then proxy them to other node in a set period? Am I right?
No.
If you explain/or refer me to any document about this, I will appricate.
You have access to all of the documents that are available. FreeRADIUS doesn't do asynchronous proxying. The configuration file is very clear on this. The comments in proxy.conf explain this. What part of those comments are unclear? Alan DeKok.
participants (3)
-
Alan DeKok -
Fajar A. Nugraha -
mimir