Skip to content

Releases: pfrest/pfSense-pkg-RESTAPI

pfSense REST API v2.10.2

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 23 Aug 15:47
df41b63

Fixes

  • Corrects the wrong cherry-picked commit for version formatting fix included in v2.10.1 #930

Full Changelog: v2.10.1...v2.10.2

pfSense REST API v2.10.1

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 23 Aug 15:04
0ea15d1

New

  • Adds Kea-specific netboot fields to DHCPServer
  • Adds support for pfSense CE 2.9.0 #933
  • Adds support for pfSense Plus 26.07 #933

Fixes

  • Fixes a version formatting issue in RESTAPIVersion that resulted in an inaccurate installed version value #930

Changes

  • FirewallApplyDispatcher now dispatches process using /etc/rc.filter_configure_sync
  • Removes/replaces various defunct pfSense function calls
  • Various minor compatibility and testing adjustments for pfSense CE 2.9.0 and Plus 26.07

Full Changelog: v2.10.0...v2.10.1

pfSense API v1.9.1

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 22 Aug 17:45
2d55081

Fixes Changed

  • Fixes authentication bug for v1 HA API sync by #935

New Contributors

Full Changelog: v1.9.0...v1.9.1

pfSense REST API v2.10.0

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 08 Aug 01:29
805c7f0

Important

This release includes important security enhancements including fixes for GHSA-w3w4-mvcc-vmgr, as well as important optimizations and preparations for pfSense CE 2.9.0. It is recommended for all users. Please review the notes below for potential breaking changes introduced in this release.

Fixes

  • Fixes a command prompt injection flaw in the /api/v2/interface/group and /api/v2/interface/groups endpoints GHSA-w3w4-mvcc-vmgr (thank you to @senti-man for discovering and reporting this issue!)
  • Implements core Command auto-escaping to guard against future command injection risks
  • Fixes an issue where ACME certificate issuance results no longer populated due to out-of-band changes in the upstream acme package
  • Addresses a Validator object order-of-precedence issue that caused out of sequence validations for some fields
  • Various PHP >8.2 syntax issues fixed in preparation for pfSense CE 2.9.0

Breaking Changes

  • Adds sensitive flag to OpenVPNClient auth_pass field
  • Adds sensitive flag to User ipsecpsk field
  • Adds sensitive flag to WireGuardPeer presharedkey field

Note

These changes will prevent these fields from being included in API responses by default. If your integrations require read access to these fields, you can add sensitive field overrides for the associated field(s) in the REST API settings.

Changes

  • Remaining shell_exec and exec calls have been replaced with \RESTAPI\Core\Command to take advantage of added protections
  • Basic authentiatcion is now only considered the requested authentication method when a client provides both a username AND password. Previously either the presence of basic authentication username or password would elect basic authentication as the requested method.
  • Auth now uses header presence to determine the client's requested auth method
  • Additional guard clauses have been added during auth handling to exit quicker upon invalid auth

Full Changelog: v2.9.0...v2.10.0

pfSense REST API v2.9.0

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 29 Jul 03:48
d040fa6

Important

This release contains a fix for a potential high severity vulnerability found in the /api/v2/system/restapi/settings/sync endpoint. For more information, please refer to GHSA-8q8g-9f77-8g8g.

New

  • Adds /api/v2/system/hasync endpoint to configure XMLRPC configuration sync #843
  • Adds /api/v2/status/wireguard/tunnels endpoint to view status of current WireGuard tunnels #790
  • Adds /api/v2/status/wireguard/peers endpoint to view status of current WireGuard peers #790

Breaking changes

  • RESTAPISettings hasync_username now must hold page-all privileges to successfully sync on HA peers
  • RESTAPISettings hasync must now be enabled on remote HA peers before settings sync can occur

Fixes

  • Addresses a potential privilege escalation issue in /api/v2/system/restapi/settings/sync
  • Fixes a weak deserialization pattern in /api/v2/system/restapi/settings/sync

New Contributors

Full Changelog: v2.8.4...v2.9.0

pfSense API v1.9.0

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 29 Jul 03:58
198426a

Breaking Changes

  • Removes page-system-api privilege from /api/v1/system/api/sync

Full Changelog: v1.8.1...v1.9.0

pfSense REST API v2.8.4

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 26 Jul 23:45
561f612

New

  • Adds dscp field to FirewallRule #918

Fixes

  • Optimizes parameter ordering
  • Uses sane maximum value for LogSetting's logfilesize parameter #917

New Contributors

Full Changelog: v2.8.3...v2.8.4

pfSense REST API v2.8.3

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 13 Jul 00:49
6b9375c

Fixes

  • Increases the maximum length of FreeRADIUSUser motp_pin to 8 #915
  • Fixes an issue that prevented nested aliases from being used when replacing all firewall aliases

Full Changelog: v2.8.2...v2.8.3

pfSense REST API v2.8.2

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 09 Jun 06:00
83ad58e

Fixes

  • Adjusts timing and placement of WireGuardTunnel 'addresses' update validation pre-conditions #902

Full Changelog: v2.8.1...v2.8.2

pfSense REST API v2.8.1

Choose a tag to compare

@jaredhendrickson13 jaredhendrickson13 released this 07 Jun 17:40
4190c8c

New

  • Adds build for pfSense Plus 26.03.1

Fixes

  • Adds additional error handling when refreshing releases cache #900.
  • Fixes an issue where WireGuardTunnel addresses could be unnecessarily validated #902
  • Addresses an issue where devel variant packages were still being rejected by dispatchers #905

Full Changelog: v2.8.0...v2.8.1