[Completed] Firewall rules with color tags - like in FWBuilder [Patch inside]
to have a better overview of firewall rule blocks (like administrative rules / LAN to IPsec - Rules / and so on), I need the possibilty to add to a rule a color tag. Either to have the whole rule in a color or only the description field (wich is red already). The description field should be enough, depends on wich is solution is easier. If you ever worked with FWBuilder, you should know what I mean.
Thanks in advance
You mean this way? :D
yes, to the setup part. :) But there are some questions that came up.
- I had a talk to my boss about that, he would prefer the whole rule in a defined color. Is the programming effort much bigger to color the whole rule?
- since this is not a private demand, is it possible to get a invoice with billing information? Sorry for the question, but the only thing I found is
The means and timing of funds collection will vary from one bounty to another. Some developers may require the funds be submitted to the general pfSense donation fund prior to completing the work, if those offering are willing. In that case, I act as the escrow between the originator and the developer performing the work. If the bounty is abandoned the developer agrees that the money will be refunded in full. Due to many issues of folks being paid in a timely manner or not being paid at all, we now require the money up front. Using either the pfSense escrow or paying the developer directly. We apologize for needing to make this change but a couple of bad apples have ruined it for everyone.
Can it be done via PayPal?
I will ask and try to find a way.
I can request payment via paypal. This works like an invoice.
If it's ok for your company, send me the email via private message .
Is the programming effort much bigger to color the whole rule?
Here is the screenshot with whole rule changed
Looks great :)
I'll send you the patches to apply using system patches package.
Do you need it to pfSense 2.2 only or 2.1 too?
For both would be great.
Color tagged rules is a nice touch for the GUI. Is this ever going to be made available in the mainstream version?
Yes, it is really nice :-) Works like a charm and you have a better overview, if you have a lot of rules to handle. I asked marcelloc if it is possible to make it available through the package manager, he is trying.
Big thanks to marcelloc for the good and fast work
Would you be able to share the patch in the meantime?
Sure … Sorry for the late reply.
Here the diff - files:
Firewall Rules Color: https://www.dropbox.com/s/lvij6vy0xn6ps3r/firewall_rules_color_pfsense_22.diff?dl=0
Firewall Rules Edit Color: https://www.dropbox.com/s/5903b1yvlfwbq6x/firewall_rules_edit_color_pfsense_22.diff?dl=0
How to install:
After installing systempatches package on pfsense 2.2, create a patch for each .diff file
Do not forget to add the Base Directory option to patch.
After creating and saving the patches, click on test and then apply.
Test it on lab before applying to production box.
If you need to revert to original files, you can fetch it via console/ssh
and then copy or move to /usr/local/www
I can't give any support on the code and I take no responsibility for any damage on systems. On my systems (production) it works without any problems, but test it before installing on your production enviroment!!!
If you change something on the code, please upload it. Thanks
Thank you Mat, no disclaimer necessary. Your help is appreciated and if I trash my box it is indeed is my fault.