[Bro-Dev] open a pipe?

Seth Hall seth at icir.org
Fri Mar 16 06:22:53 PDT 2012


How hard would it be to modify files so that we could use them like a pipe to another program?  I'll give an example…

global myfile = open("| shasum > output");
print myfile, "hello";
close(myfile);

Then the output file would have the sha1 value for "hello".  I don't think it would be a major change to files to support this, but I've been wrong before. :)

  .Seth

--
Seth Hall
International Computer Science Institute
(Bro) because everyone has a network
http://www.bro-ids.org/




More information about the bro-dev mailing list