Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Sky <xmaillist@skynet.be>
To: Bhasker Allam <allambhasker@yahoo.com>
Cc: netfilter@lists.netfilter.org
Subject: Re: input filter
Date: Wed, 05 Jan 2005 16:06:55 -0100	[thread overview]
Message-ID: <41DC1EAF.1000701@skynet.be> (raw)
In-Reply-To: <20050104223520.2120.qmail@web53904.mail.yahoo.com>

Bhasker Allam wrote:
> Hi,
> I am a newbie and I was reading the howto for packet
> filter. The howto has the following picture:
> 
> Incoming                 /     \         Outgoing
>        -->[Routing ]--->|FORWARD|------->
>           [Decision]     \_____/        ^
>                |                        |
>                v                       ____
>               ___                     /    \
>              /   \                   |OUTPUT|
>             |INPUT|                   \____/
>              \___/                      ^
>                |                        |
>                 ----> Local Process ----
> 
> The input filtering is done only for local bound
> packets and after the routing decision. Is the above
> true ? 

   Yes, done for only for packets which are not forward (so
   packets which are for you).
	

>Is there a facility to perform input filtering
> before the routing decision ? Thanks.
> 
> Bhasker.

  Of course, see NAT, mangling, masquerading.
  (http://iptables-tutorial.frozentux.net/ is good.)


  parent reply	other threads:[~2005-01-05 17:06 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-04 22:35 input filter Bhasker Allam
2005-01-05 15:48 ` Jason Opperisano
2005-01-05 17:06 ` Sky [this message]
2005-01-05 17:17 ` Georgi Alexandrov
2005-01-05 22:30   ` Bhasker Allam
2005-01-06 16:08     ` Jason Opperisano

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=41DC1EAF.1000701@skynet.be \
    --to=xmaillist@skynet.be \
    --cc=allambhasker@yahoo.com \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox