[Bro-Dev] bro-pkg Bro version requirements
vlad at es.net
Tue Oct 16 12:22:22 PDT 2018
It strikes me that as Bro development marches on, package maintainers don't
have great choices in terms of maintaining compatibility with multiple Bro
versions. For JA3, to maintain compatibility, you have to do something like
this, due to the SSL event change:
@if ( Version::at_least("2.6") )
> event ssl_client_hello(c: connection, version: count, record_version:count,
> possible_ts: time, client_random: string, session_id: string, ciphers:
> index_vec, comp_methods: vector of count) &priority=1
> event ssl_client_hello(c: connection, version: count, possible_ts: time,
> client_random: string, session_id: string, ciphers: index_vec) &priority=1
That works, but I worry that the overhead of trying to maintain that will
grow out of hand. I'm wondering if there's a better mechanism for this. A
naive approach might be to include an option in the package metadata, which
specifies minimum/maximum Bro versions that it requires. The installer,
then, would simply install the latest version that supports your Bro
I don't want to overcomplicate things, but it does feel like there's a
mechanism that's currently missing.
Any other thoughts?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the bro-dev