It was meant for a first run tray applet for new Puplets. Just to remind you to turn on the firewall by running the wizard.

So a new Puppy install would show as 'firewall off' and the option to run the wizard as a reminder in the tooltip. That's why I added the quit and remove.

Now, when you have a clean install the rc.local file has no entry for firewall. When you run the wizard it appends the 'firewall start' script instruction there. I just check for that script. i don't check for the rc.firewall.

In effect once the firewall wizard is run it should not need changing. However, if you wish to turn it off then alter the script to show 'firewall stop' not 'firewall start'_________________Rob
-
The moment after you press "Post" is the moment you actually see the typso

But the tray applets first intention wasn't to be a full time app, however i did change it subject to requests, so i suppose it had better be accurate in it's reporting.

I've just done a couple of experiments both loading and unloading modules.

My simple method will change state if the text is changed but not reflect an accurate actual change until rebooted.

Unloading the module has no effect on the script so firewallstate will be inaccurate.

I will experiment with code to look at running the lsmod output to a file and parse that checking for iptables._________________Rob
-
The moment after you press "Post" is the moment you actually see the typso

The only way to turn the firewall off easily is to change the text in rc.local to 'firewall stop' and reboot. Otherwise delete the rc.firewall and reboot again.
All require a reboot and the rc.local changes, so I can't see a reason to change the code at the moment. Unless anyone knows otherwise.

I have changed the code and tested but it is easier the original way as this seems to be universal in operation.

I wrote a pet to turn firewall on and off a while back, it's on here somewhere._________________Rob
-
The moment after you press "Post" is the moment you actually see the typso

The only way to turn the firewall off easily is to change the text in rc.local to 'firewall stop' and reboot. Otherwise delete the rc.firewall and reboot again.
All require a reboot and the rc.local changes, so I can't see a reason to change the code at the moment. Unless anyone knows otherwise.

I have changed the code and tested but it is easier the original way as this seems to be universal in operation.

I wrote a pet to turn firewall on and off a while back, it's on here somewhere.

I was setting up a router and network and kept getting weird results due to the firewall. So I quickly wrote the script and gui to turn it on and off whilst I carried out tests.
Zigbert incorporated in his all encompassing setup program.

I suppose I could incorporate it in the app along with a menu launch entry if you want._________________Rob
-
The moment after you press "Post" is the moment you actually see the typso

Just what does a person need to change in rc.firewall to allow network printing to bypass the firewall?
The reason I ask is that if I set up the firewall accepting default, shared printers are not seen by linux guest systems.

Just what does a person need to change in rc.firewall to allow network printing to bypass the firewall?
The reason I ask is that if I set up the firewall accepting default, shared printers are not seen by linux guest systems.

In the custom section I put "631/tcp" .. seemed to work .. I can print puppy machine to puppy machine. Enabled some of the other things too. Forget exactly. Patriot would know or rcrsn51.

Version 1.3 posted, works regardless of commands issued elsewhere.
Incorporates ON/OFF in menu, should you need it.

Regarding the External IP address info. It's been interesting seeing my external IP change occasionally by BT._________________Rob
-
The moment after you press "Post" is the moment you actually see the typso

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum