From owner-freebsd-questions Thu Jun 27 11:24:39 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc51.attbi.com (rwcrmhc51.attbi.com [204.127.198.38]) by hub.freebsd.org (Postfix) with ESMTP id D921137B43F; Thu, 27 Jun 2002 11:20:37 -0700 (PDT) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc51.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020627182037.MEHJ9178.rwcrmhc51.attbi.com@InterJet.elischer.org>; Thu, 27 Jun 2002 18:20:37 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id LAA69866; Thu, 27 Jun 2002 11:11:03 -0700 (PDT) Date: Thu, 27 Jun 2002 11:11:02 -0700 (PDT) From: Julian Elischer To: Matt Impett Cc: "'Randall Stewart'" , Lars Eggert , "'freebsd-net@freebsd.org'" , "'freebsd-questions@freebsd.org'" Subject: RE: source address based routing In-Reply-To: <8C92E23A3E87FB479988285F9E22BE46FDE788@ftmail.lab.flarion.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 27 Jun 2002, Matt Impett wrote: > It would be nice if I could create two ng_ksockets, one bound to a divert > port, and the other bound to inet/raw/ip, so that packets diverted to the > divert port would get passed to the inet/raw/ip hook and go out the IP > stack. Is this possible??? netgraph ksockets can do anything a userland socket can do.... I would even use a custom filtering node to do the tunnel selection. netgraph nodes are very easy to write.. > > thanks, > matt > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message