On 11/28/2012 09:27 AM, ramakrishna wrote:
Hi,
I have been using freeradius 2.2 for a while now.
When i start the radius server in debug mode, I observed server creating proxy sockets. please find the log below.
* ... adding new socket proxy address * port 61412 ... adding new socket proxy address * port 61413 ... adding new socket proxy address * port 61414 *Listening on authentication address * port 1812 Listening on accounting address * port 1813
What i observed is every time i restart the server, i see the port numbers increasing instead of same port numbers being used.
My question is does that mean that the previously used port numbers(61409, 61410, 61411) are not freed properly?
No. The proxy socket doesn't define a port to bind to, since it's a client socket. The OS controls the port, and is responsible for it increasing over time. The old ports are freed just fine when the old process exits.