Firewall status tray icon - firewallstate-2.1

Configuration wizards, scanners, remote desktop, etc.
Message
Author
User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#151 Post by OscarTalks »

01micko recently published a firewallstate-2.5 source package in another thread, but it is set up for the new autostart mechanism. I am no expert, but I was having a play around with some modifications to the scripts and the source in order to make a version for the current and recent (non Woof-CE) Puppies which use /root/Startup

I have also noticed that in many cases if you click the menu entry multiple times you get multiple instances of the icon/applet in the tray. My script now looks to see if firewallstate is already running and if so it just gives a message box and does not launch another instance. Others may be able to come up with something more sophisticated.

Apart from this, what I have so far is the nice new green and red shield tray icons. The icon on the exit button of the Firewall On/Off dialog box is fixed. You can start it from console with the command firewallstate (is this a good idea?). It restarts if you reboot or restart X but if you right-click and exit it won't then restart unless you do so manually from the menu or from console.

Everything seems to be working as it should and of course this version does not call out to external hosts to determine your WAN IP. Apparently some people are concerned about that.

In case anyone wants to take a look or give it a try I will name it as version 2.5.1 and upload here:-
http://smokey01.com/OscarTalks

Probably best to remove the old files and folders (if present) before installing, eg:-
/root/Startup/firewallstaterun
/usr/local/firewallgtk (directory and contents)
/usr/local/firewallstate (directory and contents)
Attachments
firewall-on-off-dialog.jpg
Icons all display in Firewall ON / OFF Dialog
(22.5 KiB) Downloaded 1249 times
already-running.jpg
Message Box instead of multiple instances
(10.13 KiB) Downloaded 1250 times
Oscar in England
Image

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#152 Post by Smithy »

Very nice.
Would it be difficult to be able to use or make and save presets for the firewall?

Even if it was just sh files on a basic level, it might be good for different setups that one could change at will.

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

#153 Post by greengeek »

OscarTalks wrote:01micko recently published a firewallstate-2.5 source package in another thread, but it is set up for the new autostart mechanism. I am no expert, but I was having a play around with some modifications to the scripts and the source in order to make a version for the current and recent (non Woof-CE) Puppies which use /root/Startup
Hi Oscar, does your version have the ability for autostarting as you've mentioned exists in the 01micko version, or did you remove that ability. I'm quite keen on having the firewall autostart function combined with the 'don't connect to external hosts' thing you've incorporated here.

User avatar
OscarTalks
Posts: 2196
Joined: Mon 06 Feb 2012, 00:58
Location: London, England

#154 Post by OscarTalks »

My version autostarts via the file in /root/Startup as normal.
Only the very recent Woof-CE Puppies will have the new autostart mechanism.
Oscar in England
Image

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

#155 Post by tuxtoo »

I asked almost two years ago on this thread (page 10) if there is a version that works on Puppy-412. I have eventually given up waiting and just thought I would ask again.

v1.9 works up to a point, in that the tray icon won't change to 'On'

Any ideas . . . anyone . . .
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
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#156 Post by bigpup »

Just an idea.
Maybe you do not have the on icon.
There should be two icons that get used.
One for on and the other for off.

Some on off bugs got fixed with version 2.0.

Have you tried to use the latest version 2.1?
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected :shock:
YaPI(any iso installer)

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#157 Post by Smithy »

Still thinking about how to implement presets...
Attachments
image-1.png
(213.42 KiB) Downloaded 437 times

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

#158 Post by rcrsn51 »

tuxtoo wrote:I asked almost two years ago on this thread (page 10) if there is a version that works on Puppy-412. I have eventually given up waiting and just thought I would ask again. v1.9 works up to a point, in that the tray icon won't change to 'On'.
This situation also occurs with other tray applets that were compiled in Puppy5 but are not backwards-compatible to Puppy4. It has to do with the versions of core components like glibc or gtk.

If you want a firewall monitor that does not depend on the system tray, read here.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#159 Post by ttuuxxx »

For the ones using firewall state, I made 2 icons for it, Basically I made a red brick wall with gimp and added a gtk-apply when its enabled and when its disabled I made the brick wall B&W and added a gtk-cancel icon, Simple yet effective and both icons are only around 1k in file size. Here's a pet for the them, Feel free to use them or do anything with them. etc.
Attachments
firewallstate-icons1.0.pet
(2.41 KiB) Downloaded 238 times
firewall-ok-30.png
(995 Bytes) Downloaded 248 times
firewall-warn-30.png
(1020 Bytes) Downloaded 248 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

Post Reply