Project

General

Profile

Actions

Bug #9459

closed

patch pf: silence a runtime warning pfr_update_stats: assertion failed.

Added by rub man about 5 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Rules / NAT
Target version:
Start date:
04/05/2019
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.5.x
Affected Architecture:
All

Description

I get pf warning spam non-stop

pfr_update_stats: assertion failed.

There is a patch to silence pf warning, add that patch to pfsense:
https://svnweb.freebsd.org/base/stable/12/sys/netpfil/pf/pf_table.c?r1=343289&r2=343288&pathrev=343289

Bug report: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234874


Files

Actions #1

Updated by Jim Pingle about 5 years ago

  • Category set to Rules / NAT
  • Target version set to 2.5.0
  • Affected Version set to 2.5.x
  • Affected Architecture All added
  • Affected Architecture deleted ()
Actions #2

Updated by rub man about 5 years ago

Update: I was able to stop the warnings by disabling nat reflection.

Possible bug?

Actions #3

Updated by rub man almost 5 years ago

So I was able to find another way to keep nat reflection turned on and stop the spam. I changed one of the port forward rules from tcp/udp to separate tcp and udp rules. It fixed the issue. tcp/udp port forward rule might be broken.

Actions #4

Updated by Luiz Souza almost 4 years ago

  • Status changed from New to Feedback
  • Assignee set to Luiz Souza

This fix is already merged to 2.5 sources.

Should not be an issue anymore, please confirm with a newer snapshot.

Actions #5

Updated by Anonymous over 3 years ago

  • Status changed from Feedback to Resolved

No response from OP. Assumed fixed

Actions #6

Updated by Gerson Barreiros almost 3 years ago

I got same issue and i can confirm that after disabling nat reflection errors are gone.

Enabling it again, after some minutes errors are back.

pfsense 2.5.1

Actions #7

Updated by A S almost 3 years ago

Issue continues to occur under 2.5.2.

Actions #8

Updated by Casper B about 1 year ago

Anonymous wrote in #note-5:

No response from OP. Assumed fixed

Still happening here.. v 22.05

patch is in OP, should be made a system patch in pfsense

Actions #9

Updated by Jens Groh about 1 year ago

Casper B wrote in #note-8:

Anonymous wrote in #note-5:

No response from OP. Assumed fixed

Still happening here.. v 22.05

patch is in OP, should be made a system patch in pfsense

That patch is a patch against the paket filter PF itself, that's nothing you can just "apply" on the fly with a system patch but something that is kernel/sys app level and has to be compiled in, that's why it's not a simple "make it happen" system patch.

Cheers

Actions #10

Updated by Casper B about 1 year ago

I see. Thanks for the info.

Issue still exists so status of this bug shouldn't be 'resolved'..

Actions #11

Updated by Jim Pingle about 1 year ago

Given the age of the original issue this was likely fixed before and then regressed in a later version. Please make a new issue and (if possible) include how you are able to make the error happen again on a current development snapshot.

Actions

Also available in: Atom PDF