FireLog v1.2.3 -- updated (Aug 20th)
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
FireLog v1.2.3 -- updated (Aug 20th)
Updated : FireLog v1.2.3 released 4/19/2007
Download FireLog
Introducing the first iptables / firewall / netstat frontend for Puppy Linux !
This is my FIRST SCRIPT , so go easy on me
Run firelog by typing firelog at the command line.
Firelog official homepage
Many updates have been made since v1.2.1 !
Download FireLog
FireLog v1.2 Features
Easy access to :
- Start or stop rc.firewall
- View static or real time filewall statistics
- View firewall settings
- Save firewall settings
- Add firewall rules
- Delete firewall settings
- Restore firewall settings
- Change iptables chain policies
- View netstat info
- start / stop ethernet connection
- reset the DHCP daemon
- ping / traceroute
- logs important actions
Installation :
1. Download FireLog
2. Move firelog to /sbin/ or something like that
3. Make sure it is executable with "chmod +x"
Now type "firelog" at the console and the interface you see pictured above should load.
edit : please report all problems here
Download FireLog
Introducing the first iptables / firewall / netstat frontend for Puppy Linux !
This is my FIRST SCRIPT , so go easy on me
Run firelog by typing firelog at the command line.
Firelog official homepage
Many updates have been made since v1.2.1 !
Download FireLog
FireLog v1.2 Features
Easy access to :
- Start or stop rc.firewall
- View static or real time filewall statistics
- View firewall settings
- Save firewall settings
- Add firewall rules
- Delete firewall settings
- Restore firewall settings
- Change iptables chain policies
- View netstat info
- start / stop ethernet connection
- reset the DHCP daemon
- ping / traceroute
- logs important actions
Installation :
1. Download FireLog
2. Move firelog to /sbin/ or something like that
3. Make sure it is executable with "chmod +x"
Now type "firelog" at the console and the interface you see pictured above should load.
edit : please report all problems here
Last edited by NoobieDoobieDo on Sun 16 Sep 2007, 20:22, edited 9 times in total.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
A lot of people will be very happy with this. I do nothing more than use the firewall wizard and I think my router has a firewall too.
What added facilities does this offer? What sort of situation is this a good idea for? I am asking because I know very little about firewalls. When I was still using Windows, the percentage of time (I estimate 30%) was spent on running security progs. The ones I remember are AVG, Spybot etc but there were many more . . .
What added facilities does this offer? What sort of situation is this a good idea for? I am asking because I know very little about firewalls. When I was still using Windows, the percentage of time (I estimate 30%) was spent on running security progs. The ones I remember are AVG, Spybot etc but there were many more . . .
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
Note : The HTML live firewall statistics render better in Opera than in Firefox. This is because firefox ignores the spaces in the text file even when using the <pre> tag
FireLog is good for anyone using the Puppy Linux firewall or anyone who wants to use the Puppy Linux firewall.
It provides the following :
- Easy way to make sure your firewall is up (options : j, k & L)
- Easy way to start / stop the firewall (options : a, b)
- Easy way to view firewall statistics in realtime (options : k & L)
- Easy way to save the firewall settings (options: f,g)
- Easy way to restore the firewall settings (option: i)
- Easy way to view active network connections (options: m, n and the browser based live stats)
- Easy way to add/delete firewall rules & change policies (option : e)
Like a lot of linux programs anything FireLog does can be done by you via the command line - this just makes it easier and prettier
FireLog is good for anyone using the Puppy Linux firewall or anyone who wants to use the Puppy Linux firewall.
It provides the following :
- Easy way to make sure your firewall is up (options : j, k & L)
- Easy way to start / stop the firewall (options : a, b)
- Easy way to view firewall statistics in realtime (options : k & L)
- Easy way to save the firewall settings (options: f,g)
- Easy way to restore the firewall settings (option: i)
- Easy way to view active network connections (options: m, n and the browser based live stats)
- Easy way to add/delete firewall rules & change policies (option : e)
Like a lot of linux programs anything FireLog does can be done by you via the command line - this just makes it easier and prettier
FireLog
I think this will be a great addition to the puppy family but I am a real newbie on firewall admin (and most things Linux).
I installed FireLog on Puppy 109CE and Puppy 212. FireLog on Puppy 109CE seemed to install and Pupget indicates that it is installed but I see only a flash of a black window and nothing more when I attempt to run it. However, FireLog seems to run great on the 212 install.
The ShieldsUp site indicates that my 212 is responding to pings .... how do I turn this function off?
Thanks,
KJ
I installed FireLog on Puppy 109CE and Puppy 212. FireLog on Puppy 109CE seemed to install and Pupget indicates that it is installed but I see only a flash of a black window and nothing more when I attempt to run it. However, FireLog seems to run great on the 212 install.
The ShieldsUp site indicates that my 212 is responding to pings .... how do I turn this function off?
Thanks,
KJ
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
Connection sharing
Can it do Internet connection sharing? (using 2 LAN cards, that is)
Puppy user since Oct 2004. Want FreeOffice? [url=http://puppylinux.info/topic/freeoffice-2012-sfs]Get the sfs (English only)[/url].
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
Tried that, firefox still breaks it. There is a section in firelog.sed that can be uncommented which will add underscores instead of spaces to produce proper spacing on "broken" browsers.BarryK wrote:Can you substitute hard-spaces? HTML code: NoobieDoobieDo wrote:Note : The HTML live firewall statistics render better in Opera than in Firefox. This is because firefox ignores the spaces in the text file even when using the <pre> tag
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
Re: Connection sharing
Currently there aren't any ICS features built in, sorry.raffy wrote:Can it do Internet connection sharing? (using 2 LAN cards, that is)
FireLog
NoobieDoobieDo
When I fired up Puppy 109CE this evening and tried FireLog from the dotpup icon I saw the black screen flash again. When I ROX to /usr/local/firelog and type "sh firelog" in the xterm window, fireLog starts logging in my browser window but I do not get the script window with your other options. I am not a console person .... perhaps I am not useing the proper commands. I see no errors listed just the following in my xterm window.
# sh firelog
=============================================
| Trying to load default browser with file |
| /usr/local/firelog/firelog.html |
=============================================
| Starting statistics gathering loop |
=============================================
| Press CTRL + C to exit. |
=============================================
Happy New Year,
KJ
When I fired up Puppy 109CE this evening and tried FireLog from the dotpup icon I saw the black screen flash again. When I ROX to /usr/local/firelog and type "sh firelog" in the xterm window, fireLog starts logging in my browser window but I do not get the script window with your other options. I am not a console person .... perhaps I am not useing the proper commands. I see no errors listed just the following in my xterm window.
# sh firelog
=============================================
| Trying to load default browser with file |
| /usr/local/firelog/firelog.html |
=============================================
| Starting statistics gathering loop |
=============================================
| Press CTRL + C to exit. |
=============================================
Happy New Year,
KJ
Internet Connection Sharing
I got excited when I saw this because internet connection sharing with a firewall feature built in would be a godsend, its a major feature that puppy is lacking (the built in firewall wizard seems to have a bug) that would put a lot of older pcs to use as useable firewall computers that would give many windoze users their first taste of Linux. Its been requested time and time again and would be very simple to implement by someone with just a minimal amount of networking knowledge.
Please Please Please Lobster, make it do this too in the next version!!!!
Heres something that may help
http://www.murga-linux.com/puppy/viewto ... 7&start=15
Please Please Please Lobster, make it do this too in the next version!!!!
Heres something that may help
http://www.murga-linux.com/puppy/viewto ... 7&start=15
Puppy Linux's [url=http://www.murga-linux.com/puppy/viewtopic.php?p=296352#296352]Mission[/url]
Sorry, my server is down atm!
Sorry, my server is down atm!
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
Re: FireLog
Hi,KJ wrote:NoobieDoobieDo
When I fired up Puppy 109CE this evening and tried FireLog from the dotpup icon I saw the black screen flash again. When I ROX to /usr/local/firelog and type "sh firelog" in the xterm window, fireLog starts logging in my browser window but I do not get the script window with your other options. I am not a console person .... perhaps I am not useing the proper commands. I see no errors listed just the following in my xterm window.
# sh firelog
=============================================
| Trying to load default browser with file |
| /usr/local/firelog/firelog.html |
=============================================
| Starting statistics gathering loop |
=============================================
| Press CTRL + C to exit. |
=============================================
Happy New Year,
KJ
Sorry to get back to you so late.
Try this at the prompt :
sh firelog.sh
Thanks
FireLog
NoobieDoobieDo
This is what I get in the xterm window opened n the FireLog folder
# sh firelog.sh
firelog.sh: 65: function: not found
firelog.sh: 95: Syntax error: "}" unexpected
#
When I use 'xrun commandline' with directory set as '/usr/local/firelog' and 'command' as 'sh firelog.sh' I see no output to the screen
I tried a fresh installed dotpup on a clean Puppy 109CE booted direct from the CD (no Pup001) and got the same behaviors as listed above.
109CE came with Firefox 1.5.0.3 as default browser ....
May 2007 be kind to you and yours
KJ
This is what I get in the xterm window opened n the FireLog folder
# sh firelog.sh
firelog.sh: 65: function: not found
firelog.sh: 95: Syntax error: "}" unexpected
#
When I use 'xrun commandline' with directory set as '/usr/local/firelog' and 'command' as 'sh firelog.sh' I see no output to the screen
I tried a fresh installed dotpup on a clean Puppy 109CE booted direct from the CD (no Pup001) and got the same behaviors as listed above.
109CE came with Firefox 1.5.0.3 as default browser ....
May 2007 be kind to you and yours
KJ
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
Re: FireLog
Hi...KJ wrote:NoobieDoobieDo
This is what I get in the xterm window opened n the FireLog folder
# sh firelog.sh
firelog.sh: 65: function: not found
firelog.sh: 95: Syntax error: "}" unexpected
#
When I use 'xrun commandline' with directory set as '/usr/local/firelog' and 'command' as 'sh firelog.sh' I see no output to the screen
I tried a fresh installed dotpup on a clean Puppy 109CE booted direct from the CD (no Pup001) and got the same behaviors as listed above.
109CE came with Firefox 1.5.0.3 as default browser ....
May 2007 be kind to you and yours
KJ
I don't know enough about bash/linux scripting to understand the problem.
Line 65 is the begining of a function in the program. Each function in the program looks like this :
function thing_name {
code stuff
}
So I'm unsure as to why older versions of puppy are not able to understand the "function" operator.
Also .. line 95 is merely the end of the function - nothing special there ....
Sorry i can't be of more help . Maybe someone who understands puppy and bash scripting better can find an easy work around for this. Later on I`ll try to DL your version of puppy linux and play with it to see if I can get it to work..
Best wishes
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
'function' is a bash-specific thing. Older puppies use Busybox Ash which does not understand 'function'.
The solution is simple -- remove 'function', do it this way:
...works in both.
The solution is simple -- remove 'function', do it this way:
Code: Select all
thing_name() {
}
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Re: Internet Connection Sharing
Well I hope it finds its way in. That is up to NoobieDoobieDo (firewall code creator) and Barry (main developer and creator of Puppy). I would also hope those with an interest in security, test and commentPlease Please Please Lobster, make it do this too in the next version!!!!
What is interesting is how many Puppy progs are first time efforts. MUT and JWM configurator come to mind.
Amish is working on a Puppy Basic tutorial and
the Rute guide is one of the best ways to learn scripting
http://rute.2038bug.com/index.html.gz
Firelog updated
Firelog still doesn't run on Puppy 109CE. I tried it on a clean CD load without a pup001 and Got the following screen that slowly flashes and will not allow use of options except (e) exit. Didn't try it on a Puppy 2.x yet .... will do later.
\e[32m============================================\e[0m
\e[31m| FireLog |v1.1|\e[0m
\e[32m============================================\e[0m
\e[33mRC.FIREWALL\e[0m
=========================================
| (a) --- Start rc.firewall |
| (b) --- Stop rc.firewall |
=========================================
\e[33mIP TABLES\e[0m
=========================================
| (c) --- Add rule |
| (d) --- Delete rule |
| (e) --- Change chain policy |
| |
| (f) --- Save iptables settings |
| (g) --- Backup iptable settings |
| (h) --- Flush iptables settings |
| (i) --- Restore iptables settings |
| |
| (j) --- Show settings |
| (k) --- Show statistics |
| (l) --- Show live statistics |
=========================================
\e[33mOther\e[0m
=========================================
| (m) --- Netstat (servers + etc) |
| (n) --- Netstat (only servers) |
| (o) --- Netstat (tcp only) |
| (p) --- Netstat (udp only) |
| (q) --- Netstat (both) |
=========================================
e(x)it [F1] Help
\e[32m#\e[0mread: 815: Illegal option -n
KJ
\e[32m============================================\e[0m
\e[31m| FireLog |v1.1|\e[0m
\e[32m============================================\e[0m
\e[33mRC.FIREWALL\e[0m
=========================================
| (a) --- Start rc.firewall |
| (b) --- Stop rc.firewall |
=========================================
\e[33mIP TABLES\e[0m
=========================================
| (c) --- Add rule |
| (d) --- Delete rule |
| (e) --- Change chain policy |
| |
| (f) --- Save iptables settings |
| (g) --- Backup iptable settings |
| (h) --- Flush iptables settings |
| (i) --- Restore iptables settings |
| |
| (j) --- Show settings |
| (k) --- Show statistics |
| (l) --- Show live statistics |
=========================================
\e[33mOther\e[0m
=========================================
| (m) --- Netstat (servers + etc) |
| (n) --- Netstat (only servers) |
| (o) --- Netstat (tcp only) |
| (p) --- Netstat (udp only) |
| (q) --- Netstat (both) |
=========================================
e(x)it [F1] Help
\e[32m#\e[0mread: 815: Illegal option -n
KJ
- NoobieDoobieDo
- Posts: 60
- Joined: Mon 14 Nov 2005, 19:47
Thanks for the update .. it appears the older puppy version doesn't support colors at the prompt and doesn't support reading only 1 char of input.
I'll retool it and upload a patched version later tonight
edit : I'll probably have 2 versions available for download
1 for new puppy releases (the current version)
1 for old puppy releases (the retooled version)
I'll retool it and upload a patched version later tonight
edit : I'll probably have 2 versions available for download
1 for new puppy releases (the current version)
1 for old puppy releases (the retooled version)