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 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 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 translation. > > > > The accepted client table does not have to be on the AP itself. It is > > usually held in a RADIUS server upstream. The authentication gateway also > > does not need to be on the AP itself. It can be upstream and does not > have > > to be the same as the RADIUS server. You can also have more than one > payment > > gateway but use the same RADIUS server. > > > > That, in a nutshell is how it is done. There's a lot of > netfilter/iptables > > smoke an mirrors going on on the AP. > > > > > > - yba > > > > > > On Mon, 26 May 2014, Erez D wrote: > > > >> Date: Mon, 26 May 2014 10:26:52 +0300 > >> From: Erez D <erez0...@gmail.com> > >> To: Jonathan Ben Avraham <y...@tkos.co.il> > >> Cc: linux-il <linux-il@cs.huji.ac.il> > >> Subject: Re: partly OT: notification of url when connecting to open wifi > >> > >> > >> 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 ? > >>> > >>> > >>> - yba > >>> > >>> > >>> On Mon, 26 May 2014, Erez D wrote: > >>> > >>>> Date: Mon, 26 May 2014 10:11:54 +0300 > >>>> From: Erez D <erez0...@gmail.com> > >>>> To: linux-il <linux-il@cs.huji.ac.il> > >>>> Subject: partly OT: notification of url when connecting to open wifi > >>>> > >>>> > >>>> 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. > >>>> > >>>> _______________________________________________ > >>>> Linux-il mailing list > >>>> Linux-il@cs.huji.ac.il > >>>> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > >>>> > >>> > >>> -- > >>> 9590 8E58 D30D 1660 C349 673D B205 4FC4 B8F5 B7F9 ~. .~ Tk Open > >>> Systems > >>> =}-------- Jonathan Ben-Avraham ("yba") > >>> ----------ooO--U--Ooo------------{= > >>> mailto:y...@tkos.co.il tel:+972.52.486.3386 http://tkos.co.il > >>> skype:benavrhm > >> > >> > > > > -- > > 9590 8E58 D30D 1660 C349 673D B205 4FC4 B8F5 B7F9 ~. .~ Tk Open > Systems > > =}-------- Jonathan Ben-Avraham ("yba") > ----------ooO--U--Ooo------------{= > > mailto:y...@tkos.co.il tel:+972.52.486.3386 http://tkos.co.ilskype:benavrhm > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il >
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il