Hugh,
Here is an example, my current config, with IPs changed:
LogDir /usr/local/radiator/raddb
DbDir /usr/local/radiator/raddb
Trace 4
AuthPort 1645
AcctPort 1646
<Client 5.6.7.8>
Secret hello
</Client>
# DEFAULT handler
<Handler>
# Strip out junk from username
RewriteUsername s/[^A-Za-z0-9\-\.\@_\/]//g;
AcctLogFileName /radius/radiator/roaming/%R/%m-%d-%Y/%c
<AuthBy RADIUS>
Host 1.2.3.4
Secret blah
RetryTimeout 30
</AuthBy>
</Handler>
<Realm DEFAULT>
<AuthBy TEST>
</AuthBy>
</Realm>
I sent a radius test to hit the AuthBy TEST. Then I edited the config, and
commented out the last 4 lines. I then sent a SIGHUP, and tried the same
radius test. It again hit the AuthBy TEST clause even though it wasn't
there. Below are logs. Hope this helps.
Viraj.
Thu Sep 7 23:28:39 2000: DEBUG: AuthTEST loaded
Thu Sep 7 23:28:39 2000: DEBUG: New Radius::AuthTEST constructed
Thu Sep 7 23:28:39 2000: DEBUG: AuthTEST DESTROY ed
Thu Sep 7 23:28:39 2000: INFO: Server started: Radiator 2.16.3 on my.host.com
Thu Sep 7 23:29:04 2000: DEBUG: Packet dump:
*** Received from 5.6.7.8 port 1026 ....
Code: Access-Request
Identifier: 102
Authentic: <0><0>-<213><0><0>Bl<0><0>C<169><0><0>O<198>
Attributes:
User-Name = "blah@blah"
User-Password = "C<159>!<172><251><7><180><187><189><250>.<234><129>R/y"
NAS-Port = 21
Livingston = "test"
USR-Blah-Index = 1952805748
NAS-IP-Address = 5.6.7.8
Thu Sep 7 23:29:04 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Thu Sep 7 23:29:04 2000: DEBUG: Deleting session for blah@blah, 5.6.7.8, 21
Thu Sep 7 23:29:04 2000: INFO: AuthTEST handle_request: Received from 5.6.7.8 port
1026
Thu Sep 7 23:29:04 2000: DEBUG: Access accepted for blah@blah
Thu Sep 7 23:29:04 2000: DEBUG: Packet dump:
*** Sending to 5.6.7.8 port 1026 ....
Code: Access-Accept
Identifier: 102
Authentic: <0><0>-<213><0><0>Bl<0><0>C<169><0><0>O<198>
Attributes:
Thu Sep 7 23:29:36 2000: NOTICE: SIGHUP received: restarting
Thu Sep 7 23:29:36 2000: INFO: Server started: Radiator 2.16.3 on my.host.com
Thu Sep 7 23:29:45 2000: DEBUG: Packet dump:
*** Received from 5.6.7.8 port 1026 ....
Code: Access-Request
Identifier: 107
Authentic: <0><0>6<152><0><0>nv<0><0>W<205><0><0>n<208>
Attributes:
User-Name = "blah@blah"
User-Password = "<30><196>2evyjm<176><215>1qn<216>&<2>"
NAS-Port = 21
Livingston = "test"
USR-Blah-Index = 1952805748
NAS-IP-Address = 5.6.7.8
Thu Sep 7 23:29:45 2000: DEBUG: Handling request with Handler 'Realm=DEFAULT'
Thu Sep 7 23:29:45 2000: DEBUG: Deleting session for blah@blah, 5.6.7.8, 21
Thu Sep 7 23:29:45 2000: INFO: AuthTEST handle_request: Received from 5.6.7.8 port
1026
Thu Sep 7 23:29:45 2000: DEBUG: Access accepted for blah@blah
Thu Sep 7 23:29:45 2000: DEBUG: Packet dump:
*** Sending to 5.6.7.8 port 1026 ....
Code: Access-Accept
Identifier: 107
Authentic: <0><0>6<152><0><0>nv<0><0>W<205><0><0>n<208>
Attributes:
Thu Sep 7 23:29:57 2000: NOTICE: SIGTERM received: stopping
Thu Sep 7 23:29:57 2000: DEBUG: AuthTEST DESTROY ed
On Thu, 7 Sep 2000, Hugh Irvine wrote:
>
> Hello Viraj -
>
> On Thu, 07 Sep 2000, Viraj Alankar wrote:
> > On v2.16.3, I just noticed that if I have a:
> >
> > <Realm DEFAULT>
> >
> > in the configuration file, startup Radiator, then remove the <Realm
> > DEFAULT> clause and send a SIGHUP, it appears to still be in the
> > configuration.
> >
> > I'm not sure if it is a bug or not, but I was thinking HUP would first
> > remove the current config and reload from the file, so this section would
> > be gone from the running config.
> >
>
> This is what should happen. If you are seeing odd behaviour, it would be very
> helpful if you could send us the relevant configuration files and debug output
> so we can try to reproduce the problem.
>
> many thanks
>
> Hugh
>
> --
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, Interbiller, TACACS+, PAM, external, etc, etc.
> Available on Unix, Linux, FreeBSD, Windows 95/98/2000, NT, MacOS X.
>
>
>
> ===
> Archive at http://www.starport.net/~radiator/
> Announcements on [EMAIL PROTECTED]
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.
>
===
Archive at http://www.starport.net/~radiator/
Announcements on [EMAIL PROTECTED]
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.