Here we go!
Success within less then an hour :-)
I was able to make CP to allow unrestricted access to specified domains
I tested it with google and it works fine. So far I got only 2 bags: 1) this
doesn't work with SSL certificates ex: gmail 2)if page contains large number
of files that are loading from different servers this slows down the page
download ex: google video.
Everything else works fine at least for my needs. I did all of this via
modifications in CP index page. So far for concept prove it supports only
one domain name but I'm sure that could be extended to something bigger.
Anyway, if any of you are interested in making GUI and integrating this in
mono, just let me know and I post the code.
From: Alex M [mailto:radiussupport at lrcommunications dot net]
Sent: Thursday, May 31, 2007 2:09 PM
To: cdl at asgaard dot org; Monowall Support List
Subject: RE: [m0n0wall] How and Where CP passthrough IPs are cheked?
Well if I find the page (or script) that does that thing, I will find
workaround, the worthiest thing I can think of is to make mini script that
will let sey ping entered domain name for 100 times and record all new IPs
in to table ... but I think it should be easier
The way CP works itself if that we chek if CP enabled if yes we check if the
HOST_NAME is different from local host if yes we show the website. So what
we can so is to play with that.... actually I jus got an idea... let me
play with code again
From: cdl at asgaard dot org [mailto:cdl at asgaard dot org]
Sent: Thursday, May 31, 2007 2:40 AM
To: Alex M
Subject: Re: [m0n0wall] How and Where CP passthrough IPs are cheked?
Probably not going to do what you want it to do (I don't know where it is).
The problem is the hostnames will be resolved into IP's at the time the
system is booted and the config read. Therefore, you won't get all the
IP's, just a subset. Also, it means *.google.com won't work as you can't
Sent via Blackberry
From: "Alex M" <radiussupport at lrcommunications dot net>
Date: Wed, 30 May 2007 12:31:35
To:"Monowall Support List" <m0n0wall at lists dot m0n0 dot ch>,"'Mono Dev List'"
<m0n0wall dash dev at lists dot m0n0 dot ch>
Subject: [m0n0wall] How and Where CP passthrough IPs are cheked? (Urgent)
I'm back at mono, I need to modify CP code a bit to allow some domain names
to be accesses without authentication on Captive Portal. I know this will
never be used in release versions, but I need one for myself. Ex: to allow
users to get on all Google services I will need to enter about 100 IPs .
kinda too much work + their pool is changing all the time. So I thought to
simply hardwire some domains for my image (no interfaces, just allow some
domains and that's it)
I looked through the CP index page but it seams that IP pass-through is
handled somewhere else, can some one point me to the page that handles IP
passthrough for captive postal?
I would really appreciate that!
To unsubscribe, e-mail: m0n0wall dash unsubscribe at lists dot m0n0 dot ch
For additional commands, e-mail: m0n0wall dash help at lists dot m0n0 dot ch