Re: [Bro-Dev] Documenting Weirds

2014-06-28 Thread Vlad Grigorescu
I was thinking of just a simple Weird::Type enum with comments, much like
how the Notice documentation is generated. I do also like the thought of
the structured namespace.

Maybe more generally, we should to make a Weird closer to a Notice. For
example, if a file analyzer generates a weird, there are no fields in the
weird.log to map it back to the offending file. I realize that that's
trickier, since Weirds can be generated from either the core or script-land.

  --Vlad


On Fri, Jun 27, 2014 at 5:54 PM, Robin Sommer  wrote:

>
>
> On Fri, Jun 27, 2014 at 21:41 +, you wrote:
>
> > A suggestion would be to change weirds to use an enum instead of a
> > string value.
>
> Yeah, either that, or introducing a structured ID namespace (e.g.,
> "http.client.unexpected_data"), potentially with some static analysis
> to find IDs that aren't linked to docs.
>
> In either case it would be nice if the scheme unified reporting weirds
> from core and script land.
>
> Robin
>
> --
> 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] [JIRA] (BIT-1211) Bro fails to compile with DataSeries support

2014-06-28 Thread Robin Sommer (JIRA)

 [ 
https://bro-tracker.atlassian.net/browse/BIT-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Sommer updated BIT-1211:
--
Status: Closed  (was: Merge Request)

> Bro fails to compile with DataSeries support
> 
>
> Key: BIT-1211
> URL: https://bro-tracker.atlassian.net/browse/BIT-1211
> Project: Bro Issue Tracker
>  Issue Type: Patch
>  Components: Bro
>Affects Versions: 2.3
> Environment: CentOS 6.5 x86_64
>Reporter: Michel
>  Labels: logging
> Attachments: 0001-DataSeries-compilation-issue-fixed.patch
>
>
> Bro fails to compile with DataSeries support. 
> Dataseries has been compiled from source (retrieved from github).
> Patch replaces references to 'compress_X' with 'compress_mode_X' for the 
> different compression algorithms and replaces all occurrences of 'gz' with 
> 'zlib' as gz seems to have been removed



--
This message was sent by Atlassian JIRA
(v6.3-OD-07-013#6327)
___
bro-dev mailing list
bro-dev@bro.org
http://mailman.icsi.berkeley.edu/mailman/listinfo/bro-dev