pfsense 24.11 support for the api and/or RestAPI #610
-
Hello everyone If I switch back to pfsense 2.7.2 then version 1.7.6 runs without any problems!!! Greetings and thanks for any help |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 12 replies
-
Support for 24.11 is being worked on, but I don't anticipate it anytime soon. There were many changes in 24.11 that have broken various parts of the package and without a CE equivalent or development snapshots it becomes very difficult to debug effectively. For now I'd recommend staying on Plus 24.03 or CE 2.7.2. |
Beta Was this translation helpful? Give feedback.
-
Does anyone know how to roll back to 24.03 ? I have config backups, but not the image. |
Beta Was this translation helpful? Give feedback.
-
@sonmezcem Thank you ! Someone on the Netgate forum suggested I rollback using System -> boot environments. If installed on ZFS, it will show snapshots, which can be restored. I was able to rollback to 24.03 very painlessly that way. pfSense API works again, too. Very glad I used ZFS. |
Beta Was this translation helpful? Give feedback.
-
Dev builds with very basic compatibility with 24.11 are available in this pre-release. This should address some of the issues seen with authentication and configuration access; and allow the package to work on a fundamental basis. There are still issues I am actively working to fix, and I'm sure there are more that I'm unable to see with my limited access to pfSense Plus. For those able to test, especially on Netgate hardware, it would be much appreciated and definitely speed up the process. |
Beta Was this translation helpful? Give feedback.
-
First time I tried it, I not able to install it . Fetching pfSense-24.11-pkg-RESTAPI.pkg: .......... done I had to remove the previous package with "pkg delete -y pfSense-pkg-RESTAPI-2.2_2" . I then installed it with However, system -> API produces a 403 forbidden. I see that there is now a System -> Rest API menu instead. I don't see the place to create a client ID and token. It's admittedly been a while. I think I need to revert to the previous 24.03 snapshot once again to see what it looks like. I did all this setup in late May originally and have completely forgotten already. A quick glance at the doc did not help. I also did not write any of the client code I used - ChatGPT did it at my direction, because I'm just not good enough with Python. Good thing GPT heavily commented the source, though. |
Beta Was this translation helpful? Give feedback.
-
It works for me I have updated again to the pfsense 24.11 version. -> Api was then no longer available -> Then installed the new pfSense API v1.8.0-dev-aa40a2c -> Assigned new API keys -> and voila, it works for my needs. Authentication works and I switch a few rules on and off using the endpoints /api/v1/firewall/rule with {‘disabled’: false, ‘tracker’: ‘0100000101’, ‘apply’: true } etc. Thanks for the quick solution!!! |
Beta Was this translation helpful? Give feedback.
-
Does anyone know what endpoint I should use in 24.11 to get the list of DHCP reservations for the LAN interface ? |
Beta Was this translation helpful? Give feedback.
-
I believe all the apparent issues have been addressed and v1.8.0 and v2.3.0 have been officially released. There are still some cosmetic issues with some buttons in the UI pages, but there's not a great way to address those without breaking them for CE 2.7.2 and Plus 24.03. Those issues should be addressable once a new CE version is released. I've created #620 to track that issue. Feel free to open issues if you have any issues. |
Beta Was this translation helpful? Give feedback.
Support for 24.11 is being worked on, but I don't anticipate it anytime soon. There were many changes in 24.11 that have broken various parts of the package and without a CE equivalent or development snapshots it becomes very difficult to debug effectively. For now I'd recommend staying on Plus 24.03 or CE 2.7.2.