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 - MasterXBKC

#16
here is a thought, since im apparently a moron here in how to setup proper, non static plugins, if someone wants to be so gracefull and helpfull, and either show me how, or make the needed changes to the nmap plugin i wrote and send me the modified version back so i can disect it and compare the differences and see how to do it for myself, then i might be able to be more usefull.

As for the pfmonitor plugin, its simple, you dont have a shell command function in the web ui, thus i cant print easy instructions for my users to install my plugin for monitoring their systems, without making them break down into ssh and such, when for pfsense installs it takes literally 5 seconds.   its a large handicap for people using my platform if they rightfully decide to use opnsense instead of pfsense.    It makes their and my job a lot harder, and if they could simple hit a plugin sign under plugins and be done, it would make so much of their jobs a lot easier.

I have 500+ firewalls from clients reporting to my platform, and adding more each month, so what your asking me, is to ask them, to ssh manually into each one, and using the shell install it manually.    which means i spend more time doing tech support for the ones who cannot figure it out themselves, and they get more frustrated with opnsense for this issue, and despite the JIM issue, because of this, they see a clear advantage in pfsense in that it takes so much less time and effort to get my plugin loaded.

I am one guy, i DO NOT have any staff under my pfmonitor project, no one.   I do all the tech support myself over email and phone, and right now 90% of the calls are, i cant get my opnsense unit to report in.   meaning they couldnt get the plugin loaded themselves.   Thankfully the operations of the platform have been built to be 90% autonomous and self maintaining, else i would have no free time at all.

Now im sorry for the frustration expressed in these posts, but here it is in my prospective, ive been trying to get my plugin in with you guys for months, Franco even provided generous help and a skeleton for the checkin plugin and everything, awsome on him for that.    I have been staying up late at night getting it all working and tested.   and working on it in lieu of time i usually use for sleep.   And this morning come to find all of it rejected....
#17
So what your really saying is, im wasting my time trying to be helpfull, and that the hours ive spent putting both of these plugins togeather, would have been better and more productively spent drinking?

AND, for the record, i do not know how to set up the plugin using the non-static page stuff.   If i did i would have, so instead i modeled after and already existing static paged plugin, thats already in there.
#18
Development and Code Review / New Plugin: NMAP Scanner
February 11, 2018, 02:09:21 AM
See the screenshots, its up and working, just waiting for it to get pulled into the repos.
#19
I did a pull request to Franco's plugins branch, I'm not an expert in GitHub operation but I think he needs to pull it or something.
#20
i submitted an NMAP plugin tonight, its very basic, but it works!
#21
OK so "make package" worked instantly.

I have my package compiled into txz, and even tested it on a seperate unit and its working fine.

Now i just need to figure out how to get it into a repo so it can be updated, and downloaded easily.
#22
Quote from: fabian on February 09, 2018, 09:25:50 PM
you probably want to package a plugin which works with make package in the plugin directory and will be done in seconds. I usually don't use other make targets but yours is probably also building the dependencies.

I was following this guide, should i not be?

https://docs.opnsense.org/development/examples/helloworld.html
#23
Is it normal for this process to take an exceedingly long time????

I have a quad core opnsense unit with 8GB RAM, and SSD storage, and its been grinding away for about 30 minutes now.  its not hung, and different stages keep cycling by slowly.  Running 18.1.2_2

it is the first time ive ever run the make plugins command if that matters.

I have compiled on linux before and except for large projects, i dont rememeber it normally taking so long is all....
#24
OK guys, so i believe i have my code fixed up, and not bringing down the php-cgi's anymore, not sure why it was happenning, but after changing a single line that was used to end the script its now working.

So now all i need to do is get it built into a plugin, and its all done.
#25
Here you see after running that single command, all the php-cgi processes simultaneously die.

and now the web config only gives 502 errors.
#26
See screenshots, when i run the php file, all of the php-cgi processes die without any explanation.

and sometimes it doesnt happen till the 4th or 5th time it runs, sometimes on the first time.
#27
Franco, i think i might have found a possible cause for this, all the symptoms seem to match up except that this thread is using nginx instead of lighty.

https://forum.nginx.org/read.php?2,265576,265586

Perhaps disabling opcache for CLI per this thread i wonder:
https://stackoverflow.com/questions/21556437/disable-opcache-temporarily
#28
Development and Code Review / Re: Seemingly Simple Plugin
February 06, 2018, 01:52:23 AM
so you need nmap?
#29
You might want to renew this!
#30
it is meant to be a cron, it periodically sends the data in, and retrieves any user commands to run.