On 10/02/2013 02:56 AM, Ganji, Shashirekha Yadav wrote:
> Hi Team,
>
> I’am actually working on swatch2Sec tool for encrypting swatch commands
> to Sec to have our network infrastructure use SEC tool further.
>
> I have a problem of empty file when I execute the command swatch2sec <
> ~./swtachfile> newconf.sec.
>
> Newconf.sec file gets created but is empty.please help me in this regard.
>
> Thanks,
>
> shashi

hi,

the swatch2sec tool is not part of the sec code base but rather a user 
contributed tool which serves as an example. Also, as stated in the code 
of this tool, it is not a complete solution but only converts simple 
swatch rules. Therefore, you are encouraged to change the code according 
to your needs.

As for the empty file you are getting -- I am suspecting you don't have 
the file .swatchfile in your home directory. You should be running 
swatch2sec against your real configuration file (/etc/swatch.conf 
maybe?) and see what kind of output swatch2sec produces. For example,
cat /etc/swatch.conf | swatch2sec
might give you some idea how much swatch2sec is able to convert from 
your original Swatch config.

kind regards,
risto


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk
_______________________________________________
Simple-evcorr-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/simple-evcorr-users

Reply via email to