LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-02-2003, 12:25 PM   #16
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 420Reputation: 420Reputation: 420Reputation: 420Reputation: 420

Just a bit of nitpicking.........

Quote:
The iptables -A switch will APPEND or put at the end of a chain, whereas iptables -I will INSERT at the beginning of the chain. Packets are probably being dropped before a pass rule is examined.
You're right about -A, but -I takes a numerical argument that places the rule at a specific point in the chain. So -I 1 would put the rule at the start of the chain, but -I 5 would place it at the fifth line. However, the broader point that you bring up, namely that the rules within a table are executed in order and a packet is dealt with according to the first rule it matches, is correct.

Quote:
If your pass rules are at the end of a chain, it won't work...
This may, or may not, be true. If the pass rules are at the end of a chain they will work, so long as there is no rule before the pass rule that would do something else with the packet.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
iptables kazaa port forward Lsi Linux - Security 3 05-14-2004 10:44 PM
opening a port in iptables mehesque Linux - Networking 1 01-22-2004 05:30 AM
problem with port 113 (opening) and iptables ratty007 Linux - Networking 4 01-14-2004 03:47 PM
Blocking Kazaa with iptables lorddecker Linux - Security 1 08-21-2003 03:30 PM
Blocking Kazaa with Iptables, Anyone? markng Linux - Security 6 06-27-2003 06:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:26 PM.

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