Proxy port allocation failure
    Alan DeKok 
    aland at deployingradius.com
       
    Wed Oct 14 16:45:39 CEST 2009
    
    
  
Pavel Levshin wrote:
> When proxying some traffic, and when home server becomes unresponsive,
> after some time within timeout, freeradius fails to allocate new proxy
> socket with this message:
> 
> Error: Failed binding to proxy address * port 5815: Address already in use
  OK.  That's a definite bug.
> Note that the base proxy address is 5814 in my case. Some requests gone
> through port 5815 before server had started complaining.
> 
> Dump shows that total of 512 unresponded requests were sent, then the
> error occured.
> 
> Attached is my patch for this problem. It corrects two separate
> mistakes, which in summary caused undesired behaviour.
  This is already fixed in the git "stable" branch, as the relevant code
no longer exists.  It simply opens random proxy ports now.
  Alan DeKok.
    
    
More information about the Freeradius-Devel
mailing list