Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Security and Privacy
FedoraForum Search

Forgot Password? Join Us!

Security and Privacy Sadly, malware, spyware, hackers and privacy threats abound in today's world. Let's be paranoid and secure our penguins, and slam the doors on privacy exploits.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th December 2006, 05:36 AM
SatelliteX Offline
Registered User
 
Join Date: Jun 2005
Posts: 47
iptables question

Something that confuses me about FC4 firewall. Rule number 1 is an accept all rule!
Why is it there. Since this rule should yield a match for every incoming packet, won't this mean the firewall is off?

Here is what my iptables looks like:

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 icmp type 255
DROP all -- 58.0.0.0/7 0.0.0.0/0
DROP all -- 210.0.0.0/7 0.0.0.0/0
DROP all -- 125.0.0.0/8 0.0.0.0/0
DROP all -- 222.0.0.0/8 0.0.0.0/0
DROP all -- 219.0.0.0/8 0.0.0.0/0
DROP all -- 220.0.0.0/7 0.0.0.0/0
DROP all -- 60.0.0.0/7 0.0.0.0/0
ACCEPT esp -- 0.0.0.0/0 0.0.0.0/0
ACCEPT ah -- 0.0.0.0/0 0.0.0.0/0
ACCEPT udp -- 0.0.0.0/0 224.0.0.251 udp dpt:5353
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:631
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22
ACCEPT 47 -- 0.0.0.0/0 0.0.0.0/0
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:1723
Reply With Quote
  #2  
Old 21st December 2006, 12:06 AM
stoggy Offline
Registered User
 
Join Date: Dec 2006
Location: Dallas, TX
Posts: 123
yes it would but no its not ... hehe ... all the info doesnt get displayed when you do iptables -L so the part that is important is getting left off

if you:
cat /etc/sysconfig/iptables
The first rule in the RH-Firewall-1-INPUT chain is:
-A RH-Firewall-1-INPUT -i lo -j ACCEPT

so you see it is accepting everything but only on the lo device. This is the loopback device it allows your computer to talk to your computer. This way if your local computer needs to access a network service that it provides it wont have to go out to the network and come right back to get what it needed. You need to allow this or your machine will run incredibly slow and denying it would actually make you less secure.
Reply With Quote
Reply

Tags
iptables, question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
iptables question Keldorn Servers & Networking 2 14th July 2009 05:39 PM
IPTABLES question SatelliteX Servers & Networking 2 18th December 2006 07:57 PM


Current GMT-time: 01:51 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat