FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-22-2012, 03:13 PM
oxy
 
Default understanding iptables rule matching

Hi,

when i have a set of rules for ipfw, it reads the rules in
numeric order (they are numbered) and after the first
match it stops reading and executes that rule.

It means the "drop all" rule must be the last.
In iptables you can put it first and the rules will be read till
the end. If later an ACCEPT-rule is found for a packet,
how does iptables decide which rule will be dominant?

I sincerely miss a numbering system on iptables.
It would make it much faster to correlate rules from
"iptables -L" with the ones written in the config file :-/

thx ...

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:58 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org