Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 26 Jul 2014, 01:06
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Firestarter-1.0.3 in "Quirky Linux 1.4" ! only script
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [2 Posts]  
Author Message
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Wed 02 Feb 2011, 13:31    Post subject:  Firestarter-1.0.3 in "Quirky Linux 1.4" ! only script
Subject description: Firewall with GUI, version: 1.0.3
 

Quote:

Install_Firestarter-1.0.3_v2--FW--sr0.sh
Code:

#!/bin/bash
#Source: http://www.linuxpackages.net/pkg_details.php?id=5567
#site to check firewall: http://www.grc.com/x/ne.dll?rh1dkyd2
#ShieldsUP! ---> http://www.grc.com/default.htm
#
if [ ! `ps -eocomm | grep dbus-daemon | head -1` ] ; then
xmessage "DBus must be installed. Installation will be terminated." ;
sleep 0.5s ;
if [ "" = "`ps x | grep \"Install_GUFW\" | grep \"bash\" | cut -f1 -d\" \"`" ] ; then
kill -9 `ps x | grep "Install_Firestarter" | grep "bash" | cut -f2 -d" "` ;
else kill -9 `ps x | grep "Install_Firestarter" | grep "bash" | cut -f1 -d" "` ;
fi ;
fi ;
#
#
cd /room ;
#
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/libgnomeui-2.24.1-1.fc11.i586.rpm ;
if [ ! `echo -e "3e67cd9fe07d59d8ca8d4b45c94fab09  libgnomeui-2.24.1-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libgnomeui-2.24.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libgnomeui-2.24.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#1
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/gnome-keyring-2.26.3-2.fc11.i586.rpm ;
if [ ! `echo -e "f449a2acdf5e3a2b617662dbbc58e501  gnome-keyring-2.26.3-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i gnome-keyring-2.26.3-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-keyring-2.26.3-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#2
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/libbonoboui-2.24.1-1.fc11.i586.rpm ;
if [ ! `echo -e "60beefd6c33a5dbd8050705ac0e50d9a  libbonoboui-2.24.1-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libbonoboui-2.24.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libbonoboui-2.24.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#3
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/libgnome-2.26.0-1.fc11.i586.rpm ;
if [ ! `echo -e "e9a4ca71d48df7aceb549cd09ab6ca22  libgnome-2.26.0-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libgnome-2.26.0-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libgnome-2.26.0-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#4
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/esound-libs-0.2.41-2.fc11.i586.rpm ;
if [ ! `echo -e "dddda4b7b0c0b321b90aa199b0755661  esound-libs-0.2.41-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i esound-libs-0.2.41-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/esound-libs-0.2.41-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#5
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/gnome-vfs2-2.24.1-2.fc11.i586.rpm ;
if [ ! `echo -e "3da79c31f45e9051037a95b92f727f15  gnome-vfs2-2.24.1-2.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i gnome-vfs2-2.24.1-2.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gnome-vfs2-2.24.1-2.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#6
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/GConf2-2.26.2-1.fc11.2.i586.rpm ;
if [ ! `echo -e "958e9ce3f3ca811b09795cf7385b0815  GConf2-2.26.2-1.fc11.2.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i GConf2-2.26.2-1.fc11.2.i586.rpm ;
sleep 0.5s ;
rm /room/GConf2-2.26.2-1.fc11.2.i586.rpm ;
rm /room/.md-5.sm ;
#7
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/libbonobo-2.24.1-1.fc11.i586.rpm ;
if [ ! `echo -e "ed7e00f7cb6d8b5b380e9126cba7fc40  libbonobo-2.24.1-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libbonobo-2.24.1-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libbonobo-2.24.1-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#8
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/ORBit2-2.14.17-1.fc11.i586.rpm ;
if [ ! `echo -e "4cbca83dd08c5ee353f01d3465af7100  ORBit2-2.14.17-1.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i ORBit2-2.14.17-1.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/ORBit2-2.14.17-1.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#9
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/openssl-0.9.8n-2.fc11.i686.rpm ;
if [ ! `echo -e "2e7dc70ccf871f43e8d37e602b24687b  openssl-0.9.8n-2.fc11.i686.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i openssl-0.9.8n-2.fc11.i686.rpm ;
sleep 0.5s ;
rm /room/openssl-0.9.8n-2.fc11.i686.rpm ;
rm /room/.md-5.sm ;
#10
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/avahi-glib-0.6.25-3.fc11.i586.rpm ;
if [ ! `echo -e "7640c681a3b49b2f6b1254ab66424b95  avahi-glib-0.6.25-3.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i avahi-glib-0.6.25-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/avahi-glib-0.6.25-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#11
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/krb5-libs-1.6.3-31.fc11.i586.rpm ;
if [ ! `echo -e "8f4bec783f5fa9a1ab31438a231cbd7e  krb5-libs-1.6.3-31.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i krb5-libs-1.6.3-31.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/krb5-libs-1.6.3-31.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#12
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/keyutils-libs-1.2-5.fc11.i586.rpm ;
if [ ! `echo -e "247a0ac4b1c56f542f3496d2eec16349  keyutils-libs-1.2-5.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i keyutils-libs-1.2-5.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/keyutils-libs-1.2-5.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#13
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/libattr-2.4.43-3.fc11.i586.rpm ;
if [ ! `echo -e "1a34e2102497641da885fb5eeb0a48ba  libattr-2.4.43-3.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libattr-2.4.43-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libattr-2.4.43-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#14
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/libacl-2.2.49-3.fc11.i586.rpm ;
if [ ! `echo -e "a6d4cf402f34c21faa98b68823359053  libacl-2.2.49-3.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i libacl-2.2.49-3.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/libacl-2.2.49-3.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#15
curl -C - -O file:///mnt/sr0/Firestarter/Fedora-11_files/gamin-0.1.10-4.fc11.i586.rpm ;
if [ ! `echo -e "c323bffd510fa26692e051be15de7c14  gamin-0.1.10-4.fc11.i586.rpm" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rpm -i gamin-0.1.10-4.fc11.i586.rpm ;
sleep 0.5s ;
rm /room/gamin-0.1.10-4.fc11.i586.rpm ;
rm /room/.md-5.sm ;
#16
curl -C - -O file:///mnt/sr0/Firestarter/Slackware-10.1_files/firestarter-1.0.3-i486-1pcx.tgz ;
if [ ! `echo -e "f9da6faba558d23e56a52ddafb6e41a5  firestarter-1.0.3-i486-1pcx.tgz" | md5sum -c - >/room/.md-5.sm ; sleep 0.5s ; grep -o 'OK' /room/.md-5.sm` ] ; then xmessage -file /room/.md-5.sm ; else yaf-splash -bg purple -fg green -text "`cat /room/.md-5.sm`" ; fi ;
rox /room/firestarter-1.0.3-i486-1pcx.tgz ; xmessage "-=firestarter-1.0.3-i486-1pcx.tgz=- has been installed. `xmessage "Wait please. There will be 3 pop-ups."`" ;
sleep 0.5s ;
rm /room/firestarter-1.0.3-i486-1pcx.tgz ;
rm /room/.md-5.sm ;
#17
#
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#sh /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-1--DBus_Avahi_Hal.sh ;
#fi
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#sh /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-2--DBus_Avahi_Hal.sh ;
#fi
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#sh /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-3--DBus_Avahi_Hal.sh ;
#fi
#if [ -n /usr/local/bin/Install--5_PART-4--DBus_Avahi_Hal.sh ] ; then
#cp /mnt/sdb1/-/0_Files_and_scripts/scripts/0_K3b/Install--5_PART-4--DBus_Avahi_Hal.sh /usr/local/bin/ ;
#fi
#if [ ! `ps -eocomm | grep dbus-daemon` ] ; then
#cd /usr/local/bin/ ;
#sh Install--5_PART-4--DBus_Avahi_Hal.sh ;
#fi
#
gconftool-2 --install-schema-file /etc/gconf/schemas/firestarter.schemas ;
sleep 1s ;
firestarter --generate-scripts ;
#
cat /etc/firestarter/configuration | \
sed -e '5,5d' > /etc/firestarter/configuration ;
sleep 1s ;
cat /etc/firestarter/configuration | \
sed -e '10,10d' > /etc/firestarter/configuration ;
sleep 1s ;
cat /etc/firestarter/configuration | \
sed -e 's/# Name of external network interface/# Name of external network interface \
IF="eth0"/' > /etc/firestarter/configuration ;
sleep 1s ;
cat /etc/firestarter/configuration | \
sed -e 's/# Name of internal network interface/# Name of internal network interface \
INIF="eth0"/' > /etc/firestarter/configuration ;
sleep 1s ;
#
sed -i".tmp" '/"Fires"/d' /root/Choices/ROX-Filer/PuppyPin ;
#
echo '[Desktop Entry]' > /usr/share/applications/Fires.desktop ;
echo 'Encoding=UTF-8' >> /usr/share/applications/Fires.desktop ;
echo 'Name=Firestarter' >> /usr/share/applications/Fires.desktop ;
echo 'Comment=Firewall' >> /usr/share/applications/Fires.desktop ;
echo "Exec=bash -c 'G_SLICE=always-malloc \`Xdialog --title \"Firewall\" --no-tags --radiolist \"\" 15 35 10 \"firestarter\" \"-=Start with GUI=-\" off \"firestarter --start-hidden\" \"-=Start with not visible GUI=-\" off \"firestarter --start\" \"-=Start without GUI=-\" off \"firestarter --lock\" \"-=Lock firewall=-\" on 2>&1\` 2>/dev/null | xmessage -file -'" >> /usr/share/applications/Fires.desktop ;
echo 'Terminal=false' >> /usr/share/applications/Fires.desktop ;
echo 'Type=Application' >> /usr/share/applications/Fires.desktop ;
echo 'Categories=Network' >> /usr/share/applications/Fires.desktop ;
echo 'GenericName=firestarter' >> /usr/share/applications/Fires.desktop ;
echo 'Icon=/usr/share/pixmaps/firestarter.png' >> /usr/share/applications/Fires.desktop ;
#
sed -i".tmp" '/\/pinboard/d' /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
#echo '<icon x="288" y="320" label="Fires">/usr/share/applications/Fires.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '<icon x="288" y="284" label="Fires">/usr/share/applications/Fires.desktop</icon>' >> /root/Choices/ROX-Filer/PuppyPin ;
echo '</pinboard>' >> /root/Choices/ROX-Filer/PuppyPin ;
sleep 1s ;
#
# # #rm /usr/local/bin/Install--5_PART-4--DBus_Avahi_Hal.sh ;
#
rox -p=/root/Choices/ROX-Filer/PuppyPin ;
fixmenus ;
xmessage '-=Firestarter-1.0.3=- firewall has been installed.' `jwm -restart`


Edit: 2011, nov 19.


Permissions for -=Install_Firestarter-1.0.3_v2--FW--sr0.sh=- were changed as shown:
Code:

cd /place_where_Install_Firestarter-1.0.3_v2--FW--sr0.sh_is_located ; chmod u+x Install_Firestarter-1.0.3_v2--FW--sr0.sh


P.S. Thanks and спасибо to those who worked over the problems of firewall launching Smile .

Quote:
Exclamation The "Dbus, Avahi, Hal" topic is over here:

Code:
http://www.murga-linux.com/puppy/viewtopic.php?p=584359#584359




A script's content can be copied into text editor by means of <Quote> mode.

_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.


Last edited by postfs1 on Sun 04 Dec 2011, 19:01; edited 6 times in total
Back to top
View user's profile Send private message 
postfs1


Joined: 27 Mar 2010
Posts: 831

PostPosted: Wed 17 Aug 2011, 18:01    Post subject: Firestarter-1.0.3 in "Quirky Linux 1.4" ! only script
Subject description: Firewall with GUI, version: 1.0.3 -- second variant of the installation.
 

That's the update. Laughing
_________________
  • I don't know why laboratories are named a hospitals.
  • The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [2 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Security/Privacy
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0876s ][ Queries: 12 (0.0078s) ][ GZIP on ]