(RADIATOR) Radiator Crashes on Monitor quit command

Mike McCauley mikem at open.com.au
Tue Mar 4 05:16:47 CST 2008


Hello Ernst,

thanks for reporting this.
Yes it is a bug.
It has now been fixed in the latest patch set for 4.1.
We apologise for any inconvenience

Cheers.

On Tuesday 04 March 2008 20:24, Ernst Oudhof wrote:
> Hi,
>
> I think I found a bug in radiator 4 which causes the server to crash
> when given the quit command in a monitor session...
>
> The debug log:
>
> eoudhof at binky:~$ radiusd -config_file monitor.cfg
> Tue Mar  4 11:13:39 2008: DEBUG: Creating StreamServer tcp port
> 0.0.0.0:9048
> Tue Mar  4 11:13:39 2008: DEBUG: Finished reading configuration file
> 'monitor.cfg'
> Tue Mar  4 11:13:39 2008: DEBUG: Reading dictionary file './dictionary'
> Tue Mar  4 11:13:39 2008: DEBUG: Creating authentication port
> 0.0.0.0:1645
> Tue Mar  4 11:13:39 2008: DEBUG: Creating accounting port 0.0.0.0:1646
> Tue Mar  4 11:13:39 2008: NOTICE: Server started: Radiator 4.1 on binky
> Tue Mar  4 11:13:51 2008: DEBUG: New StreamServer Connection created for
> 127.0.0.1:34273
> Tue Mar  4 11:13:51 2008: DEBUG: New MonitorConnection created for
> 127.0.0.1:34273
> Tue Mar  4 11:13:53 2008: DEBUG: Monitor received command: quit
> Can't locate object method "disconnect" via package
> "Radius::MonitorConnection"
> at /usr/local/share/perl/5.8.8/Radius/Monitor.pm line 341.
> eoudhof at binky:~$
>
>
> in 3.17 the following sub is in Monitor.pm this seems to be missing in
> 4.x
>
> sub disconnect
> {
>     my ($self) = @_;
>
>     # Deleting any references to this MonitorConnection will
>     # cause it to be destroyed
>     &Radius::Select::remove_file
>         (fileno($self->{socket}), 1, 1, 1);
>     &Radius::LogGeneric::remove_logger($self);
>     close($self->{socket});
>     $self->{parent}->log($main::LOG_DEBUG,  "MonitorConnection
> disconnected from $self->{peeraddr}:$self->{peerport}");
> }
>
> Regards,
>
> Ernst
>
> --
> Archive at http://www.open.com.au/archives/radiator/
> Announcements on radiator-announce at open.com.au
> To unsubscribe, email 'majordomo at open.com.au' with
> 'unsubscribe radiator' in the body of the message.

-- 
Mike McCauley                               mikem at open.com.au
Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
9 Bulbul Place Currumbin Waters QLD 4223 Australia   http://www.open.com.au
Phone +61 7 5598-7474                       Fax   +61 7 5598-7070

Radiator: the most portable, flexible and configurable RADIUS server 
anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald, 
Platypus, Freeside, TACACS+, PAM, external, Active Directory, EAP, TLS, 
TTLS, PEAP etc on Unix, Windows, MacOS, NetWare etc.

--
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.


More information about the radiator mailing list