|
From: Chris A. <ca...@wi...> - 2018-02-21 20:00:52
|
I am also seeing this with many android devices including my Samsung s8+. LG phones are working fine though. I just installed pf 7.4 on a new CentOS install. On Wed, Feb 21, 2018 at 2:51 PM, Ian MacDonald via PacketFence-users < pac...@li...> wrote: > > We two pf instances running 7.4.0 on Debian 8.10 (not Debian 9 as I may > have suggested in previous posts), both recently upgraded from 7.3.0. > They both have been running packetfence on Debian since being staged with > 6.5.0. > > Our PF instance(s) run in an out-of-band configuration, providing a > captive portal to hostapd/CoA enabled switches using connection profiles > with SSID filters and an email source for activation. > > At some point in the past captive portal with WISPr worked great; Now it > seems we just have captive-portal functionality, which requires the user to > open a browser on a phone and go to a non-HSTS enabled site to hit the > captive portal. With more and more HSTS enabled sites, users are > complaining and we would like to get the WISPr back. > > It seems we may have had this issue since our rebuild at version 6.5.0. > > We have secure_redirect enabled with our SSL certs installed on the > server. > > On our Samsung S8/S8+ devices I am testing with, instead of WISPr, we get > the "Internet may not be availale" message (screenshot attached), and using > the browser, on a non-HSTS page jumps to the portal. Most of the popular > ones deliver a MITM warning with no ability to click through. > > I read a few threads on this issue and it seems like we should be able to > get this to work like it used to: > > https://sourceforge.net/p/packetfence/mailman/message/35504842/ > > https://sourceforge.net/p/packetfence/mailman/packetfence-users/thread/ > A94B03A5-62EA-4549-84EB-59B590DE340B%40depaul.edu/#msg34694877 > > It would seem that the following in our pf.conf should work, > > detection_mecanism_bypass=disabled > wispr_redirection=enabled > > But we don't get the WISPr prompt on these Samsung phones. And these same > phones do WISPr on our local subway, so I know they have the functionality. > > My Ubuntu 17.10 laptop pops up a "Hotspot Login" window, but based on the > httpd_portal log on the registration vlan below, I think it is just > captive-portal detection. > > Feb 21 14:31:03 pf4 httpd_portal: 10.2.2.13 127.0.0.1 - - > [21/Feb/2018:14:31:01 -0500] "pf4.netstatz.com" "GET > /captive-portal?destination_url=http://nmcheck.gnome.org/ HTTP/1.1" 200 > 7889 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/605.1 (KHTML, like > Gecko) Version/11.0 Safari/605.1" 1387175 > Feb 21 14:31:03 pf4 httpd_portal: 10.2.2.13 127.0.0.1 - - > [21/Feb/2018:14:31:03 -0500] "pf4.netstatz.com" "POST > /record_destination_url HTTP/1.1" 200 - "https://pf4.netstatz.com/ > captive-portal?destination_url=http://nmcheck.gnome.org/" "Mozilla/5.0 > (X11; Linux x86_64) AppleWebKit/605.1 (KHTML, like Gecko) Version/11.0 > Safari/605.1" 214434 > Feb 21 14:31:41 pf4 httpd_portal: 10.2.2.13 127.0.0.1 - - > [21/Feb/2018:14:31:40 -0500] "pf4.netstatz.com" "GET > /captive-portal?destination_url=https://cloud.netstatz.com/status.php > HTTP/1.1" 200 8281 "-" "Mozilla/5.0 (Linux) mirall/2.3.2" 929109 > Feb 21 14:32:13 pf4 httpd_portal: 10.2.2.13 127.0.0.1 - - > [21/Feb/2018:14:32:12 -0500] "pf4.netstatz.com" "GET > /captive-portal?destination_url=https://cloud.netstatz.com/status.php > HTTP/1.1" 200 8281 "-" "Mozilla/5.0 (Linux) mirall/2.3.2" 252936 > Feb 21 14:32:45 pf4 httpd_portal: 10.2.2.13 127.0.0.1 - - > [21/Feb/2018:14:32:44 -0500] "pf4.netstatz.com" "GET > /captive-portal?destination_url=https://cloud.netstatz.com/status.php > HTTP/1.1" 200 8281 "-" "Mozilla/5.0 (Linux) mirall/2.3.2" 265497 > Feb 21 14:33:17 pf4 httpd_portal: 10.2.2.13 127.0.0.1 - - > [21/Feb/2018:14:33:16 -0500] "pf4.netstatz.com" "GET > /captive-portal?destination_url=https://cloud.netstatz.com/status.php > HTTP/1.1" 200 8281 "-" "Mozilla/5.0 (Linux) mirall/2.3.2" 261760 > > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > PacketFence-users mailing list > Pac...@li... > https://lists.sourceforge.net/lists/listinfo/packetfence-users > > -- Chris Abel Systems and Network Administrator Wildwood Programs 2995 Curry Road Extension Schenectady, NY 12303 518-836-2341 -- IMPORTANT NOTICE: This message and any attachments are solely for the intended recipient and may contain confidential information, which is, or may be, legally privileged or otherwise protected by law from further disclosure. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this email and any attachments is prohibited. If you have received this communication in error, please notify the sender by reply email and immediately and permanently delete this email and any attachments. |