[Bro-Dev] PCAP_PF_RING_CLUSTER_ID

Robin Sommer robin at icir.org
Sun Sep 18 21:27:28 PDT 2011


On Thu, Sep 15, 2011 at 22:19 -0400, you wrote:

> Heh, it's "bro" typed out on a phone number pad (276) represented as
> an 8bit int (wrapped around).  In other words, it's a fairly arbitrary
> number. :)

I see. :) But let's then please use something like 0 or -1 to indicate
that it actually doesn't matter. Arbitrary values can be quite
confusing for the non-initiated.

> I thought about doing that, but it seemed somewhat superfluous since
> those environment variables will only be used if the pf_ring libpcap
> wrapper is used.  It does seem like the right thing to do however.

Yeah, for the same reason as above: I bet that otherwise somebody will
scratch his head at some point to understand what effect
PCAP_PF_RING_CLUSTER_ID has on his FreeBSD box.

Cc'in the tracker. Tasks are:

    - If system doesn't have PF_RING support, don't set environment
    variable.

    - If system has PF_RING support, set ID to a default that
    indicates "not set".

@component: BroControl
@version: git/master
@type: Task
@milestone: Bro1.6
@keywords: beta


-- 
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL    * Fax   +1 (510) 666-2956 *   www.icir.org


More information about the bro-dev mailing list