Page 1 of 5

Posted: Fri 13 Dec 2013, 05:05
by gcmartin
This is a very nice addition to desktop and tray.

Ideas for future version(s)
Idea 1
Ports are opened as individual or port-groups, If you consider that an instance, whether individual or group is a single entity, then one can logically count all of the entities to get a total number of entities open on the PC.

This total can update the taskbar icon similar to the icon that show system demand. Thus, at a glance, the PFW icon could show the number of open entities (referring to "port entities").

Idea 2
Is there a front-end app/dialogue that could be used to open or close specific ports on the system? And, if so, could the monitor launch it from its pop-up?

Just a couple of ideas to help.

Thanks for all you do to help all of us
Edited: to avoid a mis-conception

Posted: Fri 13 Dec 2013, 08:36
by rcrsn51
gcmartin wrote:Is there a front-end app/dialogue that could be used to open or close specific ports on the system? And, if so, could the monitor launch it from its pop-up?
No. This is not a firewall administration tool. It is just a diagnostic tool for checking the status of the firewall. See above.
Ports are opened as individual or port-groups, If you consider that an instance, whether individual or group is a single entity, then one can logically count all of the entities to get a total number of entities open on the PC. This total can update the taskbar icon similar to the icon that show system demand. Thus, at a glance, the icon could show number of open entities.
???????

Posted: Fri 13 Dec 2013, 09:18
by gcmartin
rcrsn51 wrote:???????
I have edited that post to try to clarify one of the ideas. To rephrase:
(Assuming you understood the portion of the "entity".) In this case, the entity is a designation of a port or single consecutive group of ports that is open. The total of those open constitutes some integer which can be updated in the "Peasy Firewall Monitor's" (PFW) taskbar icon.

This has the benefit of allowing the desktop user to see open ports at a glance at the taskbar. Should one notice that the PFW icon shows a change, it would be a signal to investigate.

Hope this is clearer.

On the other idea: I did comment that its just an idea for some future consideration. It is NOT to be taken as a request. Should you see value in anything that is offered in that post, feel free to exploit it appropriate as you see.PFW in the future.

I did understand that the product is a management and reporting product. Management because it possesses the managing ability to start/stop as well as set controls in the system behavior. As such, I offer the ideas for future. I see value in what you have already presented. Thanks.

Hope this helps ... and pardon any prior typos.

Puppy 412

Posted: Sun 20 Sep 2015, 21:47
by tuxtoo
It may be a bit late in the day for this, but I am using Puppy-4.1.2 and Peasy Firewall Monitor works fine but I am unable to get the icon to appear in the tray. Any ideas?

Posted: Sun 20 Sep 2015, 23:00
by rcrsn51
Glad you like it. I still use PFM in situations where I need to be absolutely certain about the status of the firewall.

The tray applet was compiled in a 5-series Puppy and is not backwards compatible with the 4-series.

Posted: Mon 21 Sep 2015, 16:14
by tuxtoo
Many thanks rcrsn51, works like a dream and I hope you don't mind that I have repacked it for Puppy-4.xx

As peasyfwmon-1.4.pet doesn't have a tray icon in Puppy-412 I have repackaged it with a desktop icon for quick access.

Posted: Tue 22 Sep 2015, 10:47
by rcrsn51
Excellent. I was looking at compiling the tray applet for Puppy 4, but a desktop shortcut is just as good.

Posted: Sun 19 Feb 2017, 12:49
by fr33land
Version 1.5 posted above.

Posted: Mon 20 Feb 2017, 16:48
by rcrsn51
Version 1.6 is posted above. See the Update note.

Posted: Mon 20 Feb 2017, 19:28
by keniv
Hello rcrsn51

I have installed version 1.5 in 412 lite and 410 smp and it works perfectly. Thank you for that. I also use wary 5.5.1 with some extra updates. It nearly works but the first window I see is corrupted. However if I click either OK or Cancel I get the second window which is fine. It can be used to set the tray icon. What I think is the correct first window can also be made to appear. If I re-boot the process is repeated. Is there a way to get it to work properly with wary 5.5.1.

Regards,

Ken.

Posted: Mon 20 Feb 2017, 19:46
by rcrsn51
This app is using standard Xdialog tools to create the two windows. I tested it in Wary 5.5 and it worked fine for me. Your problem must have something to do with your particular video setup.

Posted: Mon 20 Feb 2017, 20:50
by keniv
I,posted already but it has disappeared so I'll repeat it.
I have taken some images in the hope it will help.
Image1 shows the corrupted window.
Image2 shows the window I get if I press OK or Cancel in the first.
Image3 I can bring up from window2. I think it is a good version of window1.
Image4 is the syst info for my monitor. I use XOrg but without the extra driver I use with lucid.
If image2 is a good version of window1 I don't understand how the video set up. Hope this helps.

Regards,

Ken.

Posted: Mon 20 Feb 2017, 21:03
by rcrsn51
This isn't video corruption - PFM is trying to detect what ports in the firewall are open and is getting confused. I'm guessing that you already had the firewall installed when you first ran PFM.

Get v1.6 - it detects open ports a different way.

I don't understand how you are getting from the second window back to the first window - there is no path to do that unless you re-run the program.

Posted: Mon 20 Feb 2017, 22:24
by keniv
OK I'll do it now and report back. I did have the firewall running when I installed v1.5. I'll switch it of before I install v1.6.

Ken.

Posted: Mon 20 Feb 2017, 22:28
by rcrsn51
I don't understand how you are getting from the second window back to the first window - there is no path to do that unless you re-run the program.
Please answer.

Posted: Mon 20 Feb 2017, 23:01
by keniv
rcrsn51 wrote:
I don't understand how you are getting from the second window back to the first window - there is no path to do that unless you re-run the program.
Please answer.
I have just removed v1.5 and replaced it with v1.6. V1.6 is working perfectly in wary. Thank you for that. I'm sorry but I can't exactly remember how I got from image2 to 3. I got from 1 to 2 by clicking OK or Cancel on the corrupted window. I clicked on the button in 2 to bring up the tray icon and clicked OK.This is the point where I'm not sure what I did next. I did however click on the icon a couple of times. I also re-ran the firewall from the window. I also looked in /root/startup to make sure there was something relvant in there. I also rebooted the machine to check the firewall started. I also ran iptables -L -n in a terminal to make sure the firewall was running.
I hope, from the above, you can work out from this how I got to image3.

Regards,

Ken.

Posted: Mon 20 Feb 2017, 23:12
by rcrsn51
Thanks. I have added a post-install script to the PET that removes any existing firewall. That will make PFM build a new basic firewall on the first run.

Posted: Mon 20 Feb 2017, 23:23
by keniv
I think thats a good idea. I did not think to shut off the firewall before I installed v1.5. I'm wondering if I should install v1.6 in 412 lite and 410 smp. v1.5 works with these two. I'd appreciate your advice.

Ken.b

Posted: Mon 20 Feb 2017, 23:28
by rcrsn51
That's up to you. The major changes in v1.6 are with detection of open ports and building the firewall for trusted networks.

Posted: Tue 21 Feb 2017, 06:43
by greengeek
keniv wrote: I also ran iptables -L -n in a terminal to make sure the firewall was running..
I am interested to know what information this command offers. Does my output ring any alarm bells with you? -

Code: Select all

# iptables -L -n
Chain INPUT (policy DROP)
target     prot opt source               destination         
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state RELATED,ESTABLISHED
ACCEPT     all  --  0.0.0.0/0            0.0.0.0/0            state NEW
TRUSTED    all  --  0.0.0.0/0            0.0.0.0/0            state NEW

Chain FORWARD (policy DROP)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
DROP       icmp --  0.0.0.0/0            0.0.0.0/0            state INVALID

Chain TRUSTED (1 references)
target     prot opt source               destination         
ACCEPT     icmp --  0.0.0.0/0            0.0.0.0/0            icmptype 8
DROP       icmp --  0.0.0.0/0            0.0.0.0/0           
REJECT     all  --  0.0.0.0/0            0.0.0.0/0            reject-with icmp-port-unreachable
#