All of lore.kernel.org
 help / color / mirror / Atom feed
From: Venkatesh Prasad Ranganath <vranganath@cox.net>
To: netfilter-devel@lists.netfilter.org
Subject: question about ipt_table_info structure
Date: Sat, 14 Dec 2002 03:01:57 -0600	[thread overview]
Message-ID: <3DFAF385.6040707@cox.net> (raw)



Hi,

I am using netfilter/iptables (1.2.7a) in a project (which may end up 
contributing to netfilter/iptable branch if it succeeds).  Hence, I was 
browsing the kernel space netfilter/iptables code.  I am able to follow 
the code except for a few glitches.

1> What is the purpose of underflow field in ipt_replace?  Where is it used?
2> What is the purpose of term field in struct initial_table in 
iptables_filter.c?  Where is it used?
3> What is the purpose of ipt_replace structure?  Where is it used?
4> What is the purpose of table field in ipt_table?  It is not used at 
any time during filtering.  (or am I wrong about this?)  If it is used, 
where is it used?
5> Is it correct to say that ACCEPT, DROP, QUEUE, and RETURN are the 
builtin targets?

Also, can someone comment if my understanding of part of 
netfilter/iptable as given below is correct.
"Each rule that can be added via iptables command is represented via a 
set of data rather than a single piece of data.  Each criterion to be 
satisfied for the entire rule to be satisfied is represented as a match. 
 If all of the match/criterion are satisfied then target (linked at the 
end of the sequence of matches) associated with the rule is executed. 
 Hence, there is only one target with a rule, but may be multiple matches."

Finally, are there any documents that discuss the performance of and 
issues related (if any) to netfilter/iptables?  In particular, I am 
looking for documents which may have identified bottlenecks or have 
pointers to locations in which to look for such opportunities. Benchmark 
results and/or test run results would also be helpful.  I am just piggy 
backing this last question along with the others and I would understand 
if someone replied "google would be a good place to start" ;-)

waiting for reply,

-- 

Venkatesh Prasad Ranganath,
Dept. Computing and Information Science,
Kansas State University, US.
web: http://www.cis.ksu.edu/~rvprasad

             reply	other threads:[~2002-12-14  9:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-14  9:01 Venkatesh Prasad Ranganath [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-12-12 10:23 question about ipt_table_info structure Venkatesh Prasad Ranganath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3DFAF385.6040707@cox.net \
    --to=vranganath@cox.net \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.