Take maintainer while here. Only slightly tested so far; so may get a few tweaks in the next days if needed.
41 lines
1010 B
Plaintext
41 lines
1010 B
Plaintext
$OpenBSD: README,v 1.1 2016/08/27 06:39:14 ajacoutot Exp $
|
|
|
|
+-----------------------------------------------------------------------
|
|
| Running ${FULLPKGNAME} on OpenBSD
|
|
+-----------------------------------------------------------------------
|
|
|
|
All broctl(8) commands must be run as root.
|
|
|
|
Post-install steps
|
|
==================
|
|
|
|
Configuration
|
|
-------------
|
|
Before starting bro(8) for the first time, the "interface" must be properly
|
|
configured under:
|
|
${SYSCONFDIR}/bro/node.cfg
|
|
|
|
Deployment
|
|
----------
|
|
Then the configuration must be deployed as follow:
|
|
ulimit -n 512; broctl deploy
|
|
|
|
File descriptors limit
|
|
======================
|
|
Both bro(8) and broctl(8) need to bump their nofile limits.
|
|
|
|
bro(8)
|
|
------
|
|
The following lines can be added to login.conf(5):
|
|
|
|
bro:\
|
|
:openfiles-cur=1024:\
|
|
:tc=daemon:
|
|
|
|
Then the login.conf.db can be rebuilt file if necessary:
|
|
[ -f /etc/login.conf.db ] && cap_mkdb /etc/login.conf
|
|
|
|
broctl(8)
|
|
---------
|
|
"ulimit -n 512" can be prepended to the command (like above).
|