Risto, Thanks for your quick response.
Just to add in more info,I'am having sec installed under local userspace and run swatch2sec.pl under contrib specifying the swatchconfig path as /etc/.swatchrcX. I have double checked and found that .swatchrcX exists under /etc and output .sec file is also created under contrib but turns out to be empty. Pls help me in this regard.I would appreciate if I can contact you by any other means if available as well.I'am very much in need of this now. Thanks, shashi -----Original Message----- From: Risto Vaarandi [mailto:[email protected]] Sent: Wednesday, October 02, 2013 12:34 AM To: [email protected] Subject: Re: [Simple-evcorr-users] swatch2sec 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 ------------------------------------------------------------------------------ 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
