PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001202PacketFencecorepublic2011-03-25 15:222011-10-25 09:01
Reporterobilodeau 
Assigned Toobilodeau 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version2.2.0Fixed in Version2.2.0 
Summary0001202: RADIUS VoIP authorization issues
DescriptionAs reported on the mailing list:

Request A (success)
Mar 24 11:24:05 pf::WebAPI(22979) INFO: handling radius autz request: from switch_ip => switchip, 
connection_type => Ethernet-NoEAP mac => phone_a_mac, port => 50544, username => phoneamac 
(pf::radius::authorize)

Mar 24 11:24:05 pf::WebAPI(22979) INFO: autoregister a node that is already registered, do nothing. (pf::node::node_register)


Mar 24 11:24:05 pf::WebAPI(22979) WARN: database query failed with: Column 'port' cannot be null. (errno: 
1048), will try again (pf::db::db_query_execute)

Mar 24 11:24:05 pf::WebAPI(22979) WARN: database query failed with: Column 'port' cannot be null. (errno: 
1048), will try again (pf::db::db_query_execute)

Mar 24 11:24:05 pf::WebAPI(22979) WARN: database query failed with: Column 'port' cannot be null. (errno: 
1048), will try again (pf::db::db_query_execute)

Mar 24 11:24:05 pf::WebAPI(22979) ERROR: Database issue: We tried 3 times to serve query locationlog_insert_start_with_mac_sql 
called from pf::locationlog::locationlog_insert_start and we failed. Is the database running? (pf::db::db_query_execute)


Mar 24 11:24:05 pf::WebAPI(22979) WARN: Unable to insert a locationlog entry. (pf::locationlog::locationlog_synchronize)




Request B (fails)
Mar 24 11:36:50 pf::WebAPI(22970) INFO: handling radius autz request: from switch_ip => SwitchIP, 
connection_type => Ethernet-NoEAP mac => Phone_B_MAC, port => 50445, username => phonebmac 
(pf::radius::authorize)

Mar 24 11:36:50 pf::WebAPI(22970) INFO: autoregister a node that is already registered, do nothing. (pf::node::node_register)


Mar 24 11:36:50 pf::WebAPI(22970) FATAL: radius authorize failed with error: Can't call method "NasPortToIfIndex" 
on an undefined value at /usr/local/pf/lib/pf/radius.pm line 395. (PFAPI::radius_authorize)


TagsNo tags attached.
fixed in git revision
fixed in mtn revision54ae73609e990eeda614a0e759c029d25a382791
Attached Filespatch file icon pf-radius-voip-fixes_2.x.patch [^] (772 bytes) 2011-03-25 15:47 [Show Content]

- Relationships

-  Notes
(0001997)
obilodeau (reporter)
2011-03-25 15:46

Found a problem with _authorizeVoip() which was translating an already translated port. Attaching a patch.
(0002000)
obilodeau (reporter)
2011-03-25 18:04

patch worked
(0002001)
obilodeau (reporter)
2011-03-25 18:05

Reminder sent to: fgaudreault

you might need this patch soon ;)

- Issue History
Date Modified Username Field Change
2011-03-25 15:22 obilodeau New Issue
2011-03-25 15:22 obilodeau Status new => assigned
2011-03-25 15:22 obilodeau Assigned To => obilodeau
2011-03-25 15:46 obilodeau Note Added: 0001997
2011-03-25 15:46 obilodeau Status assigned => feedback
2011-03-25 15:47 obilodeau File Added: pf-radius-voip-fixes_2.x.patch
2011-03-25 15:50 obilodeau Summary VoIP authorization issues => RADIUS VoIP authorization issues
2011-03-25 18:04 obilodeau mtn revision => 54ae73609e990eeda614a0e759c029d25a382791
2011-03-25 18:04 obilodeau Note Added: 0002000
2011-03-25 18:04 obilodeau Status feedback => resolved
2011-03-25 18:04 obilodeau Fixed in Version => +1
2011-03-25 18:04 obilodeau Resolution open => fixed
2011-03-25 18:05 obilodeau Note Added: 0002001
2011-05-04 11:32 obilodeau Fixed in Version +1 => 2.2.0
2011-05-04 11:40 obilodeau Status resolved => closed
2011-10-25 09:01 obilodeau Target Version +1 => 2.2.0


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker