[isf-wifidog] Uh oh! We apologize ...

Mina Naguib webmaster at topfx.com
Ven 11 Mar 06:06:04 EST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Philippe April wrote:
| On Fri, Mar 11, 2005 at 12:02:27AM -0500, Mina Naguib wrote:
|
|>I can think of 2 fixes:
|>
|>1. Make the external interface a mandatory config option again
|>2. (my recommendation) Run the built-in web server on a port other than
|>port 80.  That way the rule will not interfere with it.  This would also
|>be a mandatory requirement if we ever implement captive DNS
|>
|>As always, everyone's thoughts are always welcome.
|
|
| If I had the choice, I wouldn't go for any of the solutions :)
|
| #1 scares me. I think it's a pretty good thing that we don't
| need this parameter anymore.
|
| So I vote #2, unless we can find another way to do it. I LOVE to have
| the web interface on 80. Plus, it's openwrt's default.
|
| I'll think about it, see if I can find any other solution.

I was think of the laborious way of doing it:

After config file is parsed, if external interface is undefined,
populate it based on the default route

After that point, external interface is guaranteed to be known and we
can lock-down the offending rule.

Can anyone think of drawbacks of doing it this way ?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCMXuceS99pGMif6wRArZjAKC9T322njOXyKWtE175nhgLow+7FQCfWF/I
3dWuRdBeXBhCunrZ86uQ0wM=
=RhkH
-----END PGP SIGNATURE-----


Plus d'informations sur la liste de diffusion WiFiDog