Peasy Firewall Monitor

Problems and successes with specific brands/models of networking hardware.
Message
Author
slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#41 Post by slavvo67 »

Installed in Quirky Xerus64 (actually RU Xerus but interchangeable from my standpoint). Seems to work except for the install tray applet.

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

#42 Post by rcrsn51 »

slavvo67 wrote:Installed in Quirky Xerus64 (actually RU Xerus but interchangeable from my standpoint). Seems to work except for the install tray applet.
The tray applet is a 32bit binary, so you need a 64bit version. Attached below, but I don't know if it will be compatible. Please report.

[Edit] This version is also compatible with Fatdog.
Seems to work
That's the thing about firewalls. The only true test is to run from a second machine and probe the first machine with a tool like PeasyPort.

---------------------------
Attachments
peasyfwmon_64bit-2.1.pet
Updated 2017-07-25
Recognizes multiple networks
(23.91 KiB) Downloaded 587 times
peasyfwmon_2state_tray_64bit-1.0.pet
(5.24 KiB) Downloaded 602 times
Last edited by rcrsn51 on Tue 25 Jul 2017, 18:19, edited 14 times in total.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#43 Post by slavvo67 »

The tray applet seems to be working --- Thank you! Thank you for the Peasyport tip. I'll have to test a little....

I have a suggestion but I'm not sure if it's practical or how difficult to accomplish. It would be nice to have a box that says Open Port [ _ _ ] to simplify opening a specific port #. Then, you would probably need a close port X or close all ports. Just a thought but it's nice, either way!

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

#44 Post by rcrsn51 »

slavvo67 wrote:The tray applet seems to be working
Ummm... Either it's working or it's not.
It would be nice to have a box that says Open Port
If you want to open individual ports, you can run the full Linux Firewall app, assuming it's installed. But what is the practical value of doing that?

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#45 Post by slavvo67 »

When I temporarily turn off the firewall, only ports 139 and 445 reflect as being opened using Peasyscan with a different computer.

Actually, the above might be a Peasyport issue. When I removed the firewall, Peasyport only reported back the ports above as being opened.

Practical value is say you're using Python Simple Server. No?

Update: I see what you're doing. So you're using port 24 for trusted LAN and that can be used with Python Simple Server as well as any. So, only question is can you turn off the trusted lan (port 24) without shutting down the firewall and restarting?

Also, still checking on the Peasyport discrepancy. I may have had the firewall up on the computer using Peasyport to scan. Still, not sure why it would show 2 open ports when that computer would be locked down..... I'll let you know what I find...

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

#46 Post by rcrsn51 »

slavvo67 wrote:Actually, the above might be a Peasyport issue. When I removed the firewall, Peasyport only reported back the ports above as being opened.
That's exactly how it should be. A port only opens if there is a service using it. Were you expecting to see all 1024 standard ports open?
Practical value is say you're using Python Simple Server. No?
Suppose you have Python Simple Server running on port 8000. So you allow that port on the firewall. All the firewall is now doing is blocking a bunch of other ports that aren't active anyway.

The value of the "trusted LAN" procedure is that it allows traffic through whatever ports you choose to open to anyone on the LAN, without having specify them individually.

It also lets you communicate with network devices that might be advertising their presence on ports that you don't know about.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#47 Post by slavvo67 »

The value of the "trusted LAN" procedure is that it allows traffic through whatever ports you choose to open to anyone on the LAN, without having specify them individually.
Forgive me, as networking has been one of my many weaknesses. So, you're opening the trusted LAN so if I open let's say Port 8000 on one computer, I can go to 198.162.0.0:8000 without having to open that port through the firewall and it will work because the computers are on the same local network?

Maybe you can give an example of how it would be used?

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

#48 Post by rcrsn51 »

Exactly.

But here is something else to consider. Assuming that you are on a LAN behind a router, the ONLY computers that can see the server are those on the LAN. In which case, why do you need a firewall in the first place?
Maybe you can give an example of how it would be used?
The objective of PFM is to give people who absolutely insist on running a firewall a tool that works, even though they don't need it.

The only people who might need a firewall are those with a public IP address and are directly exposed to the Internet. But they shouldn't have any ports open anyway because they aren't sharing anything.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#49 Post by slavvo67 »

Wow! Like if I tree falls in the woods and nobody is there to hear it, does it make a sound? Very enlightening. Thank you and thank you for the excellent tool!

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

#50 Post by rcrsn51 »

PFM began in 2013 because people were getting confused by the various Puppy firewalls. They couldn't get file/print sharing to work because the firewall was blocking it, even though they were certain that the firewall was off.

They needed a diagnostic tool that could show them EXACTLY what the firewall was doing.

Consider this: you install the firewall because you are concerned that malicious outside users can somehow "see into your computer". You then set up a SAMBA server to share data with your family, so you open Port 139 on the firewall. You just exposed all that data to those malicious users! Meanwhile, the firewall is protecting a bunch of other ports that aren't even active.

The firewall is having the opposite effect of what you want. The only thing that makes any sense is Trusted LAN.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#51 Post by slavvo67 »

One of the unexpected benefits of using your PFM was being able to simply use Plex with the build firewall for trusted LAN option. Streaming to my Roku just opened a new door.

I did come across an issue, today but I'm not sure if it's because of PFM or if it was my network. I was using a hotspot (phone) and for some reason, I think PFM was blocking it. The reason I think it was PFM is because when I shutdown the firewall and ran the usual linux firewall, my web started working. Like I said, it could have been my hotspot not working quite right but I'll test some more during the week and report back.

Thanks again,

Slavvo67

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

#52 Post by rcrsn51 »

If you had Trusted LAN set for your home network, then tethered to your phone, you are now on a different network. You would need to run Trusted LAN again to allow the new network.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#53 Post by slavvo67 »

No, this was at work; not using trusted LAN but launching the firewall with PFM. So, I did a complete shutdown of the firewall and used PFM to launch the regular firewall. Again, it could be me and my hotspot so I will test some more...

Thanks again!

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

#54 Post by rcrsn51 »

Actually, this raises an interesting question. If you join some other network, like a public hotspot, you probably DON'T want to be using Trusted LAN. You would be better off running the default maximum firewall. Let me get back to you on this.

If you run PFM for the first time and create the initial firewall, you get exactly the same one as if you run the Linux Firewall app from the Network menu.

[Edit] What Puppy are you using?

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

#55 Post by rcrsn51 »

PFM v1.9 posted above. See the Update note.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#56 Post by slavvo67 »

Actually Quirky Xerus 64bit. Actually my derivative RU Xerus64 but same thing, more or less. Actually, I can't wait to get any kinks out and add it to WoofQ and use it in my next update....
Last edited by slavvo67 on Thu 23 Feb 2017, 04:42, edited 1 time in total.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#57 Post by slavvo67 »

If you run PFM for the first time and create the initial firewall, you get exactly the same one as if you run the Linux Firewall app from the Network menu.
I'm not doubting you but there seems to be an inconsistency with that statement. I'll continue to test.

Is your update on page 1 64bit? - Thanks

Also,would you consider an icon update when say the firewall is temporarily shutdown. It would be nice to have that as a graphic indicator on screen.

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

#58 Post by rcrsn51 »

If you run the traditional Linux Firewall app from the Network menu and select "Automagic", it generates the script /etc/rc.firewall. When this script is run, it starts the firewall in your current session.

PFM uses that exact same script to build its initial firewall. It simply modifies the script to make Trusted LAN.
Is your update on page 1 64bit?
I will do that next on the page 3 download.
Also,would you consider an icon update when say the firewall is temporarily shutdown. It would be nice to have that as a graphic indicator on screen.
That's not going to happen. This has been the cause of problems in the past - when the icon gets out of sync with the actual status of the firewall. It's not worth the amount of code and CPU cycles needed to keep it in sync when all you need to do is click your mouse to get all the information.

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

#59 Post by rcrsn51 »

@slavvo67: I found a bug that sometimes prevents the firewall from auto-starting on the next boot. It is fixed in the 64bit v1.9 posted above.

slavvo67
Posts: 1610
Joined: Sat 13 Oct 2012, 02:07
Location: The other Mr. 305

#60 Post by slavvo67 »

Okay. I found it on page 3 and downloaded. I'll continue to test. Necessary or not, it's a very nice polished product. I think that I'll continue using it going forward. Will you continue to provide updates on the 64 bit version?

Again, very much appreciated.

Post Reply