Re: [Bro-Dev] Broccoli and vectors

2013-12-05 Thread Randy Caldejon
Thanks.  I'll try that.

--Randy



> On Dec 5, 2013, at 13:11, "Siwek, Jonathan Luke"  wrote:
> 
> 
>> On Dec 5, 2013, at 11:54 AM, Randy Caldejon  wrote:
>> 
>> I'm implementing an application that sends DNS::Info records via Broccoli to 
>> Bro.  However, it appears that Broccoli does not fully support vectors.   Is 
>> this correct?   If it does, can somebody point me to an example on how to 
>> populate a vector using the Broccoli C API.  I searched through the Broccoli 
>> docs but could not find anything.
> 
> You’re right, Broccoli does not support sending vectors (though I added 
> support for recv’ing them earlier this week).
> 
> A possible workaround for sending vectors via Broccoli may be to send each 
> element individually in an event and have Bro construct the vector on the 
> other side one element at a time.
> 
> - Jon

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] Broccoli and vectors

2013-12-05 Thread Siwek, Jonathan Luke

On Dec 5, 2013, at 11:54 AM, Randy Caldejon  wrote:

> I'm implementing an application that sends DNS::Info records via Broccoli to 
> Bro.  However, it appears that Broccoli does not fully support vectors.   Is 
> this correct?   If it does, can somebody point me to an example on how to 
> populate a vector using the Broccoli C API.  I searched through the Broccoli 
> docs but could not find anything.

You’re right, Broccoli does not support sending vectors (though I added support 
for recv’ing them earlier this week).

A possible workaround for sending vectors via Broccoli may be to send each 
element individually in an event and have Bro construct the vector on the other 
side one element at a time.

- Jon
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] Broccoli and vectors

2013-12-05 Thread Randy Caldejon
Ok, thanks for the quick response.

--Randy



> On Dec 5, 2013, at 12:58, Robin Sommer  wrote:
> 
> Half of the support for vectors is there since yesterday:
> 
>
> https://github.com/bro/broccoli/commit/756a8a733b1f03b94afcbb93807813a89b3cfb89
> 
> However it sounds like you need the opposite: there's no support yet
> for producing events with vectors.
> 
> Robin
> 
>> On Thu, Dec 05, 2013 at 12:54 -0500, you wrote:
>> 
>> Hi,
>> 
>> I'm implementing an application that sends DNS::Info records via
>> Broccoli to Bro.  However, it appears that Broccoli does not fully
>> support vectors.  Is this correct?  If it does, can somebody point me
>> to an example on how to populate a vector using the Broccoli C API.  I
>> searched through the Broccoli docs but could not find anything.
>> 
>> Thanks,
>> 
>> -- Randy
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> ___
>> bro-dev mailing list
>> bro-dev@bro.org
>> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
> 
> 
> -- 
> Robin Sommer * Phone +1 (510) 722-6541 * ro...@icir.org
> ICSI/LBNL* Fax   +1 (510) 666-2956 * www.icir.org/robin

___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


Re: [Bro-Dev] Broccoli and vectors

2013-12-05 Thread Robin Sommer
Half of the support for vectors is there since yesterday:


https://github.com/bro/broccoli/commit/756a8a733b1f03b94afcbb93807813a89b3cfb89

However it sounds like you need the opposite: there's no support yet
for producing events with vectors.

Robin

On Thu, Dec 05, 2013 at 12:54 -0500, you wrote:

> Hi,
> 
> I'm implementing an application that sends DNS::Info records via
> Broccoli to Bro.  However, it appears that Broccoli does not fully
> support vectors.  Is this correct?  If it does, can somebody point me
> to an example on how to populate a vector using the Broccoli C API.  I
> searched through the Broccoli docs but could not find anything.
> 
> Thanks,
> 
> -- Randy
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> ___
> bro-dev mailing list
> bro-dev@bro.org
> http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev
> 


-- 
Robin Sommer * Phone +1 (510) 722-6541 * ro...@icir.org
ICSI/LBNL* Fax   +1 (510) 666-2956 * www.icir.org/robin
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev


[Bro-Dev] Broccoli and vectors

2013-12-05 Thread Randy Caldejon
Hi,

I'm implementing an application that sends DNS::Info records via Broccoli to 
Bro.  However, it appears that Broccoli does not fully support vectors.   Is 
this correct?   If it does, can somebody point me to an example on how to 
populate a vector using the Broccoli C API.  I searched through the Broccoli 
docs but could not find anything.

Thanks,

-- Randy










___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev