Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] pftop not working
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] pftop not working (Read 20491 times)
fratotec
Newbie
Posts: 6
Karma: 0
[SOLVED] pftop not working
«
on:
May 10, 2015, 01:53:59 am »
I did my first FreeBSD / Opnsense firewall installation and after adding a lot of config ( transferred from a Linux / Shorewall box ) and did the last update I realised that pftop is not working ( not shure if it worked before either )
Executing from the shell gives an error: > Error Reading status (DIOCGETSTATUS): Permission denied.
The permissions on the pf device are
ls -la /dev/pf
crw-rw---- 1 root proxy 0x4c May 9 20:36 /dev/pf
The program version is
pftop-0.7_4
Any clues / hints ?
Thanks
«
Last Edit: May 12, 2015, 03:09:27 pm by franco
»
Logged
AdSchellevis
Administrator
Hero Member
Posts: 907
Karma: 184
Re: pftop not working
«
Reply #1 on:
May 10, 2015, 11:14:19 am »
Hi,
I had the same issue on my install, so it was easy to reproduce. It has something to do with the last base/kernel update which cleaned up a lot of non standard hooks.
Some ports although are build up to a specific kernel and need some structures to be the same but these dependencies are a bit tricky to catch. So after upgrade some programs have issues because of mismatch in base/kernel.
We are working on a solution for new releases with base kernel impact, but solving this issue is fortunately quite simple.
Just run:
Code:
[Select]
pkg install -f pftop
To reinstall the package again (same version, but build with current base/kernel) and it functions again.
Logged
fratotec
Newbie
Posts: 6
Karma: 0
[SOLVED] pftop not working
«
Reply #2 on:
May 10, 2015, 04:09:28 pm »
Great, many thanks,
the reinstall did it.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
15.1 Legacy Series
»
[SOLVED] pftop not working