# BRO on FreeBSD 5.2.1

**URL:** <https://community.zeek.org/t/bro-on-freebsd-5-2-1/596>\
**Category:** Zeek\
**Created:** [September 24, 2004, 9:43pm UTC](https://community.zeek.org/t/bro-on-freebsd-5-2-1/596 "2004-09-24T21:43:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vern](https://yyz1.discourse-cdn.com/flex011/user_avatar/community.zeek.org/vern/32/630_2.png) [@Vern](https://community.zeek.org/u/Vern)\
**Post date:** [September 24, 2004, 9:43pm UTC](https://community.zeek.org/t/bro-on-freebsd-5-2-1/596/1 "2004-09-24T21:43:03Z")

</div>

> OK, but the devfs devices are created as...
> 
> gumshoe# ls -lt /dev/b\*  
> crw------- 1 bro wheel 23, 1 Sep 24 14:14 /dev/bpf1  
> crw------- 1 bro wheel 23, 0 Sep 24 14:14 /dev/bpf0
> 
> (I changed the owner from root to bro.) If bro is a member of group  
> wheel, bro still can't read the device.

I'm confused. If the files are mode 600 and "bro" owns them, then  
it certainly should be able to read them ... !

> I don't know how to control  
> the permissions, owner or group of devfs devices. The devfs(5) man  
> page is useless.

So the problem is that devfs creates them on-the-fly, so you're not able  
to alter their ownership? What happens if you create them statically via  
/dev/MAKEDEV?

&nbsp;&nbsp;&nbsp;&nbsp;Vern

---

<div class="post-metadata">

**Author:** ![Randolph\_Reitz](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@Randolph\_Reitz](https://community.zeek.org/u/Randolph_Reitz)\
**Post date:** [September 24, 2004, 11:46pm UTC](https://community.zeek.org/t/bro-on-freebsd-5-2-1/596/2 "2004-09-24T23:46:43Z")

</div>

When devfs creates the /dev/bpfxx files, it creates them as follows...

crw------- 1 root wheel 23, 1 Sep 24 14:14 /dev/bpfxx

After the /dev/bpfxx is created, bro complains that it can't read the /dev/bpfxx and stops. I change the owner to bro and then restart bro. The traffic I'm currently monitoring is not the Fermi border traffic, it's internal traffic. So only two bpfxx have been automatically created. When I hook up the border traffic, I expect that a lot of /dev/bpfxx will be created, so I need to find a way to tell devfs to create /dev/bpfxx with owner 'bro'. I don't know how to do this.

The /dev/MAKEDEV doesn't exist in 5.2.

Randy

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:37pm UTC](https://community.zeek.org/t/bro-on-freebsd-5-2-1/596/3 "2022-05-06T15:37:11Z")

</div>

Closed on May 6, 2022, 3:37pm UTC


