Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - nikgreg99gmail.com

#1
Development and Code Review / Extern dependency
May 01, 2021, 09:15:02 PM
Hi, guys I am writing a plugin that is going to log all DNS requests in my lan. Fort this aim I have to use a dependency called Scapy in a Python Script. How can I include it in my script?
#2
Development and Code Review / Re: Building procedure
April 25, 2021, 03:26:11 PM
I  have a build a package in a FreeBSD distribution  putting it in usr/plugins/devel. I have executed the command 'make package'. Then I think I have to go on OPNsense, going into the directory where is located the t.x.z folder. Then i have to make the sudo pkg add <package_name>.t.x.z. Is the right procedure?

(The package in on a repo on Github and I have already created the +POST_INSTALL)
#3
Development and Code Review / Building procedure
April 25, 2021, 02:14:15 PM
I have trying to build a package. If I get well, I have to make a package of the folder and  on OPNsense using pkg install. Is it right?
#4
Running a little plugin I receive this error:  caught Error: Class 'OPNsense\HelloWorld\OPNsense\Base\IndexController' not found in /usr/local/opnsense/mvc/app/controllers/OPNsense/HelloWorld/IndexController.php:4 Stack trace: #0 [internal function]: unknown() #1 [internal function]: Phalcon\Loader->autoLoad('OPNsense\\HelloW...') #2 [internal function]: spl_autoload_call('OPNsense\\HelloW...') #3 [internal function]: Phalcon\Dispatcher->dispatch() #4 /usr/local/opnsense/www/index.php(72): Phalcon\Mvc\Application->handle() #5 {main} thrown in /usr/local/opnsense/mvc/app/controllers/OPNsense/HelloWorld/IndexController.php on line 4

What I have to do?