LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-18-2008, 04:06 AM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Guarddog. Do I have to install it?


Hello again!

I've read some articles recommending to install Guarddog (firewall). Would you recommend installing it? Will my computer be safer? This would be for my home desktop computer.

If your answer is yes, please let me know how to install this firewall so I can still be able to use a bittorrent client, etc. without trouble.


By the way, Do you use an antivirus soft under Slackware? Does it make any sense?

Thank you!
Glore2002.-
 
Old 06-18-2008, 09:53 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
I'm using Eric's adaptation of the Easy Firewall Generator:

http://www.slackware.com/~alien/efg

Opinions seem to be divided about antivirus for Linux, I'm not using any on Slackware - only on my XP.
 
Old 06-18-2008, 12:01 PM   #3
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
I will second Alien Bob's mod of the Easy Firewall Generator for Slackware. It has worked problem-free for me so far.

As for antivirus software, it's not really necessary yet. If you wanted to find a virus for Linux, you'd have to look pretty hard. They do exist, but not many of them, and most are not that serious. Your chances of encountering one by accident are basically zero right now (though that may change in the future, I suppose). The only reason to use antivirus software under Linux would be to prevent spreading the virus to other Windows PCs. It's a valid concern if you run a network with other Windows PCs -- but even then your chances are slim unless you start installing stupid stuff using WINE (or if you have a samba share that Windows PCs access frequently, for example). At the moment, I have no plans on installing antivirus software myself.

What you should worry about are rootkits -- they are a real (though still comparatively rare) threat under Linux. I would recommend installing both rkhunter and chkrootkit to check for rootkits (SlackBuilds are available at slackbuilds.org). You could get away with installing only one, but since they really both catch different rootkits it would be better to install and use both. Just periodically scan your PC every once in a while and you should be good.
 
Old 06-18-2008, 12:45 PM   #4
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Easy Firewall Generator, Guarddog and Rootkits.

Thanks for your valuable advices. I should go then for Easy Firewall Generator. What should I do to install it and making sure it won't bother while using a bittorrent client, browsing, etc?

T3Slider: Thanks to make me learn a new term -> Rootkits. I didn't even know they existed. I will download those scripts and run them periodically.

I don't have to worry about virus. That's really good! Good bye win virus paranoia!!!


Thank you!
 
Old 06-18-2008, 01:07 PM   #5
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
It's a script, the instructions are included in the opening comments. Save it as rc.firewall to your home directory, then do, as root:
Code:
cp rc.firewall /etc/rc.d/rc.firewall
chmod +x /etc/rc.d/rc.firewall
 
Old 06-18-2008, 05:28 PM   #6
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Let's see how this follows.

I still have some doubts:

#1 After choosing the options, I have to download the Easy Firewall script. What options should I choose? (I use a Static IP)

I would enter my IP address and select the last option (IRC) because I, sometimes, use IRC to enter to Slackware room but I am not sure what I am doing by enabling each of this options (even after reading help)

Code:
Allow Inbound Services

Log entries in a Fireparse format?

Do you use Internet Relay Chat (IRC)?

#2 Once I've downloaded the script (rc.firewall), I copy the file and give it execute permissions as brianL said)

Code:
cp rc.firewall /etc/rc.d/rc.firewall
chmod +x /etc/rc.d/rc.firewall
#3 Will this script start everytime I start my computer? If not, How can that be done? How can I stop this firewall if needed?

Thanks again friends!
Glore2002.-
 
Old 06-18-2008, 06:06 PM   #7
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
You can compile the latest guarddog from source and install it. It will be easier than EFG. Moreover, you can do plenty of advanced things with that.


#3
yes obviously

Best

A. Mani
 
Old 06-18-2008, 06:21 PM   #8
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
I have a rather low skill level with slack and haven't learned to use iptables yet so I use Guarddog also. I was unable to make the slackbuild work so I just downloaded the source and made a package with src2pkg and it worked out perfect.
Making an installable and "removable" package made more since for my purposes as I do intend to learn iptables eventually.
 
Old 06-18-2008, 06:28 PM   #9
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Quote:
Originally Posted by glore2002
#3 Will this script start everytime I start my computer? If not, How can that be done? How can I stop this firewall if needed?
Yes, it will start every time you start your computer. It is started from /etc/rc.d/rc.inet2 upon bootup, which is started from /etc/rc.d/rc.M. FYI.

If you want to manually start it you can issue
Code:
/etc/rc.d/rc.firewall start
Likewise, to manually stop it, you can issue
Code:
/etc/rc.d/rc.firewall stop
 
Old 06-18-2008, 06:32 PM   #10
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,299
Blog Entries: 61

Rep: Reputation: Disabled
Yeah, maybe Guarddog would be your best option. EFG was the first thing I came across when I was looking at firewall options, and using the default settings suited me.
 
Old 06-18-2008, 07:21 PM   #11
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
How do I configure Guarddog?

I've just download and compile from source Guarddog. I am reading its help document trying to learn how to configure it.
Thanks!

Last edited by glore2002; 06-18-2008 at 08:54 PM.
 
Old 06-18-2008, 07:36 PM   #12
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
If you are using a router then that will/should take care of your firewall needs.

I've been using slackware for some years now and have never found the need to run a firewall or antivirus but ymmv.

Now I have a home network and the router closes off every port to the outside world except the ones I want specifically open - i.e. for my UT server etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Guarddog Install Problem On Slackware 12.1 jonycat Slackware 8 06-08-2008 12:31 PM
Help with Guarddog flashstar Linux - Security 10 08-12-2006 01:06 AM
Guarddog install error satshen Linux - Newbie 2 11-14-2005 07:29 AM
How to Install GuardDog? unixfreak Linux - Security 22 08-26-2004 02:56 PM
Guarddog Help! wonderpun Linux - General 4 08-21-2002 02:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration