Sunday, August 25, 2013

PacketFence 4.0.x Game System Registration

I came across a little snafu in the Gaming System registration in Packetfence 4.0.X. In PacketFence you can have a page that allows users to register systems that don't have web browsers on them. You can access it by https://<packetfence ip>/gaming-registration .

Great since Xbox's are notorious for not getting registered, due to collision in the OS fingerprinting. This is a well documented problem. In my previous install they would fingerprint to OEM Wireless Router, this time it seems RIM BlackBerry. Either way they miss my auto-registration violation rule, which I may just get rid of.

So trouble started when several students tried to register their Xbox's using the registration page.
 They would authentication to the first page then enter the MAC address:
 Then it would throw this error:

So what gives looks valid. Turns out there is a file: <PF install dir>/lib/pf/web/gaming.pm Which has a list of the first part of MAC addresses allowed to be entered into this page. Added the first 3 octets of the address to the file in the correct spot. Save the file and you are back in business.

I recommend that you verify the manufacturer  of the mac. I use this site: http://www.coffer.com/mac_find/ this allows you to verify that it is a microsoft mac. Hope this helps if you come across this problem.


3 comments:

  1. What if the player uses the MAC Address of his system to play the game again.How then this software is going to detect the user.

    Thanks
    Silvester Norman

    Change MAC Address

    ReplyDelete
  2. It is not the packetfence software necessarily that does the detection. The underlying network hardware, through the supported methods does that, radius mac-authentication or port security. If the user changes the registered mac they will have to re-register. Depending on the length of the registration, there is little gained by doing so.

    - Dave

    ReplyDelete
    Replies
    1. So it is not possible to detect these players who keep on changing the MAC Address to register again again to play and enjoy game.

      Thanks
      Silvester Norman

      Change MAC Address

      Delete