Proxy port allocation failure

Pavel Levshin pavel at levshin.spb.ru
Wed Oct 14 15:52:51 CEST 2009


Hi all.

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

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.


--
Pavel Levshin
OJSC "Megafon"


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: freeradius-bindport.patch
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20091014/dc9bdcc1/attachment.ksh>


More information about the Freeradius-Devel mailing list