Hello,
 I had looked at the diagrams and read the explanations
about netfilter in Netfilter Architecture page:
http://netfilter.org/documentation/HOWTO/netfilter-hacking-HOWTO-3.html

I want to make sure wheter I undestood something regarding
packets which are created locally (as opposed
to packets that are received on the network interface).

My question is: Do I understand the follwing 2 sceanrios right?
For local packets which are sent out of the machine
it seems to me to be the case. (Am I right?):
Such packets , that are created locally on
the machine, first reach the NF_IP_LOCAL_OUT [5] hook.
Than they go to the routing stage, and than they go to
NF_IP_POST_ROUTING [4]. And then they go out ?
Such packets, which are created locally,  don't pass at all
at the [1] stage, NF_IP_PRE_ROUTING [1] , and not
in NF_IP_LOCAL_IN [2] stage and not in NF_IP_FORWARD [3] .

Is it true?


Suppose I create locally packets which are destined to
myself (like ping myself). I assume that they will go first to the
NF_IP_LOCAL_OUT [5] , than to the routing stage, but will they go
to the NF_IP_POST_ROUTING [4].?

And again,such packets, which are created locally,  don't pass at all
at the [1] stage, NF_IP_PRE_ROUTING [1] , and not
in NF_IP_LOCAL_IN [2] stage and not in NF_IP_FORWARD [3] .

Is it true?

IB
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to