Louis:

>> I am not trying to point fingers. Just trying to understand what is going 
>> on...
I completely understand, no worries!

Yes, I do have a custom radius.pm

However it is identical to the stock radius.pm with the sole change being the 
addition of a value added to one of the hashes that gets passed to vlan.pm (of 
which I also have a custom version).

I have not applied any patches, yet.  I am going to apply the gaming path you 
sent me in a bit to see how it goes.

The method " getIfIndexiByNasPortId" is a typo with the extra "i" we discussed 
earlier.  Once I removed the extraneous "i", I found only a single reference in 
/usr/local/pf/lib/pf/SNMP/MockedSwitch.pm Line 2862.

It is:

sub getIfIndexByNasPortId {
    my ($this ) = @_;
    return $FALSE;
}

However, this module does not seem to be a parent module from which other 
modules can inherit this method.  It also seems to be there for strictly 
debugging purposes.  

I will setup a test instance of the new 4.0.5 release tonight and report back 
if it solves any of the issues I saw.

Thank you for all your assistance.

Jake Sallee
Godfather of Bandwidth
System Engineer
University of Mary Hardin-Baylor
900 College St.
Belton TX. 76513
Fone: 254-295-4658
Phax: 254-295-4221
HTTP://WWW.UMHB.EDU

-----Original Message-----
From: Louis Munro [mailto:[email protected]] 
Sent: Monday, August 12, 2013 12:41 PM
To: [email protected]
Subject: Re: [PacketFence-users] PF gone crazy

Hi Jake,
Please see my answers appended below.


On 2013-08-12, at 11:08 , "Sallee, Stephen (Jake)" <[email protected]> wrote:

> First: thank you for the rapid responses!
> 
> I looked at the method that is failing:
> 
> my $ssid;
> $port = $switch->getIfIndexiByNasPortId($nas_port_id) || 
> $this->_translateNasPortToIfIndex($connection_type, $switch, $port); if 
> (($connection_type & $WIRELESS) == $WIRELESS) {
>    $ssid = $switch->extractSsid($radius_request);
>    $logger->debug("SSID resolved to: $ssid") if (defined($ssid)); }
> 
> I did a search on the failing method and could not find it in ANY of the 
> modules I am using (Xirrus, Cisco 2960, Cisco WLC 5500).


The method is inherited. It must be in one of the parent classes to one of 
those modules (all the way back to SNMP.pm if nowhere else).
It does look ike a typo to me. The thing is, I can't seem to find it in 4.0.5 
either (apart from the Changelog).

Do you have a radius::custom module (in lib/pf/radius/custom.pm)?
Did you by any chance apply a patch to your PF? 
I am not trying to point fingers. Just trying to understand what is going on...

> 
> I modified it to be the following:
> 
> my $ssid;
> #    $port = $switch->getIfIndexiByNasPortId($nas_port_id) || 
> $this->_translateNasPortToIfIndex($connection_type, $switch, $port);
> $port = $this->_translateNasPortToIfIndex($connection_type, $switch, 
> $port); if (($connection_type & $WIRELESS) == $WIRELESS) {
>    $ssid = $switch->extractSsid($radius_request);
>    $logger->debug("SSID resolved to: $ssid") if (defined($ssid)); }
> 
> After a pf service restart my clients are able to get back on.  Now for a 
> post mortem to figure out what the heck happened.
> 


Regards,
--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 *125  :: +1 (866) 353-6153
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to