Hi Jonathan,

Sorry I don't check this list very often anymore as I'm not directly involved 
in CCA admining/using anymore.  
>>>Does anyone have a recent example of a game console registration page we 
>>>could modify for our environment?

Looks like my cca example code is still up at:
http://oak.conncoll.edu/~aclan/public/code_samples/cca/

All you need is that xbox.tar.  It doesnt use any external libraries or 
anything like that... just PHP

Looking through that code, I know Cisco changed the API at some point to 
require that you send the parameters in the body of the POST rather than in the 
url string, so you'll need to modify that part to be something like this:
    $header = "POST $file HTTP/1.0\r\n";
    $header .= "Host: $cam_hostname\r\n";
    $header .= "Content-type: application/x-www-form-urlencoded\r\n";
    $header .= "Content-length: " . strlen($data) . "\r\n";
    $header .= "Accept: */*\r\n";
    $header .= "\r\n";
    $header .= "$data\r\n";
    $header .= "Connection: close\r\n\r\n";

Looks like I have it fixed in one of my other examples:
http://oak.conncoll.edu/~aclan/public/code_samples/cam_functions.phps

If you have any questions feel free to ask.

Also, if anyone is feeling incredibly guilty about using and of my code for the 
past couple years, please contact me off list.  I've got a network security 
survey that would take no longer than 3 minutes to fill out and we could call 
it even.  Thanks ;-)

Alex







Regards,

Alex Lanstein
Network/Systems Architect
FireEye, Inc.
The Botnet Control Experts
http://www.fireeye.com
[EMAIL PROTECTED]



From: Cisco Clean Access Users and Administrators
[mailto:[EMAIL PROTECTED] On Behalf Of Holman, Jonathan
Sent: Tuesday, May 13, 2008 1:02 PM
To: [email protected]
Subject: [CLEANACCESS] Game console registration

Hello,
        We have just started on the Clean Access path, and have found
ourselves in a bit of a quandary.  Does anyone have a recent example of
a game console registration page we could modify for our environment?  I
have already looked at Alex Lanstein's examples and am a bit confused as
I have never developed through PHP, being server side myself.  A few
questions I would have is where is the file functions.php (called in
cam_functions.phps)?  I have seen a couple people commenting on adding
some additional code to get their registration to work, is this a new
issue?  I suspect that if we can't get this registration page up soon, I
may just end up adding in wildcard mac addresses.  So the second
question would be does anyone have a recent list of mac addresses from
the vendors?

Thanks,

Jonathan

Jonathan Holman
System Coordinator, System Support Services
Communication and Information Technologies
Tennessee State University
3500 John Merritt Boulevard
Nashville, Tennessee 37209
(615) 963-7688

Reply via email to