Replies: 3 comments 16 replies
-
The package will only install and operate on pfSense, not FreeBSD directly. The use of FreeBSD is only to build the package since pfSense itself does not contain the required tools to build the package. The steps to build and install the package for testing are:
After it's installed, you can perform your testing. Some prefer to just copy any files changed during testing over to pfSense at this point instead of rebuilding the package for each change. The Hope this helps! |
Beta Was this translation helpful? Give feedback.
-
We tried the solution on another pfSense firewall, and it worked. We realized that a reset of pfSense wasn't enough, so we deleted and reinstalled the OS, and now everything is working fine again. Thank you for your help! |
Beta Was this translation helpful? Give feedback.
-
Hello, I hope you're well :) I was previously developing endpoints for Snort on v1, but since v2 has been released, I decided to restart the implementation to follow the continuity of the project. To do so, I wanted to start with a less complex endpoint, such as Captive Portal, to understand the functioning of v2. However, I am encountering several issues on v2 that I cannot understand. Issue 1: GET Request on a Specific IDWhen I make GET requests for a specific ID that I know exists:
I get the following response: { It seems to say that the ID is missing even though it is provided. However, when I make a GET request to retrieve all captive portals:
I get a correct response without any errors:
Issue 2: POST Request to Create a Captive PortalWhen I try to make a POST request to create a Captive Portal, I encounter a PHP system error. Request:
Response:
I apologize for taking so long, and unfortunately, I don't have good news. I am facing these issues and would appreciate any help or guidance on how to resolve them. Specifically, why the GET request for a specific ID is failing and why the POST request results in a PHP error. Thank you in advance for your assistance! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am currently working on developing API endpoints for the Snort package as part of our project enhancements. During my development process, we have encountered an issue when trying to build the endpoints using the provided management script.
Environment:
Vagrant VM setup on FreeBSD
Issue Description:
When we attempt to build the endpoints by running the command:
I receive the following error messages:
It appears that the script is unable to find the APITools.inc file in the expected directory. I have verified that the path and filenames are correct as per the repository files.
Steps to Reproduce:
Could you please help me understand what might be going wrong here? Any guidance on how to correctly build and integrate new endpoints would be greatly appreciated.
Thank you for your assistance!
Best regards,
Beta Was this translation helpful? Give feedback.
All reactions