Peasy Firewall Monitor

Problems and successes with specific brands/models of networking hardware.
Message
Author
gcmartin

#16 Post 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
Last edited by gcmartin on Fri 13 Dec 2013, 09:23, edited 3 times in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#17 Post 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.
???????

gcmartin

#18 Post 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.

User avatar
tuxtoo
Posts: 173
Joined: Tue 14 Dec 2010, 19:45
Location: Knaresborough, North Yorkshire, UK
Contact:

Puppy 412

#19 Post 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?
Puppy Linux search engine.

[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.

Mirror [b][url]https://puppysearch.neocities.org[/url][/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#20 Post 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.

User avatar
tuxtoo
Posts: 173
Joined: Tue 14 Dec 2010, 19:45
Location: Knaresborough, North Yorkshire, UK
Contact:

#21 Post 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.
Attachments
peasyfwmon-1.4-p4.pet
Peasy Firewall Mointor for Puppy-4.xx
(9.42 KiB) Downloaded 600 times
peasyfwmon.jpg
Peasy firewall desktop icon
(6.86 KiB) Downloaded 752 times
Last edited by tuxtoo on Tue 22 Sep 2015, 13:04, edited 1 time in total.
Puppy Linux search engine.

[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.

Mirror [b][url]https://puppysearch.neocities.org[/url][/b]

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#22 Post by rcrsn51 »

Excellent. I was looking at compiling the tray applet for Puppy 4, but a desktop shortcut is just as good.

fr33land
Posts: 25
Joined: Thu 25 Jun 2015, 13:36

#23 Post by fr33land »

Version 1.5 posted above.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#24 Post by rcrsn51 »

Version 1.6 is posted above. See the Update note.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#25 Post 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.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#26 Post 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.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#27 Post 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.
Attachments
Image4.png
(84.37 KiB) Downloaded 465 times
Image3.png
(10.41 KiB) Downloaded 451 times
Image2.png
(17 KiB) Downloaded 457 times
Image1.png
(10.2 KiB) Downloaded 448 times

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#28 Post 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.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#29 Post 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.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#30 Post 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.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#31 Post 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.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#32 Post 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.

keniv
Posts: 583
Joined: Tue 06 Oct 2009, 21:00
Location: Scotland

#33 Post 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

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#34 Post 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.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#35 Post 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
# 

Post Reply