Firewall status tray icon - firewallstate-2.1
- MinHundHettePerro
- Posts: 852
- Joined: Thu 05 Feb 2009, 22:22
- Location: SE
Hello, tasmod !
Really like this application of yours; seen it/used it in many recent pups, where it's included by default.
I cannot find the sources for ver. 2.0 of the compiled file /usr/local/firewallstate/firewallstate, perhaps I missed the location of the sources by only reading this first page of the thread .........
Are the sources available for downloading somewhere?
Cheers / MHHP
Really like this application of yours; seen it/used it in many recent pups, where it's included by default.
I cannot find the sources for ver. 2.0 of the compiled file /usr/local/firewallstate/firewallstate, perhaps I missed the location of the sources by only reading this first page of the thread .........
Are the sources available for downloading somewhere?
Cheers / MHHP
[color=green]Celeron 2.8 GHz, 1 GB, i82845, many ptns, modes 12, 13
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]
Dual Xeon 3.2 GHz, 1 GB, nvidia quadro nvs 285[/color]
Slackos & 214X, ... and Q6xx
[color=darkred]Nämen, vaf....[/color] [color=green]ln -s /dev/null MHHP[/color]
MHP,
Sorry missed your post.
I'm almost sure that the version 1.8 source was very close to v2.0 but to be sure I uploaded version 2.0 source.
Note that there are other files called but they are annotated in the source and available in the pet. They are gtk scripts that can be read in Geany etc.
Sorry missed your post.
I'm almost sure that the version 1.8 source was very close to v2.0 but to be sure I uploaded version 2.0 source.
Note that there are other files called but they are annotated in the source and available in the pet. They are gtk scripts that can be read in Geany etc.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
I was asked why the change.
Well, on startup firewallstate retrieves the external IP address and the internal LAN IP. Then stops accessing after placing them in /tmp, this saves further processing.
On a reboot this information is refreshed, no problem, the information is correct.
However, if, as I discovered later, your router drops out and then re-syncs it obtains a new external IP but your system is still running and hasn't rebooted, only your router.
Firewallstate IP checking is not re-run, so the information isn't updated and is incorrect.
I therefore added a call when the right click menu item 'Information' is clicked, to re-run the IP scripts again, thus refreshing the information.
Funny how sometimes an event doesn't take place for quite a while to show up a 'bug'
Well, on startup firewallstate retrieves the external IP address and the internal LAN IP. Then stops accessing after placing them in /tmp, this saves further processing.
On a reboot this information is refreshed, no problem, the information is correct.
However, if, as I discovered later, your router drops out and then re-syncs it obtains a new external IP but your system is still running and hasn't rebooted, only your router.
Firewallstate IP checking is not re-run, so the information isn't updated and is incorrect.
I therefore added a call when the right click menu item 'Information' is clicked, to re-run the IP scripts again, thus refreshing the information.
Funny how sometimes an event doesn't take place for quite a while to show up a 'bug'
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
Hi Tasmod
For your info I have just installed the version 2.1 PET in Racy 522.
No problems with the installation and on reboot the tray icon appears and everything works fine on the right click.
Many thanks for your efforts, this is a really useful PET for Puppies like Racy that don't have any firewall status indication.
For your info I have just installed the version 2.1 PET in Racy 522.
No problems with the installation and on reboot the tray icon appears and everything works fine on the right click.
Many thanks for your efforts, this is a really useful PET for Puppies like Racy that don't have any firewall status indication.
For that reason I opted for a static icon on my tray instead of a running process...with buttons for turning the firewall off/on.tasmod wrote:I was asked why the change.
Well, on startup firewallstate retrieves the external IP address and the internal LAN IP. Then stops accessing after placing them in /tmp, this saves further processing.
....
I therefore added a call when the right click menu item 'Information' is clicked, to re-run the IP scripts again, thus refreshing the information.
Funny how sometimes an event doesn't take place for quite a while to show up a 'bug'
- Attachments
-
- myfirewall.png
- (14.99 KiB) Downloaded 1353 times
-
- myfirewall.pet
- (1.13 KiB) Downloaded 1002 times
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello,
... I like this little and very useful program...
Question: why is it only in English?
I already localized simple external firewallstate-2.1 scripts (for Toutou Linux, French version of Puppy)... could modify chains directly inside source files then compiling, but I think it would be lost time. The best indeed should be a gettext localized main script to get the right click menu translated.
Now that Barry is seriously working for Puppy to be "deeply" localized, should not this (pleeeeeease!), be done systematically from the beginning by programs conceptors?
Cordialement.
... I like this little and very useful program...
Question: why is it only in English?
I already localized simple external firewallstate-2.1 scripts (for Toutou Linux, French version of Puppy)... could modify chains directly inside source files then compiling, but I think it would be lost time. The best indeed should be a gettext localized main script to get the right click menu translated.
Now that Barry is seriously working for Puppy to be "deeply" localized, should not this (pleeeeeease!), be done systematically from the beginning by programs conceptors?
Cordialement.
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Hello,
...Great!
It should not be so difficult (?)!
Just a suggestion: Inside the right-click menu, are Psync, Date and time and Internet connexion wizard really convenient here? These have, by all appearances, directly nothing to do with the Firewall settings and seem to make double-use with some other applets?
Cordialement!
...Great!
It should not be so difficult (?)!
Just a suggestion: Inside the right-click menu, are Psync, Date and time and Internet connexion wizard really convenient here? These have, by all appearances, directly nothing to do with the Firewall settings and seem to make double-use with some other applets?
Cordialement!
- tuxtoo
- Posts: 173
- Joined: Tue 14 Dec 2010, 19:45
- Location: Knaresborough, North Yorkshire, UK
- Contact:
Firewallstate for puppy-412
Does anyone know if there is a version that works with Puppy-412 and where I can geta hold of it.
I know 412 is out of date but I like it. So please don't give me a hard time.
I know 412 is out of date but I like it. So please don't give me a hard time.
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]
[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.
Mirror [b][url]https://puppysearch.neocities.org[/url][/b]
i18n for firewallstate
I am working on Russian version of Slacko so I have made i18n-ed firewallstate. Firewallgtk can be translated using MoManager, the pot-file for binary firewallstate is in /usr/share/doc/nls/firewallstate. I also put Russian mo-files in /usr/share/locale/ru/LC_MESSAGES.
File /usr/share/applications/firewallstate.desktop also has 'Name[ru]' line for Russian. But I don't understand what should it point to. In original it points to directory.
I have also changed line for locale detection:
File /usr/share/applications/firewallstate.desktop also has 'Name[ru]' line for Russian. But I don't understand what should it point to. In original it points to directory.
I have also changed line for locale detection:
Code: Select all
locale | grep 'LANG=' | cut -d '=' -f2
- Attachments
-
- firewallstate-2.2.pet
- i18n-ed firewallstate
- (16.04 KiB) Downloaded 944 times
-
- firewallstate-2.0.c.gz
- source file with gettext
- (3.67 KiB) Downloaded 879 times
- Argolance
- Posts: 3767
- Joined: Sun 06 Jan 2008, 22:57
- Location: PORT-BRILLET (Mayenne - France)
- Contact:
Thank you...
- Attachments
-
- firewallstate_fr_po_mo-files.tar.gz
- French Firewallgtk and firewallstate po and mo files
- (1.78 KiB) Downloaded 852 times
- James186282
- Posts: 270
- Joined: Tue 08 Sep 2009, 19:14
- Location: Minnesota
I tried to close all the ports in the firewall supplied on the 5.6 Distro but I flunking the shields up port tests on GRC.com Is there something I should be doing? I tried custom and selected all ports.
The Information display for the firewall seems to have a bug. I should learn how to post a screen shot but in short this is what I get.
Your external IP is _________ blank space.
PC network address 127.0.0.1
I have good IP addresses (connections.) I checked with iw and ifconfig and they were in th 10.0.0.x range (Which was the router I was trying to connect to. I have another machine (Attached to a different router) and the firewall does the same thing. This is a tower (a gateway 831GM)it connecting ok to the standard 192.168.x.x. IP range My Wife's laptop laptop is running slacko 5.5 on it with the same issues *another T60 Thinkpad.
I hope this is helpful I really appreciate the effort so many of you put in for such an amazing system.
The Information display for the firewall seems to have a bug. I should learn how to post a screen shot but in short this is what I get.
Your external IP is _________ blank space.
PC network address 127.0.0.1
I have good IP addresses (connections.) I checked with iw and ifconfig and they were in th 10.0.0.x range (Which was the router I was trying to connect to. I have another machine (Attached to a different router) and the firewall does the same thing. This is a tower (a gateway 831GM)it connecting ok to the standard 192.168.x.x. IP range My Wife's laptop laptop is running slacko 5.5 on it with the same issues *another T60 Thinkpad.
I hope this is helpful I really appreciate the effort so many of you put in for such an amazing system.
Science is what we understand well enough to explain to a computer.
Art is everything else we do.
[i]Donald Knuth [/i]
Art is everything else we do.
[i]Donald Knuth [/i]
Hi James,
The problem of the blank IP is quite simple.
The addresses you quote are internal router addresses.
Firewallstate IP information uses an external site to send back the External IP info. On the "other side" of the router, your ISP connection.
Rob
The problem of the blank IP is quite simple.
The addresses you quote are internal router addresses.
Firewallstate IP information uses an external site to send back the External IP info. On the "other side" of the router, your ISP connection.
Rob
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)
-
The moment after you press "Post" is the moment you actually see the typso 8)
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
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)
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
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.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
- OscarTalks
- Posts: 2196
- Joined: Mon 06 Feb 2012, 00:58
- Location: London, England
- tuxtoo
- Posts: 173
- Joined: Tue 14 Dec 2010, 19:45
- Location: Knaresborough, North Yorkshire, UK
- Contact:
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 . . .
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]
[b][url]http://wellminded.net63.net/[/url][/b] Suitable for older browsers.
Mirror [b][url]https://puppysearch.neocities.org[/url][/b]