[Wifidog] New features
Philippe April
isf_lists at philippeapril.com
Fri Feb 4 00:11:34 EST 2005
Yeah I introduced a bug.
I hadn't tested much. I'll try to fix it, should not be too hard.
On 3-Feb-05, at 11:22 PM, Mina Naguib wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Something isn't quite right with that commit.
>
> When I go to a site, let's say "www.linux.org" and I'm unauthenticated,
> the router redirects me to:
>
> https://auth.ilesansfil.org/login/?
> gw_address=2.168.202.173&gw_port=2060&gw_id=default&url=http%3A//
> www.linux.com/
>
> Notice the gw_address is messed up. In my case it should be
> "192.168.202.1", not "2.168.202.173"
>
> Therefore after I authenticate and the auth server tries to redirect me
> back to wifidog, it doesn't work since
> http://2.168.202.173:2060/wifidog/auth?foo=bar.... goes nowhere
>
> The weird thing is, the IP address that got leased to me (the client)
> is
> "192.168.202.173", which is too similar to "2.168.202.173" to discount
> the coincidence.
>
> I'll try to go through the code to find what's wrong, although I've
> just
> locked myself out of my remote box where the openwrt buildroot
> environment was setup, so I won't be able to test it till tomorrow.
>
> Also note I just committed some stuff to CVS a while ago, so cvs update
> before trying to fix anything.
>
> Philippe April wrote:
> | Changelog says it all:
> |
> | 2005-02-03 Philippe April <isf_lists at philippeapril.com>
> | * Ping the users everytime we check their counters, that way we
> keep them alive
> | * Optional ExternalInterface
> | * Optional GatewayAddress (we discover it. finally.)
> | * We check for the traffic from the clients to the firewall, to
> catch the traffic the icmp ping is generating
> | * Fixed bug where we were doing the opposite of what desired when
> checking if authentication server was alive
> | * Bumped to alpha7
> |
> | I tested at home, but it needs more testing. If someone else can test
> too, that'd be good.
> |
> | Cheers!
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.6 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCAviaeS99pGMif6wRAn0yAKCks65vXJmEwWlxYbVEo9EcBu5mTACgi2lL
> GBG/e/Rc1FBMmaq9+PJFUB4=
> =/dYv
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Wifidog mailing list
> Wifidog at isf.waglo.com
> http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com
>
>
Philippe April
-------------- next part --------------
_______________________________________________
Wifidog mailing list
Wifidog at isf.waglo.com
http://isf.waglo.com/mailman/listinfo/wifidog_isf.waglo.com
More information about the Wifidog
mailing list