From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dai MIKURUBE Subject: Generating pseudo-packets with netfilter Date: Tue, 19 Dec 2006 22:50:23 +0900 Message-ID: <4587EE1F.8050203@acm.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: netfilter-bounces@lists.netfilter.org Errors-To: netfilter-bounces@lists.netfilter.org Content-Type: text/plain; charset="us-ascii"; format="flowed" To: netfilter@lists.netfilter.org Hi, I'm a student at Tokyo Institute of Technology. I'd like to do following operations, and I thought do them with netfilter. But I don't know hot to do this actually. Could you tell me... - Can I do the following operations with netfilter? - If I can, how to do them? My purpose is to make the Linux Kernel believe that a packet has come. (In fact, any packet has not arrived.) I could do this without netfilter but with tunneling device as follows. [Any UserProcess] - [Kernel] - - [Intermediate Process] - "Intermediate Process" usually passes any packet through, and send a packet into "Kernel" via "Tunnel" if necessary. Finally, I'd like to do this without tunneling device as follows. [Any UserProcess] - [Kernel] - ((???)) - [Physical eth0] At first, I thought that netfilter can act as ((???)) with my Kernel Module. But netfilter seems to be not able to generate packets out of nothing... Can I do this with netfilter? # If not, I'd like to know another way to do this... :-( Thanks, -- Dai MIKURUBE dmikurube@acm.org