Open diorgesl opened 4 years ago
Please provide a proper problem description when submitting the bug reports.
Are you running the NPF-Router? If yes, then npfctl start
is currently not functional / not needed; NPF will be automatically started on spinning up the router, so you can just load your configuration.
I had the same issue just now on a host newly upgraded to NetBSD 9.2. After some lucky guessing I resolved this by creating /dev/npf . It would be a lot easier to figure out what's wrong if the error message included the name of the file that wasn't found instead of "fstat" (replace "fstat" with path on npfctl.c line ~348).
@perseant: Seems sensible. Would you like to make a PR?
@rmind PR 56307. Wasn't sure which one was the canonical source. I'm happy to commit the patch in the PR if it looks good to you. Thanks!
@perseant: I meant a pull request (PR) on GitHub since this repository is the source/upstream. :) It will automatically compile-test and run the unit tests for you here.
There are already some new features here (e.g. rate-limiting using the CAR algorithm), so it's best to not diverge the trees, but merge everything here and then perform a sync to NetBSD.
Idk whats wrong, everything compiled ok...
Using Debian 10.4.
root@npf:~/npf# npfctl start npfctl: fstat: No such file or directory
npfctl debug works
Thanks in advance.