Open apkt opened 5 years ago
Code in Switch/Cisco/Catalyst_2960.pm seems to be missing a line in radiusdisconnect():-
my $connection_info = {
nas_ip => $send_disconnect_to,
nas_port => $self->{'_disconnectPort'}, **<---- Added this and it now works as it should**
secret => $self->{'_radiusSecret'},
LocalAddr => $self->deauth_source_ip($send_disconnect_to),
};
Routine is called by perform_coa:-
The code in perform_dynauth overrides any NAS_PORT value stored in the $connection_info variable and consequently from the settings in the SWITCH/SWITCHGROUP config pages.
The code imposes 3799 for CoA and consequently requires specific overrides on switches - Not clever.
Please fix or REMOVE the CoA port option from the SWITCH/SWITCHGROUP config pages