Community discussions

 
Prasanta
just joined
Topic Author
Posts: 12
Joined: Thu Sep 07, 2017 7:11 pm
Location: India
Contact:

Hotspot Notification for Exhausted Data Limit

Sat Sep 09, 2017 11:26 am

Hi ,

currently i m running Mikrotik as Hotspot Server and I am using USERMANAGER as radius server , my concern is how to notified a hotspot client which Data allotted is over or some kind of popup massage for Data over ,While the client is browsing, Please advice me ,if there is any script for that concern it will be helpful.

Thanks You,

Shanglakpam Prasanta Sharma
 
User avatar
ziegenberg
Frequent Visitor
Frequent Visitor
Posts: 52
Joined: Thu Mar 07, 2013 11:14 am
Location: Vienna
Contact:

Re: Hotspot Notification for Exhausted Data Limit

Sat Sep 09, 2017 7:44 pm

You would have to intercept the network traffic and insert an extra piece of JavaScript into the page's HTML.

But: that would only work for pure HTTP traffic, 'cause as soon as the traffic is encrypted (HTTP inside VPN or HTTPS) there is no way to intercept without braking encryption.

And: you can't do this with mikrotik's scripting capabilities. You'd need an transparent proxy in-between.

Who is online

Users browsing this forum: Majestic-12 [Bot], MSN [Bot] and 70 guests