[Wifidog] New features

Philippe April isf_lists at philippeapril.com
Fri Feb 4 00:26:58 EST 2005


Ok I think I fixed the issue with GatewayAddress... I was returning a 
pointer, which of course got overwritten at some point during the 
execution of the program.

I used strdup(), I assume it'll fix it. I ran it at home, it works, 
I'll keep it running and see if it really fixes it (like, try to login 
tomorrow).

I'm very glad you're back into the project :)

On 4-Feb-05, at 12:15 AM, Mina Naguib wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> FYI setting GatewayAddress in the config file fixed it.
>
> I'm setting up an openwrt buildroot on this machine so I can test and
> bugfix a bit.
>
> Philippe April wrote:
> | 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:
> |
> |
> | 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
>
> iD8DBQFCAwT7eS99pGMif6wRAgdzAJ9HMZYt0z+/RZgHcpwTUrnd0v7XdACeI600
> 3e1T5kcZdHfb4NOFrHCYzUU=
> =lBph
> -----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