pfblockerng crash report
-
After update today started seeing crashes like this below.
Crash report begins. Anonymous machine information: amd64 12.2-STABLE FreeBSD 12.2-STABLE d48fb226319(devel-12) pfSense Crash report details: PHP Errors: [01-Mar-2021 15:25:50 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('common.duapps.c...') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('common.duapps.c...') #2 {main} thrown in /etc/inc/util.inc on line 680 No FreeBSD crash data found.Any clues WTH ?
-
@chudak said in pfblockerng crash report:
No FreeBSD crash data found.
Edit the following file:
/usr/local/www/pfblockerng/www/index.phpLine #57
Reference:
https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-pfBlockerNG-devel/files/usr/local/www/pfblockerng/www/index.php#L57From:
if ($i == 0) {To:
if ($i == 9) {I am working to find the cause.
-
Not sure if you need more logs...
Crash report begins. Anonymous machine information: amd64 12.2-STABLE FreeBSD 12.2-STABLE d48fb226319(devel-12) pfSense Crash report details: PHP Errors: [01-Mar-2021 17:19:51 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('storrent.top') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('storrent.top') #2 {main} thrown in /etc/inc/util.inc on line 680 [01-Mar-2021 17:19:52 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('storrent.top') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('storrent.top') #2 {main} thrown in /etc/inc/util.inc on line 680 [01-Mar-2021 17:19:52 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('storrent.top') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('storrent.top') #2 {main} thrown in /etc/inc/util.inc on line 680 [01-Mar-2021 17:19:52 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('storrent.top') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('storrent.top') #2 {main} thrown in /etc/inc/util.inc on line 680 [01-Mar-2021 17:19:52 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('counter.yadro.r...') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('counter.yadro.r...') #2 {main} thrown in /etc/inc/util.inc on line 680 [01-Mar-2021 17:20:07 America/Los_Angeles] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('franecki.net') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('franecki.net') #2 {main} thrown in /etc/inc/util.inc on line 680 No FreeBSD crash data found. -
@bbcan177 I'm getting what looks to be a very similar error.
Crash report begins. Anonymous machine information: amd64 12.2-STABLE FreeBSD 12.2-STABLE d48fb226319(devel-12) pfSense Crash report details: PHP Errors: [02-Mar-2021 06:25:05 Europe/London] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('pad-v3.presage....') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('pad-v3.presage....') #2 {main} thrown in /etc/inc/util.inc on line 680 [02-Mar-2021 06:41:01 Europe/London] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('pad-v3.presage....') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('pad-v3.presage....') #2 {main} thrown in /etc/inc/util.inc on line 680 No FreeBSD crash data found.I'm not sure if it's related but I also lose DNS after the update. To restore it I have to release and renew the WAN DHCP.
Thanks for all your work on pfBlockerNG.
Andrew
-
Me, too...
Crash report begins. Anonymous machine information: amd64 12.2-STABLE FreeBSD 12.2-STABLE d48fb226319(devel-12) pfSense Crash report details: PHP Errors: [02-Mar-2021 11:01:17 Europe/Berlin] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('i.mxplayer.j2in...') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('i.mxplayer.j2in...') #2 {main} thrown in /etc/inc/util.inc on line 680 [02-Mar-2021 11:11:18 Europe/Berlin] PHP Fatal error: Uncaught Error: Class 'Net_IPv6' not found in /etc/inc/util.inc:680 Stack trace: #0 /etc/inc/util.inc(657): is_ipaddrv6('i.mxplayer.j2in...') #1 /usr/local/www/pfblockerng/www/index.php(59): is_ipaddr('i.mxplayer.j2in...') #2 {main} thrown in /etc/inc/util.inc on line 680 No FreeBSD crash data found.Thankfully, that reminded me to block some apps on my phone.

3.0.0_13, IPv6 DNSBL enabled, unbound mode
-
Fixed in v3.0.0_14
-
-
@bbcan177 said in pfblockerng crash report:
Fixed in v3.0.0_14
Is the increasing number of "tail_pfb" processes also fixed?
Thanks again!
-
@fireodo Yes in 3.0.0_14
- Re-add rc_stop as good measure to ensure services are stopped
-
-
@ronpfs said in pfblockerng crash report:
@fireodo Yes in 3.0.0_14
- Re-add rc_stop as good measure to ensure services are stopped
It seems that is not working because this morning:
12645 - S 0:01.36 /usr/bin/tail_pfb -n0 -F /var/log/filter.log
15089 - S 0:01.38 /usr/bin/tail_pfb -n0 -F /var/log/filter.log
41182 - S 0:03.72 /usr/bin/tail_pfb -n0 -F /var/log/filter.log
42986 - S 0:00.00 sh -c ps ax | grep tail_pfb 2>&1
43101 - S 0:00.00 grep tail_pfbThis is pfBlockerNG-devel 3.0.0_14 and I have yesterday allready done:
rm /usr/local/etc/rc.d/pfb_filter.sh
pkill tail_pfband a force update after that.
Regards,
fireodo -
As a "quick and dirty" solution of the "tail_pfb" issue I added in the pfblockerng.inc this:
# Terminate pfBlockerNG Firewall filter Daemon (clog) and filter Daemon, if found /usr/bin/logger -p daemon.info -t "\${filter_type}" "[pfBlockerNG] Firewall Filter Service stopped" /usr/bin/logger -p daemon.info -t php_pfb "[pfBlockerNG] filterlog daemon stopped" pidnum="\$(/bin/ps -wax | /usr/bin/grep '[c]log_pfb -f /var/log/filter.log\|[t]ail_pfb -n0 - F /var/log/filter.log\|[p]fblockerng.inc filterlog' | /usr/bin/awk '{print \$1}')" if [ ! -z "\${pidnum}" ]; then for i in \${pidnum}; do /bin/kill -9 "\${i}" done pkill tail_pfb fiAfter "done" I added the "pkill tail_pfb" and now everything is as it should and there is only one process "/usr/bin/tail_pfb -n0 -F /var/log/filter.log" active.
UPDATE: After a chat with bbcan he point me to a mistake I made - its a "space" before the "F" in the script above:
"[t]ail_pfb -n0 - F" should be "[t]ail_pfb -n0 -F"! Now everything runs like expected.Regards,
fireodo -
@fireodo The problem occurred when Unbound restart after WAN was toggling.
I stop Firewall service, that stopped all tail_pfb processes. Start Firewall service.
-
@ronpfs said in pfblockerng crash report:
@fireodo The problem occurred when Unbound restart after WAN was toggling.
I stop Firewall service, that stopped all tail_pfb processes. Start Firewall service.
I have also toggled the WAN and there was no problem.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy