Security

last person joined: yesterday 

Forum to discuss Enterprise security using HPE Aruba Networking NAC solutions (ClearPass), Introspect, VIA, 360 Security Exchange, Extensions, and Policy Enforcement Firewall (PEF).
Expand all | Collapse all

Captive portal and redirect loop error - ArubaOS 6.1.3.7

This thread has been viewed 11 times
  • 1.  Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 04, 2014 04:21 PM

    Hi guys,

    This is the first time i'm configuring captive portal in my network.

    I tried the default captive portal page and this worked well.

     

    I tried to modify the portal changing the background and putting a little text and this worked well.

     

    Now I upload a basic html page (Aruba Hotel) like I see here in Airheads as a top level page of Captive Portal and now I have the error ERR_TOO_MANY_REDIRECTS on Chrome.

     

    I saw many topics about redirect loop here, but I'm confused about to do.

    Is it a bug of this version?



  • 2.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    EMPLOYEE
    Posted Sep 04, 2014 11:52 PM
    Usually too many redirects means that your role is not correct and does not have the server where the CP is held.


  • 3.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 05, 2014 10:47 AM

    The CP server is the controller. Do you have a tip where do I configure it?



  • 4.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 05, 2014 03:07 PM

    you just uploaded a different page to the controller? you didn't modify the rest of the configuration?

     

    can you go back and make it work again with the default page?

     

    if it works again have a look at the page you uploaded and perhaps share it here so we can see if everything is up with it.

     

    if you changed the configuration then have a look at the following items

    the pre-logon role is configurated in the aaa profile (Security > Authentication > Profiles; Initial role)

    that role has an captive portal profile attached (Security > Access Control > User Roles; Captive Portal Profile)

    the captive portal has a (different) post authentication role (Security > Authentication > L3 Authentication; Default Role)



  • 5.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 05, 2014 05:37 PM

    Thank you for the tips.

    First, we made a configuration of the captive portal with our needs and the default page of the controller.

    It worked well. Our security team made a security analisys of this implementation and aproved it.

     

    The second step is the customization of the page. 

    We created a custom page based on the default page of Aruba. And the redirect loop appears.

    We put a basic page we saw here http://community.arubanetworks.com/t5/Command-of-the-Day/COTD-How-to-customize-the-Captive-Portal/td-p/15012 and the problem occurs again.

     

    I revert to factory default settings and the captive portal is working.



  • 6.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 06, 2014 04:09 AM

    i suspect that something is wrong with the page you use and that causes the redirect loop. but there is too little detail on what exactly you modify.

     

    • We created a custom page based on the default page of Aruba

    what did you modify? did you for example add pictures linked from an external source?

     

    best way to trouble shoot is to modify step by step and see when the system fails. if you don't understand why it fails there please report back explains what exact modification caused this.



  • 7.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 10, 2014 11:01 AM

    Ok.

    I reset the captive portal to the default page of controller. It works fine, with the logo of Aruba.

     

    I uploaded the page copied here "indexBCB.html" in the controller and choose the option:

     

    Page Type: Captive Portal Login (top-level)

     

     

    <BR /><BR />
    <PRE>
    <BR /><BR /><BR />
    <TITLE>Aruba Hotel</TITLE><BR /><BR /><DL><BR /><DD>
    <B>Aruba Hotel</B></DD><BR />
    <DD>For Reservations call</DD><BR />
    <DD>in the US: (212) 575-2226 </DD>
    <BR /><BR />
    <DD>in the UK: (020) 7451-5180 </DD><BR />
    <DD><A href="http://www.arubahotel.com" target="_blank" rel="nofollow">www.arubahotel.com</A></DD><BR /></DL>
    <BR /><BR />
    <FORM method="post" autocomplete="off" action="/auth/index.html/u">
    Please<BR />
    Enter Username and Password<BR /><BR />
    <INPUT name="user" accesskey="u" size="20" value="" /> <BR /><BR />
    <INPUT name="password" accesskey="p" size="20" value="" type="password" /> <BR /><BR />
    <INPUT value="Submit" type="submit" />
    </FORM><BR />
    </PRE>
    <BR />
    <BR />

     

    After this, the redirect loop error appears.

     

     



  • 8.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 10, 2014 12:13 PM

    only by uploading it and then going there it already causes the loop?

     

    your page don't seem the include some basic html tags, is that because of this site? could you attach the full info in a text file to the forum?

     

    what did you base this page on?



  • 9.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 10, 2014 01:08 PM

    Yes. When I upload this the error appears.

    I got this page here  http://community.arubanetworks.com/t5/Command-of-the-Day/COTD-How-to-customize-the-Captive-Portal/td-p/15012 

     

    I don't know why, but I try to attach a file here and it doesn't work.



  • 10.  RE: Captive portal and redirect loop error - ArubaOS 6.1.3.7

    Posted Sep 10, 2014 02:25 PM

    ok, yeah people complaint about that before, the not attaching thing. could you put it on pastebin or something like that?

     

    when i visit that link i see the page like it should look, i can't see the html source for it.