<HTML><BODY>Hello!<br><br>I am interested in writing the same project. In my humble opinion, macro language is and overkill, but from the other side. Imagine having 100 recipes there. You might as well have quite some predefined functions for that. And that might scale rather poorly, or it will end up being quite alike bash. I think that using sh directly is a better way, because I think that 80% of the calls will be a simple one-liner (like - all the firewall operations are one-liners, database operations are close to that, basic web-server checking goes there as well, and so on), and, well, recipes will be multi-file anyway - sh scripts can be put into a separate folder; But maybe there is a better way to go without sh, and without writing a macro langauge;<br><br>--<br>Good luck, <br>Vladislav Babkin<br><br>Четверг, 12 марта 2015, 5:41 +05:30 от Aneesh Dogra <lionaneesh@gmail.com>:<br>
<blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        <div id="">
        



    









        
        


        
        
        

        

        
        

        
        

        
        



<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
                        <div id="style_14261190950000000183_BODY"><div dir="ltr">Hello,<div><br></div><div>My name is Aneesh Dogra. I am studying computer science in IIIT Delhi. I have been involved in a few open source projects (primarly libav and sugarlabs) since 2-3 years. I have won GCI twice [1] [2] and mentored in GSoC for Sugarlabs (2 years ago) and been a GSOC student last year. I have a fairly active/updated github [3] and linkedin [4] profile.</div><div><br></div><div>I have experience in security pentesting, C, python and shell. </div><div><br></div><div>Extendable System hardening tool:</div><div>Here's what I understand of the idea: Create a tool to enforce some secure habits on the server depending on the inputs (modes/recipes). The trick here is the make this very general. Here's my proposed solution, after thinking over it for a while: </div><div><br></div><div>1) There will be 2 components of the tool, recipe and modes.</div><div>- A recipe will be provided through a cdn to users for different modes.</div><div>- Each mode's recipe will have data so as to what to do to strengthen the system.</div><div><br></div><div>2) The tool would parse the recipe file and execute the instructions listed in the file, now either we could demand some bash scripts in the recipe file, but this won't be neat. I was thinking of making predefined functions in the tool and using some macros to represent them in the recipe file. I'll need some help on this. Can we discuss this?</div><div><br></div><div>Is having bash code written in the recipes a bad idea?</div><div><br></div><div>[1] : <a href="http://google-opensource.blogspot.in/2012/02/google-code-in-2011-grand-prize-winners.html" target="_blank">http://google-opensource.blogspot.in/2012/02/google-code-in-2011-grand-prize-winners.html</a></div><div>[2] : <a href="http://google-opensource.blogspot.in/2013/02/google-code-in-2012-grand-prize-winners.html" target="_blank">http://google-opensource.blogspot.in/2013/02/google-code-in-2012-grand-prize-winners.html</a></div><div>[3] : <a href="https://github.com/lionaneesh" target="_blank">https://github.com/lionaneesh</a></div><div>[4] : <a href="http://linkedin.com/in/aneeshdogra" target="_blank">linkedin.com/in/aneeshdogra</a></div><div>[5] : <a href="https://github.com/lionaneesh/jsonDB" target="_blank">https://github.com/lionaneesh/jsonDB</a><br></div><div><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><span style="font-size:12.8000001907349px">Regardless, I hope you're well and happy -</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">Aneesh</span><br></div></div></div>
</div></div>
</div>
                        <div>_______________________________________________<br>
CentOS-gsoc mailing list<br>
<a href="/compose?To=CentOS%2dgsoc@centos.org">CentOS-gsoc@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-gsoc" target="_blank">http://lists.centos.org/mailman/listinfo/centos-gsoc</a><br>
</div>
                
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote>
<br></BODY></HTML>