Firewall status tray icon - firewallstate-2.1

Configuration wizards, scanners, remote desktop, etc.
Message
Author
User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#121 Post by tasmod »

Sorry guys missed the responses as I've only just checked back.

Thanks Sylvander, glad you like it. It's really a response to requests after my first simple version, that it has developed so far.

Scsijon,

Interesting idea. I'll look into the possibility of further control of the firewall program, although no promises. :lol:
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#122 Post by sc0ttman »

It only be my setup, but the firewall settings are not remembered after reboot.. I'm using LupQ 511 and firewallstate-1.7-full..

Anyone experience this?
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

Sylvander
Posts: 4416
Joined: Mon 15 Dec 2008, 11:06
Location: West Lothian, Scotland, UK

#123 Post by Sylvander »

Here in Boxpup-431, every time I boot, the firewall icon down at bottom right in the system tray, is showing the firewall is OFF.
So I switch it on every time I get to the desktop, which then shows it is ON.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#124 Post by tasmod »

Hi all,
I made a mention in the luci thread.

I loaded the latest luci and this happened for me also on reboot.

I suspect a minor change in the startup routine or network message is causing firewallstate to report incorrectly. I suspect that the firewall is actually 'on'

Check /etc/rc.d/rc.local in geany and the last bit of text should end in 'start'. If it does then the firewall is probably running and firewallstate is reporting incorrectly. I can see it is doing that on my system.

Not much time available but I will look into it.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#125 Post by tasmod »

I just updated the post to version 1.8. there is no need to download if you are using Lucid 5.2 as it is the same.

I've also uploaded the 1.8 C source code
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

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

#126 Post by ttuuxxx »

Hi tasmod I'm finally introducing firewallstate into 2.14X, The only thing if possible I would like to see is a large reduction of task on the right click menu, most of those extra's aren't needed and Psync isn't even included, I did try getting Psync going by using 5.2 parts, but I already have a little script that sets the time already that playdayz introduced into upup # hwclock --hctosys --localtime
works for me :) we also have the latest network monitor that has the X on the taskbar icon if it isn't connected, if you click that it brings up the network manager, etc.
Here how I would like to see it, if possible, I did try to compile the sources but they didn't do anything. what compiling command routine do you use? I tried
gcc `pkg-config --cflags --libs gtk+-2.0` -o "firewallstate-1.8.c" "firewallstate-1.8.c"
but no bin was made. Thanks very much for this great and well needed app.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

big_bass
Posts: 1740
Joined: Mon 13 Aug 2007, 12:21

#127 Post by big_bass »

what compiling command routine do you use?
a dragnNrop compiler what else
http://www.murga-linux.com/puppy/viewto ... 5&start=28

Joe

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

#128 Post by ttuuxxx »

Thanks Joe that works like a treat :), You know me I like simple lazy helpers :)
Now I can edit the code and make the menu more for 2.14X layout :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

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

#129 Post by ttuuxxx »

already change it, reduced the extra apps and reduced what is displayed in the info related to the apps removed :) Now its just right :) I'm one happy camper now :)
Thanks again guys
ttuuxxx
Attachments
214x.jpg
(29.27 KiB) Downloaded 2766 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#130 Post by bigpup »

Full install Lucid 5.2.5

If I select to turn off the firewall.
Firewall is turned off.
On reboot, firewall is back on.
Does not remember off setting on reboot.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#131 Post by tasmod »

New version 1.9 at users request.

=======

ttuuxxx & co.

Glad you like it, posted source for exactly that reason so people could modify to their needs, menu wise.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
bigpup
Posts: 13886
Joined: Sun 11 Oct 2009, 18:15
Location: S.C. USA

#132 Post by bigpup »

You never would think, a simple thing as, control of the firewall, would turn into a must have item.
This program has become a must have option.
Thanks for your willingness to make changes.
It just gets better and better!

gcmartin

Does FireWallState-1.9 have an log feature?

#133 Post by gcmartin »

I have recently found that this tool has an piece of VERY useful information. It contains private and public IP information on its right-click menu from the taskbar.

Does the tool provide a, hopefully time-stamped, log (or is there an option somewhere) of the Public IP addresses? I want to follow the IP changes that are made by my ISP during the course of the day. This could allow me to log and see internet up and down times when they occur.

Thanks in advance.

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#134 Post by tasmod »

Not really the remit for Firewallstate.

I would say a simple script would do the job for you though.

The IP is derived from the net and is saved in the tmp folder under the name ipis.txt. This is of course cleared each time the system is shut down.

Look in the /usr/local/firewallstate folder for ipwget script which shows the two net addresses that return your own external address to you.
It should be fairly straightforward to save this to a standard text file in other than the tmp folder.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

gcmartin

#135 Post by gcmartin »

Thanks Tasmod.

Can you tell me how often this Information Page is updated?. I'm not sure if I need to do something to have it (Public IP) be current? Found this out after monitoring the "Information" for a day.

Thank in advance for this answer

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#136 Post by tasmod »

Version 2.0 fixes Firewall ON/OFF in 5.2.8 and 5.2.9 as well as Slacko
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
MinHundHettePerro
Posts: 852
Joined: Thu 05 Feb 2009, 22:22
Location: SE

#137 Post 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
[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]

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#138 Post 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.
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#139 Post by tasmod »

Version 2.1 posted.

Information window now updates when called. (So external IP report is correct)
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

User avatar
tasmod
Posts: 1460
Joined: Thu 04 Dec 2008, 13:53
Location: North Lincolnshire. UK
Contact:

#140 Post 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:
Rob
-
The moment after you press "Post" is the moment you actually see the typso 8)

Post Reply