Project

General

Profile

Actions

Regression #13142

closed

PHP shell ``pfanchordrill`` script produces errors on captive portal tables

Added by Steve Wheeler about 2 months ago. Updated 29 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Console Menu
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Force Exclusion
Affected Version:
2.7.x
Affected Architecture:
All

Description

When running the pfanchordrill PHP shell script on a system with captive portal enabled the following errors are shown:

Netgate pfSense Plus shell: playback pfanchordrill 

Playback of file pfanchordrill started.

ipsec rules/nat contents:

miniupnpd rules/nat contents:

natearly rules/nat contents:

natrules rules/nat contents:

openvpn rules/nat contents:

tftp-proxy rules/nat contents:

userrules rules/nat contents:

cpzoneid_2_allowedhosts rules/nat contents:
pfctl: DIOCGETRULES: Invalid argument
pfctl: DIOCGETRULES: Invalid argument

cpzoneid_2_auth rules/nat contents:
pfctl: DIOCGETRULES: Invalid argument
pfctl: DIOCGETRULES: Invalid argument

cpzoneid_2_authmac rules/nat contents:
pfctl: DIOCGETRULES: Invalid argument
pfctl: DIOCGETRULES: Invalid argument

cpzoneid_2_passthrumac rules/nat contents:
pfctl: DIOCGETRULES: Invalid argument
pfctl: DIOCGETRULES: Invalid argument

Tested against: 22.05.a.20220509.2034


Related issues

Related to Regression #13106: ``pfanchordrill`` treating errors as anchor namesResolvedJim Pingle

Actions
Related to Todo #13100: Transition Captive Portal from IPFW to PFResolvedViktor Gurov

Actions
Actions #1

Updated by Jim Pingle about 2 months ago

  • Subject changed from PHP shell pfanchordrill script produces errors to PHP shell ``pfanchordrill`` script produces errors on captive portal tables
  • Assignee set to Jim Pingle
  • Release Notes changed from Default to Force Exclusion

Similar to #13106 which should already be fixed in the repo but the behavior is slightly different. This isn't getting caught in a loop like that one was, but probably still needs some other adjustment.

Actions #2

Updated by Jim Pingle about 2 months ago

  • Related to Regression #13106: ``pfanchordrill`` treating errors as anchor names added
Actions #3

Updated by Viktor Gurov about 2 months ago

  • Related to Todo #13100: Transition Captive Portal from IPFW to PF added
Actions #5

Updated by Steve Wheeler about 2 months ago

That patch fixes it for my use case shown above.

Actions #6

Updated by Steve Wheeler about 2 months ago

  • Status changed from New to Pull Request Review
Actions #7

Updated by Jim Pingle about 2 months ago

  • Assignee changed from Jim Pingle to Viktor Gurov
Actions #8

Updated by Viktor Gurov about 2 months ago

  • Status changed from Pull Request Review to Feedback
  • % Done changed from 0 to 100
Actions #9

Updated by Jim Pingle about 1 month ago

  • Status changed from Feedback to In Progress
  • Assignee changed from Viktor Gurov to Jim Pingle

This needs one more small fix as pfanchordrill is not catching the new captive portal nested anchors.

Actions #10

Updated by Jim Pingle about 1 month ago

  • Status changed from In Progress to Feedback
Actions #11

Updated by Jim Pingle 29 days ago

  • Status changed from Feedback to Resolved

The contents of nested captive portal anchors are now displayed as expected.

Actions

Also available in: Atom PDF