Invoke CNA on iOS8 device - ios8

I am working on a network controller based on Raspberry Pi 2. I have nicely working WiFi AP, DHCP server, captive portal (via DNSmasq) and a web server. The unit is fully offline, no internet access is available.
My only problem now is that users need to initiate interaction by running their browser and typing in a random domain so they are served my content.
I was searching the internet for a way to make my iPhone initiate captive network assistant, but couldn't find a way to do so on iOS 8.
Given that my network is offline with no access to the internet it is clear to me that my iPhone detected a captive portal as it presumably pings many websites in order to determine it's online status. Why doesn't it display my login screen automatically?

Related

Facing issue while trying to record a mobile native application using Loadrunner with VPN

I'm facing an issue while trying to record a mobile native application using Loadrunner (Remote application via Loadrunner proxy).
I am using a client provided laptop / mobile devices for testing.
Initially, I was not able to record the mobile app via LR proxy using the client's laptop, but I was able to do the recording using my personal laptop. After raising tickets and having multiple sessions with the helpdesk team, we figured out that we are able to record the mobile app by disabling the VPN on the client laptop, but fail when the VPN is enabled (as the IP address is being changed to the VPN network).
Disabling the VPN is against the client security policy and I don't even have the admin rights to disable it.
As suggested by the helpdesk team, I have tried installing pulse secure and connecting the mobile device to the VPN (so that the mobile and laptop would be under the same client network), but it failed to record.
Network team wouldn't work on the issue as it is not related to network elements (routers, switches and firewalls, etc.), but to the user end-point.
I am not able to do recording with Jmeter or capture traffic using Fiddler as well with the VPN being connected in the laptop. All of the mentioned tools were able to do the recording from my personal laptop.
We are now stuck without any option to proceed further.
Please comment if anyone has faced the issue or has insights on the next steps that I need to approach this.

How can I make my service deployed locally visible for a Google Home device app?

I've created my action on Google development project and I've deployed a self signed service locally(in the local network) which I've added for fulfilment on the Action settings. Now I see my app in the Google Assistant, under Add devices, but when I try to link accounts(the account linking was also set previously), the action.devices.SYNC is not triggered and I get the "Couldn't update the settings. Check your connection". My phone is also in the same network. What am i missing?
All Google Assistant Actions, including Smart Home Actions, go through Google's cloud. Even requests from your phone or Google Home device to the smart device on the same LAN go through Google's servers.
Google's servers need to be able to contact your local service, so it needs to have a globally accessible IP address/name.

Check if Firefox OS is connected to WiFi for privileged apps

Is there a way for a privileged Firefox OS app to detect if the WiFi is connected to a network? I am aware of https://developer.mozilla.org/en-US/docs/WebAPI/Settings but that API is only for certified apps. All I need to do is detect whether the phone is connected to a network or is not connected.
You need to use the Network Info API, which provides you with values about the bandwidth (Mb/s estimate) and if the current connection is metered (mobile data vs Wifi).
metered should be enough to tell if the user is on wifi. There is no need to read the Settings! This API is even accessible for web apps.
Check the window.navigator.onLine property

How does geolocation work on a windows PC on wired broadband connection?

I'm trying to develop a web app which uses geolocation, and to begin with it worked fine on my Windows 7 PC at home, both in Chrome and Firefox.
It still works fine on mobile browsers, but has stopped working on both browsers on my PC, which made me wonder how it actually works on my PC - is it querying a geographical database of IP addresses that could now be blocking me due to overuse?
Is there any way to change the settings? The "Location and Other Sensors" control panel tells me there are no sensors installed, and nothing shows up in the event log for "Location Activity".
Firefox gathers information about nearby wireless access points and
your computer’s IP address. Then Firefox sends this information to the
default geolocation service provider, Google Location Services, to get
an estimate of your location. That location estimate is then shared
with the requesting website.
From: https://www.mozilla.org/en-US/firefox/geolocation/
This is also how Chrome determines location (Sending IP and nearby Wi-Fi info to Google Location Services). It seems likely that Windows 7 does about the same thing, though I couldn't find specific details other than it uses postal code if available.

Why can't I connect to a site on my local network with WP7 via Wifi?

I am working on a WP7 application that retrieves data from a web service. The web service was written by a co-worker and is hosted on a server connected to the office network. The app works just fine in the emulator. However, when I run the app on the actual phone (HTC Surround) it can't connect to the web service. If I try to open a website hosted on the same server that doesn't work either. However I can connect to other websites just fine.
One thing to note is - I don't have a SIM card in the phone, so the only available data connection is via WiFi, which connects to the office network (the same network that the service is hosted on).
I'm able to hit this website just fine from my laptop (on the wired office network), via an Android phone using WiFi, and via an Android phone using 4G.
What could be going on here? Alternatively - how can I debug this issue?
Thanks
I'd start debugging it by using Connectify.me (or something similar) to re-broadcast the wifi network you're having problems with, start Fiddler up and analyze what happens when the device's browser connects to some external site vs the site hosted on your network.

Resources