[ previous ] [ next ] [ threads ]
 From:  Jonathan De Graeve - M0n0wall <m0n0wall at esstec dot be>
 To:  Manuel Kasper <mk at neon1 dot net>
 Cc:  Peter Allgeyer <allgeyer at web dot de>, m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] Captive Portal MAC Pass-Through + Radius Reauthentication
 Date:  Tue, 19 May 2009 20:27:32 +0200
If you look at the sourcecode, you'll see that there are already 
functions in place for the serialization stuff.

But weird enough it didn't improve on performance, and I got some issues 
(I don't remember exactly which issues anymore since it's almost 2years 
ago now ;) ) but I do remember users not being able to authenticate anymore.

If you want you can change the source code to use the newer 
serialization code and test it out. Maybe I've overlooked something ;)

I had a look at BDB before to further improve CP performance but that 
didn't really worked out because of diskspace and library.

Kind Regards,


Manuel Kasper wrote:
> On 03.05.2008, at 20:56, Peter Allgeyer wrote:
>> That would mean that we need the sqlite or bdb libraries. No problem, if
>> size doesn't matter ;-)
> Right. :) IIRC SQLite in PHP 4 adds around 200 KB, which could 
> probably be justified. Or maybe simply storing everything as arrays 
> and using PHP's serialization feature would also be adequate. Anyway, 
> it was just an idea in case someone is looking for something to do on 
> the captive portal. ;)
> - Manuel
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: m0n0wall dash dev dash unsubscribe at lists dot m0n0 dot ch
> For additional commands, e-mail: m0n0wall dash dev dash help at lists dot m0n0 dot ch