All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chee Yong TAN <chee_yong_tan@hotmail.com>
To: Henrik Nordstrom <hno@marasystems.com>
Cc: netfilter-devel@lists.netfilter.org
Subject: Re: Sending back out A TCP Packet from netfilter
Date: Tue, 24 Feb 2004 15:00:19 +0800	[thread overview]
Message-ID: <403AF683.2060905@hotmail.com> (raw)
In-Reply-To: <403AB462.6080404@hotmail.com>

Additional information regarding unable to sending back out thru lo interface

my module hooks on 2 netfilter hooks NF_IP_LOCAL_IN and NF_IP_POST_ROUTING

I did see the reply packet going out via the POST_ROUTING hook and coming back 
via the LOCAL_IN hook

Note: There is extensive logging in my module looking at the network headers.
The header information do not seems to have any problem.

POST_ROUTING - orginal packet
LOCAL_IN - orginal packet
POST_ROUTING - reply packet
LOCAL_IN - reply packet

both tcpdump and my application failed to receive the changed packet.

i even tried flushing off my iptables to get rid of all the rules and set back 
the policy to ACCEPT for all chains

The application running from another subnetwork connecting to my machine works 
perfectly fine (with iptables firewalling rules turned on)...

      reply	other threads:[~2004-02-24  7:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-23  3:56 Sending back out A TCP Packet from netfilter Chee Yong TAN
2004-02-23  7:33 ` Henrik Nordstrom
2004-02-23 12:14   ` Chee Yong TAN
2004-02-23 14:19     ` Henrik Nordstrom
2004-02-24  2:18       ` Chee Yong TAN
2004-02-24  7:00         ` Chee Yong TAN [this message]

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=403AF683.2060905@hotmail.com \
    --to=chee_yong_tan@hotmail.com \
    --cc=hno@marasystems.com \
    --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.