[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnu-radius] Radiusd will try to open UDP listen, even without auth{
From: |
Maurice Makaay |
Subject: |
[Bug-gnu-radius] Radiusd will try to open UDP listen, even without auth{} or acct{} block |
Date: |
Tue, 4 Nov 2003 01:57:26 +0100 |
Hi,
I am trying to build an accounting-only gnu-radius server. For doing so,
I created a configuration file without an "auth{ ... }" block in it.
This should work, but I see that the radiusd will on startup try to
open the default UDP radius authentication port. This is a bug, because
it might cause trouble on systems where people are running two separate
radiusservers for authentication and accounting.
Imagine:
server 1 starts with only an acct block in the configuration, but alongside
listening on the accounting UDP port, it'll also start listening on the
authentication UDP port.
server 2 starts with only an authentication block in the configuration.
Binding the auth port will fail, because server 1 already did so.
Result: broken radius service.
Workaround:
Always create an auth{} and an acct{} block in the configuration and if
one of them is not used, assign a bogus port using the listen statement.
Solution:
I think the attached patch will fix this.
Regards,
-- Maurice Makaay
patch.config.udp.listen
Description: Text document
- [Bug-gnu-radius] Radiusd will try to open UDP listen, even without auth{} or acct{} block,
Maurice Makaay <=