Hello,

We've been using PacketFence 3.6.1 to manage games consoles in student bedrooms 
and are planning to make use of the gaming self-registration feature in the 
near future. During my testing of that feature, I discovered that certain 
known-good MAC address prefixes for games consoles are being rejected by 
PacketFence during registration. Here's a patch to gaming.pm which sorts the 
existing list into numeric order and adds several missing MAC address prefixes 
which are in use on our residence network:

--- a/lib/pf/web/gaming.pm      2013-08-05 16:11:54.000000000 +0100
+++ b/lib/pf/web/gaming.pm      2013-08-05 16:26:55.000000000 +0100
@@ -28,31 +28,41 @@
 Readonly our $GAMING_LANDING_TEMPLATE => 'gaming-landing.html';
 Readonly our $GAMING_REGISTRATION_TEMPLATE => 'gaming-registration.html';
 Readonly our @GAMING_OUI => (
-    '00:12:5A:' ,  #          Microsoft-Xbox
-    '00:0D:3A:' ,  #          Microsoft-Xbox
-    '00:50:F2:' ,  #          Microsoft-Xbox
     '00:01:4A:' ,  #          Sony-PS2-PSP
     '00:02:C7:' ,  #          Sony-PS2-PSP
     '00:04:1F:' ,  #          Sony-PS2-PSP
-    '00:13:15:' ,  #          Sony-PS2-PSP
     '00:09:BF:' ,  #          Nintendo-Wii
-    '00:17:AB:' ,  #          Nintendo-Wii
-    '00:17:FA:' ,  #          Microsoft-Xbox
-    '00:15:C1:' ,  #          Sony-PS3
-    '00:19:C5:' ,  #          Sony-PS3
-    '00:1D:D8:' ,  #          Microsoft-Xbox
     '00:0B:E6:' ,  #          Nintendo-Wii
+    '00:0D:3A:' ,  #          Microsoft-Xbox
+    '00:12:5A:' ,  #          Microsoft-Xbox
+    '00:13:15:' ,  #          Sony-PS2-PSP
+    '00:15:C1:' ,  #          Sony-PS3
     '00:16:56:' ,  #          Nintendo-Wii
-    '00:1A:E9:' ,  #          Nintendo-Wii
-    '00:1D:0D:' ,  #          Sony-PS3
+    '00:17:AB:' ,  #          Nintendo-Wii
+    '00:17:FA:' ,  #          Microsoft-Xbox
     '00:19:1D:' ,  #          Nintendo-Wii
+    '00:19:C5:' ,  #          Sony-PS3
     '00:19:FD:' ,  #          Nintendo-Wii
-    '00:1F:32:' ,  #          Nintendo-Wii
-    '00:1C:BE:' ,  #          Nintendo-Wii
+    '00:1A:E9:' ,  #          Nintendo-Wii
+    '00:1B:7A:' ,  #          Nintendo-Wii
     '00:1B:EA:' ,  #          Nintendo-Wii
+    '00:1C:BE:' ,  #          Nintendo-Wii
+    '00:1D:0D:' ,  #          Sony-PS3
+    '00:1D:D8:' ,  #          Microsoft-Xbox
     '00:1E:35:' ,  #          Nintendo-Wii
-    '00:1B:7A:' ,  #          Ninetndo-Wii
+    '00:1F:32:' ,  #          Nintendo-Wii
+    '00:1F:A7:' ,  #          Sony-PS3
     '00:22:48:' ,  #          Microsoft-Xbox
+    '00:23:31:' ,  #          Nintendo-Wii
+    '00:24:8D:' ,  #          Sony-PS3
+    '00:25:AE:' ,  #          Microsoft-Xbox
+    '00:50:F2:' ,  #          Microsoft-Xbox
+    '28:0D:FC:' ,  #          Sony-PS3
+    '7C:1E:52:' ,  #          Microsoft-Xbox
+    '7C:ED:8D:' ,  #          Microsoft-Xbox
+    'A8:E3:EE:' ,  #          Sony-PS3
+    'F8:D0:AC:' ,  #          Sony-PS3
+    'FC:0F:E6:' ,  #          Sony-PS3
 );

 =head1 SUBROUTINES


Regards,

Graeme Hamilton
Senior Network Specialist
Information Services
University of Stirling


-- 
The University of Stirling is ranked in the top 50 in the world in The Times 
Higher Education 100 Under 50 table, which ranks the world's best 100 
universities under 50 years old.
The University of Stirling is a charity registered in Scotland, 
 number SC 011159.


------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent 
caught up. So what steps can you take to put your SQL databases under 
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-devel mailing list
PacketFence-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-devel

Reply via email to