LinuxQuestions.org
Review your favorite Linux distribution.
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 07-09-2005, 05:11 PM   #1
skitzo2005
LQ Newbie
 
Registered: Feb 2005
Posts: 8

Rep: Reputation: 0
slackware 10 firewall


yeha hi guys ive installed shorewall 2.40 firewall on my slack box thinking my linux box needed a good firewal ive configured it for a dial up firewall and all that, anyway i go to test her at shields up sight and she comes up fail for common and allservice ports says failed on port 113
so i tried the test with out my firewall (shorewall stop) did the same scan on the sight and she came up with pass for true stealth on the common ports and all service ports now can anyone explain to me is there a built in firewall in slack 10 or ? what and should i just leave shorewall stopped and use normal slack as is
 
Old 07-09-2005, 05:14 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
shorewall must be rejecting the connection to those ports.
When you shut it down, as you don't have those services running (there's nothing on those ports) the connection will just timeout or dropped or however you want to call that.
 
Old 07-09-2005, 08:53 PM   #3
tmantist
Member
 
Registered: Jun 2005
Location: Florida, USA
Distribution: ~~~Slackware~~~
Posts: 86

Rep: Reputation: 15
The iptables command and the Linux kernel combined is of the best firewalls in existence.

I could not understand what you asking. Write a little bit clearer you have run-ons spanning 6 lines-it's pretty hard to read. You don't have to right in perfect sentences. Just make it eye friendly and not in one block. I'm not being offensive.

For possibility 1 of what I think your saying:

I infer that you cannot connect to ports on your slackware box. Then you need to tell the daemons that you want to use what port(s) to listen on, and setup proper authentication with those daemons. Tell your firewall to allow access from the SAME-HOST, the machine your protecting with the firewall.

For possibility 2 of what I think your saying:

You still can connect to ports on your slackware machine even though you think firewalled everything. You can comment out everything in /etc/inetd.conf and /etc/services. Your xserver may be listening on port 6000, tell it to stop that. Then if you 'nmap -v -sS -sU localhost -p 1-65535' you'll see that all ports on your machine are closed.

Also you may configure your /etc/hosts.deny and /etc/host.allow files to deny all connections by default, then nothing can connect to certain daemons on your box.

But if you want some real fire power, use iptables.

Did I get what you were saying?
 
  


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
does slackware need a firewall lellyville Linux - Networking 9 03-17-2005 08:46 PM
Firewall in Slackware 10.0 nickbird Linux - Newbie 2 07-29-2004 04:52 PM
Firewall in Slackware 10.0 nickbird Linux - Newbie 3 07-29-2004 04:51 PM
The best firewall for Slackware? Smaugur [SWE] Linux - Security 5 03-31-2004 05:25 AM
Firewall on Slackware ? jamaso Linux - General 11 01-30-2002 11:41 PM

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

All times are GMT -5. The time now is 12:17 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