All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Poole <davep@portsmith.com>
To: netfilter-devel@lists.netfilter.org
Subject: Re: Raw Sockets and Netfiter
Date: 26 Mar 2003 09:13:13 -0700	[thread overview]
Message-ID: <1048695193.22597.11.camel@athlon> (raw)
In-Reply-To: <20030326153256.GA21953@sunbeam.de.gnumonks.org>

> PF_PACKET sockets bypass the TCP/IP stack.

Ah.  That makes sense when I finally think about it.

I'm trying to move the DHCP (client currently but eventually server as
well) away from using PF_PACKET to something influenced by iptables
filters.  

Current attempts are using -j QUEUE to receive the packets.  I need to
be able to re-inject a packet to a different destination (from the input
table back out to the output table) back into netfilter.  

I could probably receive through netfilter and send through SOCK_RAW? At
leat that might prevent the flooding problems I'm having.


-- 
David Poole <davep@portsmith.com>
Portsmith   http://www.portsmith.com
960 Broadway Avenue, Suite 300
Boise, ID  83706
208-395-1300 x241

  reply	other threads:[~2003-03-26 16:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-25  7:06 Raw Sockets and Netfiter Ethan Dameron
2003-03-25  7:25 ` Patrick Schaaf
2003-03-25  8:05   ` Patrick McHardy
2003-03-25  8:12     ` Patrick Schaaf
2003-03-25  9:11       ` Patrick McHardy
2003-03-26 15:32   ` Harald Welte
2003-03-26 16:13     ` David Poole [this message]
2003-03-25 14:30 ` David Poole
  -- strict thread matches above, loose matches on Subject: below --
2014-01-16 16:12 Albert López
2014-01-16 16:53 ` Phil Oester

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=1048695193.22597.11.camel@athlon \
    --to=davep@portsmith.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.