partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Erez D
this is partially off topic some times when i connect to open wifi on aitports, my phone (android) gives me a notification of a site i need to go to, and if i click on it, it opens a browser with a predefined URL i was wandering - is that part of an RFC or standard ? 10x erez.

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Rabin Yasharzadehe
I think it's the same/some implementation of Google chrome to check if you are behind a proxy and have access to the internet. https://mikewest.org/2012/02/chrome-connects-to-three-random-domains-at-startup *--Rabin* On Mon, May 26, 2014 at 10:11 AM, Erez D erez0...@gmail.com wrote: this is

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Jonathan Ben Avraham
Hi Erez, No. The ability to configure a payment/authentication gateway is a router feature. I worked on this feature for Alvarion's WBSn. Every router designer develops their own feature. - yba On Mon, 26 May 2014, Erez D wrote: Date: Mon, 26 May 2014 10:11:54 +0300 From: Erez D

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Erez D
On Mon, May 26, 2014 at 10:18 AM, Rabin Yasharzadehe ra...@rabin.io wrote: I think it's the same/some implementation of Google chrome to check if you are behind a proxy and have access to the internet. https://mikewest.org/2012/02/chrome-connects-to-three-random-domains-at-startup Thanks,

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Erez D
On Mon, May 26, 2014 at 10:23 AM, Jonathan Ben Avraham y...@tkos.co.il wrote: Hi Erez, No. The ability to configure a payment/authentication gateway is a router feature. I worked on this feature for Alvarion's WBSn. Every router designer develops their own feature. can you elaborate ? -

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Jonathan Ben Avraham
Hi Erez, For each AP you need to maintain a table of client connections that are accepted, meaning that the client has presented some type of credential or payment or whatever. Packets from clients that are not accepted are routed to some authentication or payment gateway, with possible port

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Erez D
thanks, however, that not what i ment i was only asking how it generated a notification on my phone without me opening a browser i do not want to restrict access to anything thanks, erez. On Mon, May 26, 2014 at 10:44 AM, Jonathan Ben Avraham y...@tkos.co.il wrote: Hi Erez, For each AP you

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Rabin Yasharzadehe
the code is in the first answer http://stackoverflow.com/questions/13958614/how-to-check-for-unrestricted-internet-access-captive-portal-detection *--Rabin* On Mon, May 26, 2014 at 11:51 AM, Erez D erez0...@gmail.com wrote: thanks, however, that not what i ment i was only asking how it

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Erez D
On Mon, May 26, 2014 at 12:29 PM, Rabin Yasharzadehe ra...@rabin.io wrote: the code is in the first answer http://stackoverflow.com/questions/13958614/how-to-check-for-unrestricted-internet-access-captive-portal-detection nice, now i know the term is called walled garden or captive portal do

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Erez D
Jonathan, if we are talking about walled garden/captive portal implementation under linux, i'll take the opportunity to ask something related. how does the AP redirect every web access to the login page (for non accepted clients) i guess using a transparent proxy with a redirection page, am i

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread E.S. Rosenberg
re:all You may not do anything but your system (whether it is android or a desktop os) tries to ascertain whether or not it has internet connectivity or just LAN, if it tries to say GET google.com:80 it will get a HTTP/30x from the wireless gateway redirecting it to a payment/gateway-rules page,

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Jonathan Ben Avraham
Hi Erez, In the implementation that I worked on, we used iptables to route unauthenticated HTTP to a proxy (Hughes libHTTPd) on the AP which then presented the client with a page from some upstream payment gateway. Once the client was authenticated, we changed the iptables rules to allow

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Guy Gold
On Mon, May 26, 2014 at 4:51 AM, Erez D erez0...@gmail.com wrote: however, that not what i ment i was only asking how it generated a notification on my phone without me opening a browser Hi Erez, At the risk of needlessly reiterating some detail: In cases I've encountered, the alerts seemed

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Amos Shapira
Yes I think we got this. I'm not the OP bit I wonder what can an AP admin do to configure it in a way which triggers this OS smarts on the client. On 27 May 2014 07:16, Guy Gold guy1g...@gmail.com wrote: On Mon, May 26, 2014 at 4:51 AM, Erez D erez0...@gmail.com wrote: however, that not what i

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread E.S. Rosenberg
2014-05-27 2:25 GMT+03:00 Amos Shapira amos.shap...@gmail.com: Yes I think we got this. I'm not the OP bit I wonder what can an AP admin do to configure it in a way which triggers this OS smarts on the client. Make sure you aren't whitelisting the pages/domains used to verify the connectivity

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Guy Gold
On Mon, May 26, 2014 at 7:25 PM, Amos Shapira amos.shap...@gmail.comwrote: Yes I think we got this. I'm not the OP bit I wonder what can an AP admin do to configure it in a way which triggers this OS smarts on the client. At least, on my part, configuring our WiFi AP concentrator, I did

Re: partly OT: notification of url when connecting to open wifi

2014-05-26 Thread Erez D
Do you know what linux software can be used to proxy dns for some clients, resolve everything to a predetermained IP to other clients ? can dnsmasq do that ? other open software ? On Tue, May 27, 2014 at 5:56 AM, Guy Gold guy1g...@gmail.com wrote: On Mon, May 26, 2014 at 7:25 PM, Amos Shapira