Hello,<div><br></div><div>I'm trying to figure out how to proxy CoA packets. I have read through a similar thread on this list ( <a href="http://lists.freeradius.org/mailman/htdig/freeradius-users/2010-July/msg00335.html">http://lists.freeradius.org/mailman/htdig/freeradius-users/2010-July/msg00335.html</a> ), but somehow I cannot get it to work.</div>
<div><br></div><div>My setup is the following:</div><div><br></div><div>In my proxy.conf:</div><div><br></div><div><div>home_server nas_coa {</div><div>   Â type = coa</div><div>   Â ipaddr = 10.0.0.2</div><div>   Â port = 3799</div>
<div>   Â coa {</div><div>   Â  Â  Â irt = 2</div><div>   Â  Â  Â mrt = 16</div><div>   Â  Â  Â mrc = 5</div><div>   Â  Â  Â mrd = 30</div><div>   Â }</div><div>   Â secret = testing123</div><div>}</div><div>home_server_pool to_coa_nas {</div>
<div>   Â home_server = nas_coa</div><div>}</div></div><div><br></div><div>I have updated the sites-enabled/coa to look as below:</div><div><div><br></div><div>listen {</div><div>   Â  Â  Â type = coa</div><div>   Â  Â  Â ipaddr = *</div>
<div>   Â  Â  Â port = 3799</div><div>   Â  Â  Â server = coa</div><div>}</div><div><br></div><div>server coa {</div><div>   Â  Â  Â recv-coa {</div><div>   Â  Â  Â  Â  Â update control {</div><div>   Â  Â  Â  Â  Â  Â  Â Home-Server-Pool := "to_coa_nas"</div>
<div>   Â  Â  Â  Â  Â }</div><div>   Â  Â  Â }</div><div>   Â  Â  Â send-coa {</div><div>   Â  Â  Â  Â  Â  Â  Â # Â Sample module.</div><div>   Â  Â  Â  Â  Â  Â  Â ok</div><div>   Â  Â  Â }</div><div>}</div></div><div><br></div><div>When I'm sending a Disconnect packet, I get the following:</div>
<div><br></div><div><div>Wed Dec 15 12:06:41 2010 : Info: Ready to process requests.</div><div>rad_recv: Disconnect-Request packet from host 127.0.0.1 port 56343, id=51, length=50</div><div><span class="Apple-tab-span" style="white-space:pre">     </span>Framed-IP-Address = 91.83.148.2</div>
<div><span class="Apple-tab-span" style="white-space:pre">      </span>Acct-Session-Id = "D94F82E3300682B3"</div><div><span class="Apple-tab-span" style="white-space:pre">       </span>NAS-IP-Address = 10.0.0.2</div><div>Wed Dec 15 12:06:43 2010 : Info: server coa {</div>
<div>Wed Dec 15 12:06:43 2010 : Info: # Executing section recv-coa from file /Users/tripy/Devel/test-servers/freeradius-2.1.10/etc/raddb.proxy/sites-enabled/coa</div><div>Wed Dec 15 12:06:43 2010 : Info: +- entering group recv-coa {...}</div>
<div>Wed Dec 15 12:06:43 2010 : Info: ++[control] returns noop</div><div>Wed Dec 15 12:06:43 2010 : Info: # Executing section send-coa from file /Users/tripy/Devel/test-servers/freeradius-2.1.10/etc/raddb.proxy/sites-enabled/coa</div>
<div>Wed Dec 15 12:06:43 2010 : Info: +- entering group send-coa {...}</div><div>Wed Dec 15 12:06:43 2010 : Info: ++[ok] returns ok</div><div>Wed Dec 15 12:06:43 2010 : Info: } # server coa</div><div>Sending Disconnect-ACK of id 51 to 127.0.0.1 port 56343</div>
</div><div><br></div><div><br></div><div>Clearly I am missing something obvious, but I cannot find what it is.</div><div>Any idea?</div><div><br></div><div>Thanks,</div><div>tripy</div>