[Bro] [PATCH] Add the correct setup of the devfs.rules(5) file for FreeBSD

Paul Schmehl pauls at utdallas.edu
Thu Apr 17 10:37:37 PDT 2008


--On Thursday, April 17, 2008 10:17:07 -0700 Robin Sommer <robin at icir.org> 
wrote:

>
> On Thu, Apr 17, 2008 at 12:55 +0800, you wrote:
>
>> Since FreeBSD 4.x end of life, attached is a revised patch against
>
> Hmmm... Not sure we should drop 4.x as long as it's easy to keep the
> support for it. So I'd prefer to go with your first patch. However,
> perhaps we can simplify that one a bit more by making one
> BRO_SYS_TYPE for all of >= 6.0 ?

That's what I was thinking.  And if the previous versions all use the same 
convention, perhaps a simple:

if [ BRO_SYS_TYPE == FREEBSD ]; then
  if [ FREEBSD_OS_VERS >= 6.0 ]; then
    blah
  else
    blah
  fi
fi

would suffice?

-- 
Paul Schmehl (pauls at utdallas.edu)
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/




More information about the Bro mailing list