[Oisf-wg-configuration_language] Configuration Structure

Matt Jonkman jonkman at jonkmans.com
Wed Aug 5 13:33:43 UTC 2009


Have you ever hand-typed out a long xml doc? :) I have, it's not pretty.
In fact it just plain sucks. :)

Great machine language, but not a good human usable language.

YAML looks good. Lots of support, human readable, not a lot of typing
overhead. Relatively flexible structure.

Matt


Nick Rogness wrote:
> On Thu, Jul 30, 2009 at 8:39 AM, Victor Julien <victor at inliniac.net> wrote:
>>> In other words, no configuration language exists in our codebase at this
>>> point.
>>>
>>> Since our schedule is pretty tight, this probably means we should go for
>>> existing code for this part of the engine. So suggestions for libraries
>>> are very much appreciated.
> 
>> [SNIP]
>> No one going to speak up about XML?
> 
> This is a no brainer, config should be in XML. Maybe the better
> question should be why NOT use XML for the config syntax?
> 
> As I mentioned on the rules list, using XML gives the engine the
> flexibility to make parsing, integration, and versioning a breeze.
> Using a well known library like libXML2 makes parsing in C fairly
> straight forward.  Additionally, every other language worth a mention
> already have XML libraries so building GUIs and integrating with other
> party's software could be straight forward.
> 
> Nick Rogness
> _______________________________________________
> Oisf-wg-configuration_language mailing list
> Oisf-wg-configuration_language at openinfosecfoundation.org
> http://lists.openinfosecfoundation.org/mailman/listinfo/oisf-wg-configuration_language

-- 
--------------------------------------------
Matthew Jonkman
Emerging Threats
Open Information Security Foundation (OISF)
Phone 765-429-0398
Fax 312-264-0205
http://www.emergingthreats.net
http://www.openinformationsecurityfoundation.org
--------------------------------------------

PGP: http://www.jonkmans.com/mattjonkman.asc





More information about the Oisf-wg-configuration_language mailing list