Anonymous | Login | 2024-11-22 23:20 EST |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0001057 | PacketFence | error-handling | public | 2010-09-01 22:22 | 2011-01-26 15:38 | |||
Reporter | obilodeau | |||||||
Assigned To | obilodeau | |||||||
Priority | normal | Severity | minor | Reproducibility | always | |||
Status | closed | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | ||||||||
Target Version | 1.9.1 | Fixed in Version | 1.9.1 | |||||
Summary | 0001057: registration.maxnodes is not enforced the same way on the captive portal and in pfcmd manage register | |||||||
Description | registration.maxnodes is not enforced the same way on the captive portal and in pfcmd manage register. This leads to a strange situation like the captive portal accepted you but when trying to register you generate an error in the log and you stay in registration VLAN.Sep 01 21:49:27 register.cgi(0) DEBUG: got (1, 0) from authenticate() call (pf::web::web_user_authenticate) Sep 01 21:49:27 register.cgi(0) INFO: calling /usr/local/pf/bin/pfcmd 'manage register 00:21:86:9e:ab:f8 "douche" pid="1",user_agent="Mozilla 5.0 X11; U; Linux i686; en-US; rv:1.9.0.8 Gecko 2009033100 Ubuntu 9.04 jaunty Firefox 3.0.8",vlan="66"' (pf::web::web_node_register) Sep 01 21:49:28 pfcmd(0) ERROR: maxnodes met or exceeded - registration of 00:21:86:9e:ab:f8 to douche failed (pf::node::node_register) Sep 01 21:49:28 pfcmd(0) INFO: VLAN isolation is enabled and manage_register is part of adjustswitchportvlanreasons (main::generate_switchport_vlan_assignment) Sep 01 21:49:28 pfcmd(0) INFO: 00:21:86:9e:ab:f8 is currentlog connected at 10.42.0.101 ifIndex 10018 in VLAN 65 (main::generate_switchport_vlan_assignment) changing in node_register(): -my $owned_nodes = pf::person::person_nodes($pid); +my $owned_nodes = node_pid($pid); | |||||||
Tags | No tags attached. | |||||||
fixed in git revision | ||||||||
fixed in mtn revision | 9ee660314f3bc62134e78b5ef57baf2746fadf52 | |||||||
Attached Files | ||||||||
Notes | |
(0001685) obilodeau (reporter) 2010-09-21 16:42 |
After some discussions, we agreed that maxnodes is really there to enforce a maximum number of 'registered' nodes on a pid. So we fixed the node_register call to use the proper mechanism to enforce that coherently. Fix in 1.9 branch. |
Issue History | |||
Date Modified | Username | Field | Change |
2010-09-01 22:22 | obilodeau | New Issue | |
2010-09-01 22:22 | obilodeau | Status | new => assigned |
2010-09-01 22:22 | obilodeau | Assigned To | => obilodeau |
2010-09-21 16:42 | obilodeau | mtn revision | => 9ee660314f3bc62134e78b5ef57baf2746fadf52 |
2010-09-21 16:42 | obilodeau | Note Added: 0001685 | |
2010-09-21 16:42 | obilodeau | Status | assigned => resolved |
2010-09-21 16:42 | obilodeau | Fixed in Version | => 1.9.1 |
2010-09-21 16:42 | obilodeau | Resolution | open => fixed |
2011-01-26 15:38 | obilodeau | Status | resolved => closed |
Copyright © 2000 - 2012 MantisBT Group |