Security

Reply
Occasional Contributor II
Posts: 30
Registered: ‎06-21-2014

To be alerted when guest logs into open captive portal guest access

Hi Guys,

 

Not sure if anyone has ran into this kind of request. I am running an Aruba Mobility Controller. As we occasionally product launch events, we have to offer free wifi during those product launch.

 

I have created an SSID where guests will see a captive portal. They will need to key in their email address only before they can access the Internet. Can the administrators (me) be alerted via email whenever someone logs in via this SSID?

Community Administrator
Posts: 2,180
Registered: ‎12-03-2013

Re: To be alerted when guest logs into open captive portal guest access

I haven't encountered that specific request but if you have access to Airwave you could perhaps configure a trigger based on your desired requirements to alert you.
CWNA, ACMP, Security +
Occasional Contributor II
Posts: 30
Registered: ‎06-21-2014

Re: To be alerted when guest logs into open captive portal guest access

Hi Jamie,

No. I don't have Airwave unfortunately.

Correct me if I am wrong, when guest access into my captive portal. Since I don't provide any form if authentication, just an email address to identify them, the Mobility Controller should at least store this as an event log. I am not sure what severity level this is. Maybe it is classified as 'informational' or 'notification'. Is there a way that this event log be sent via email?

Digging through the syslog server is a last resort.
Aruba
Posts: 1,536
Registered: ‎06-12-2012

Re: To be alerted when guest logs into open captive portal guest access

An other option would be to use a HTML page that also sends an email when the guest clicks accept.
Thank You,
Troy

--Give Kudos: found something helpful, important, or cool? Click Kudos Star in a post.

--Problem Solved? Click "Accepted Solution" in a post.
Occasional Contributor II
Posts: 30
Registered: ‎06-21-2014

Re: To be alerted when guest logs into open captive portal guest access

Using PHP? Like this?

//variables

//form contents
$txtMessage=$_POST['message'];
$txtMail=$_POST['email'];
$txtMessage = str_replace(array("\n","\r"),'',$txtMessage);
$txtEmail = str_replace(array("\n","\r"),'',$txtMail);
$Myemail="your email address here";


$message ="Message :\t$txtMessage\n
\n"
$subject = "Message from - ".$txtEmail;
$mailheaders = "From: $txtEmail <> \n";
$mailheaders .= "Reply-To: $txtEmail\n\n";

//send mail
mail($Myemail, $subject, $message , $mailheaders);
?>
Aruba
Posts: 1,536
Registered: ‎06-12-2012

Re: To be alerted when guest logs into open captive portal guest access

I can do basic coding and that's about it :) so hopefully someone will chime in that knows what they are doing. I'll dig around today on arubapedia and see if I can find you some samples.
Thank You,
Troy

--Give Kudos: found something helpful, important, or cool? Click Kudos Star in a post.

--Problem Solved? Click "Accepted Solution" in a post.
Search Airheads
Showing results for 
Search instead for 
Did you mean: