[ previous ] [ next ] [ threads ]
 
 From:  Manuel Kasper <mk at neon1 dot net>
 To:  Jonathan De Graeve <Jonathan dot De dot Graeve at imelda dot be>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  RE: [m0n0wall-dev] RE: [m0n0wall] The future
 Date:  Wed, 12 Oct 2005 17:27:25 +0200
On 12.10.05 17:17 +0200, Jonathan De Graeve wrote:

> What about perl?
> 
> Supports, 00, is not TOO difficult and can be compiled directly to
> an executable :D

Why not? I haven't used perl much, and certainly never touched its OO
features, so I can't comment on its suitability - have you already
had some experience with it?

> But I still like to keep PHP since all the work people put into it.

That's another issue - of course, switching programming languages
would mean that most of the core code would have to be rewritten.
However, if you think about it, it's not that difficult with the
original PHP code available. Much of the work on m0n0wall didn't go
into just writing PHP code, but into figuring out how exactly
configuration files for all the other daemons need to be written so
that they do what we want them to do. These configuration templates
can be copied almost verbatim from the existing PHP code, and
translating the various conditional blocks and loops that put
together more complicated configuration files would be no rocket
science either. The same goes for the filter rules.

It's pretty clear that something needs to be done to the core code if
we want to continue adding non-trivial features to m0n0wall in the
future. I'd rather invest some time to learn from the past and lay a
solid foundation for the future now than keep having to reinvent the
wheel for each new feature later.

- Manuel