Skip to contentSkip to conversation

reinject packets

DISCUSSION 赵磊 2 participants 2 messages Nov 23, 2008 netfilter

lore
Share & tools
lore

赵磊

author
#0 lore raw

Hi,

I register an NF_IP_PRE_ROUTING hook that check all the incoming packets and return NF_STOLEN on particular TCP packets. I’m trying to reinject them into the TCP/IP stack later. Any advice about how this can be achieved in a module? Does netfilter provide such a functionality?

Thanks a lot.

Received: from [162.105.75.167] by water.pku.edu.cn (mshttpd); Fri, 21
Nov 2008 10:17:06 +0800
From: =?gb2312?B?1dTA2g==?= <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
Date: Fri, 21 Nov 2008 10:17:06 +0800
X-Mailer: iPlanet Messenger Express 5.2 Patch 2 (built Jul 14 2004)
MIME-Version: 1.0
Content-Language: zh-CN
Subject: NF_STOLEN
X-Accept-Language: zh-CN
Priority: normal
Content-Type: text/plain; charset=gb2312
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi=2C

I register a NF=5FIP=5FPRE=5FROUTING hook that check the incoming packets= =2E I=A1=AFm
trying to return NF=5FSTOLEN on particular TCP packets and later pass the= m
to the TCP module of the kernel=2E Any advice about how this can be achie= ved=3F =

Thanks a lot=2E

#1 lore raw
Quoted 9 lines · 赵磊

Hi,

I register an NF_IP_PRE_ROUTING hook that check all the incoming packets and return NF_STOLEN on particular TCP packets. I’m trying to reinject them into the TCP/IP stack later. Any advice about how this can be achieved in a module? Does netfilter provide such a functionality?

Thanks a lot.

Please read what was previously said!

http://marc.info/?l=netfilter-devel&m=122725635317452&w=2
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html