Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 6 Mar 2002 08:08:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 6 Mar 2002 08:08:24 -0500 Received: from excore.hns.com ([139.85.52.104]:49100 "EHLO excore1.hns.com") by vger.kernel.org with ESMTP id ; Wed, 6 Mar 2002 08:08:20 -0500 To: linux-kernel@vger.kernel.org Subject: Howto munge packets? From: nbecker@fred.net (Neal D. Becker) Date: 06 Mar 2002 08:08:14 -0500 Message-ID: Lines: 9 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org We have a project that requires intercepting certain IP packets, modifying their payload, and sending them on their way. The modification is nontrivial, and so I think it would best be done in user space. Can anyone suggest a general approach for how to intercept packets, send them to user space, and then on to their destination? Should we look at netfilter/netlink? I'd like to avoid any kernel code. TIA. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/