Page 7 of 8

Posted: Tue 30 Aug 2011, 16:05
by tasmod
Version 2.0 fixes Firewall ON/OFF in 5.2.8 and 5.2.9 as well as Slacko

Posted: Mon 19 Sep 2011, 00:15
by MinHundHettePerro
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

Posted: Tue 27 Sep 2011, 16:03
by tasmod
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.

Posted: Mon 28 Nov 2011, 15:14
by tasmod
Version 2.1 posted.

Information window now updates when called. (So external IP report is correct)

Posted: Tue 29 Nov 2011, 10:59
by tasmod
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' :lol:

Posted: Fri 16 Dec 2011, 15:06
by kickstart
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.

Posted: Sat 17 Dec 2011, 02:22
by jpeps
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' :lol:
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.

Posted: Sat 21 Jul 2012, 16:17
by Argolance
Hello,
... I like this little and very useful program...
Question: why is it only in English? :shock:
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? :wink:

Cordialement.

Posted: Sun 22 Jul 2012, 16:22
by tasmod
Argolance,

Simple and honest answer : I don't know how :oops:

I will however look into doing it.

Rob

Posted: Sun 22 Jul 2012, 17:05
by Argolance
Hello,
...Great! :D
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!

Firewallstate for puppy-412

Posted: Wed 22 Aug 2012, 22:40
by tuxtoo
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.

i18n for firewallstate

Posted: Sun 09 Sep 2012, 20:29
by rodin.s
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:

Code: Select all

locale | grep 'LANG=' | cut -d '=' -f2

Posted: Tue 11 Sep 2012, 15:21
by Argolance
Thank you...

Posted: Sat 24 Aug 2013, 01:18
by James186282
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.

Posted: Wed 06 Nov 2013, 10:28
by tasmod
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

Posted: Wed 22 Jan 2014, 14:51
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)

Posted: Tue 24 Jun 2014, 22:05
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.

Posted: Thu 31 Jul 2014, 19:56
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.

Posted: Thu 31 Jul 2014, 20:41
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.

Posted: Thu 25 Jun 2015, 20:30
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 . . .