[Chilli] uamdomain / uamallowed

David Bird david at coova.com
Thu Nov 11 15:59:32 UTC 2010


In subversion:

* Added compile time option ''--enable-layer3'' and run-time option
''--layer3'' to enable a Layer3 (IP-Only) style captive portal - no DHCP
* Change to ''chilli_query logout'' to identify sessions based on
options ''sessionid ...'' or ''ip ...'', not just MAC address
* Added compile time option ''--enable-uamdomainfile'' and run-time
option ''--uamdomainfile filename'' to load regex style uamdomains
* Added compile time option ''--enable-redirdnsreq'' and run-time option
''--redirdnsreq'' to have chilli send a DNS query for the hostname found
in the redirect (useful when relying heavily on DNS based walled garden
using ''uamdomain'' or ''uamdomainfile'')
* Fixed ''uamdomain'' such that it will only match exactly the given
name or prefixed with anything dot ('.') name
* Added Pragma no cache and Expires headers to redirect HTTP responses
* Fixed ''chilli_proxy'' bug for when DNS is down



On Thu, 2010-11-11 at 13:37 +0100, David Bird wrote:
> Well, since the option is "uamdomain", I think we can assume the "user"
> is thinking "uamdomain" plus "*.uamdomain" ... so, we change the logic
> to fix the issue of '*uamdomain' (as it is always now) to being:
> 
> (assuming 'question' is the hostname being resolved)
> 
> if question equals uamdomain exactly OR
>    question is longer than uamdomain and ends with ".uamdomain"
> 
> So that "google.com" will match "google.com" or "*.google.com". 
> 
> As for using regex for matching, I'm thinking of making it only for use
> with a new compile time option --enable-domainfile which will allow the
> loading of bulk regex based "dynamic walled garden" domain names. 
> 
> 
> On Thu, 2010-11-11 at 14:19 +0200, Johan Meiring wrote:
> > On 2010/11/11 02:08 PM, Wichert Akkerman wrote:
> > > On 11/11/10 13:06 , Johan Meiring wrote:
> > >> On 2010/11/11 01:13 PM, Henk Kleynhans wrote:
> > >>> I'm happy for uamdomain="google.com" to mean
> > >>> google.com and all subdomains, as it currently is.
> > >>>
> > >>> And for uamdomain="mail.google.com" to only
> > >>> refer to mail.google.com
> > >>
> > >> How must chilli know that "google.com" is a domainname and
> > >> "mail.google.com" is a hostnname?
> > >
> > > It can't - DNS has no concept of 'hostname' or 'domain'.
> > >
> > 
> > Therefore having "google.com" include subdomains and "mail.google.com" not 
> > include subdomains is impossible.
> > 
> > Suggesting .google.com for subdomains again....
> > 
> 
> 
> _______________________________________________
> Chilli mailing list
> Chilli at coova.org
> http://lists.coova.org/cgi-bin/mailman/listinfo/chilli




More information about the Chilli mailing list