how do "wispr survivability" work?

  • 1
  • Question
  • Updated 3 days ago
  • Answered
HI there.


We know a function as "wispr survivability" staring from sz 5.0.


How do the function work?


Do anyone have a document of the concept? or how to?


Regards.
Photo of Jeronimo

Jeronimo

  • 352 Posts
  • 47 Reply Likes

Posted 2 weeks ago

  • 1
Photo of James M

James M, Employee

  • 9 Posts
  • 11 Reply Likes
Hi Jeronimo,

1. Under typical circumstances, the AP will talk to the SZ controller via an SSH tunnel. When a client joins a WISPr WLAN, AAA authentication/accounting traffic is sent to the SZ controller, which forwards it to the AAA.

2. In the case of WISPr survivability: If the APs' communications to the SZ are lost, the AP will instead send AAA authentication and accounting traffic directly to AAA, so that users can continue to be authenticated to the WISPr WLAN. 

3. When AP <> SZ communications are restored (i.e. when the AP can re-establish an SSH tunnel to the SZ controller), the AP will go back to sending authentication/accounting traffic to SZ.

Regards

James
Photo of Jeronimo

Jeronimo

  • 348 Posts
  • 45 Reply Likes
How do we configuration for that?

Could you share us document about the configuration?

Form our test, it redirects web page to us but it doesn't authenticeted.

Regards.
Photo of Jeronimo

Jeronimo

  • 348 Posts
  • 45 Reply Likes
OK, Thanks 

I have done successfully a test of redirection and authentication.

Thanks James.


Photo of James M

James M, Employee

  • 9 Posts
  • 11 Reply Likes
Nice one Jeronimo, glad to help.

Cheers

James
Photo of Abi

Abi

  • 94 Posts
  • 46 Reply Likes
Hi Jeronimo,

Could you share the configuration or the sample portal configuration to support this ?

Thank you in advance!!!

Regards,
Abilash PR.
Photo of Jeronimo

Jeronimo

  • 352 Posts
  • 47 Reply Likes
Ok. I'll share it soon.
Photo of Jeronimo

Jeronimo

  • 352 Posts
  • 47 Reply Likes
From v5.0, WIspr redirection is responsible AP.

There If SZ goes down, AP can failover by himself.

1) Web portal failover.


When you configure secondary external URL on Hotsport setting, AP will periodically send request to primay URL. (per about one minuete.)
If Primary URL is not reachable, AP redirects request to secondary.

It's WEB portal failover.
It's so cool function.

2) WISPr failover

If you configure auth/acct server as proxy mode, you can backup auth/acct server.

The server is worked as non-proxy mode at AP when ssh tunnel with SZ is disconnected(not reachable).

If ssh tunnel with SZ is recovered, AP work via normal auth/acct server(primary server as proxy mode).

It's so amazing function.

3) AAA server failover

It's originally worked at AAA profile using primart/secondary server.

4) Modified HTML form code.

You have to modify POST action like below.

*as is  : 
document.write('<form method=POST action="http://' + get_sip() + ':9997/SubscriberPortal/hotspotlogin">');

*to be :
document.write('<form method=POST action="http://' + get_apip() + ':9997/SubscriberPortal/hotspotlogin">');

you also have to modify java script section "sip" to "apip" like below.

function get_apip() {

    var apip = get_param("apip");

    if (apip.indexOf(":") < 0) { // IPv4 address

        return apip;

    } else {                    // IPv6 address

        return '[' + apip + ']';

    }

}

If you have more question, please give me email to [email protected].

As a result, When you need to serve WISPr wlan, we can failover everything about AAA server / web portal/ WISPr redirection.

Regards.
(Edited)
Photo of Sanjay Kumar

Sanjay Kumar, Employee

  • 81 Posts
  • 36 Reply Likes
Hi Jeronimo,

Thank you for sharing the details.
Photo of Jeronimo

Jeronimo

  • 352 Posts
  • 47 Reply Likes
You are welcome.
Photo of Abi

Abi

  • 94 Posts
  • 46 Reply Likes
Hi Jeronimo,

Thank you so much for sharing this info vividly.

Regards,
Abilash PR.
Photo of Jeronimo

Jeronimo

  • 352 Posts
  • 47 Reply Likes
You are welcome.