[ previous ] [ next ] [ threads ]
 From:  Anders Hagman <anders dot hagman at netplex dot se>
 To:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  RE: [m0n0wall-dev] CLI syntax - ideas, thoughts?
 Date:  Thu, 12 Feb 2004 19:29:05 +0100

>Peter Allgeyer wrote:
>> Am Di, den 13.01.2004 schrieb Mark N. um 21:32:
<>>>I like the Cisco idea with 'sh ..', 'int ?', 'conf t', etc., but I'm not 
>>>sure that's the best way to go. I guess the CLI syntax should be as 
>>>close the web-gui as possible, so people will find it easy to use once 
>>>they've learned the web-gui.
>> So take a look at nsh (written for openbsd)[1]. Shouldn't be so hard to
>> port to freebsd. Another possibility is using lynx or wget, but a CLI
>> would be really nice.
>I've used nsh under openbsd, and it works really well. He's using the 
>cisco style-syntax, which many people know already. I'm still now sure 
>if that's the best for monowall ?
>I was thinking of writing the cli in php, so I can (hopefully) re-use 
>alot of the working code. I havent look'ed into what can be included or 

Cisco is nice but Juniper is super (gated).

Junipers config-file is structured in a hierarical way that suits XML.
You can even get juniper config in XML.

Just do a parser between XML and "easy to see juniper-look".

/Anders Hagman