From owner-freebsd-hackers Wed Jan 15 23:23:34 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA07257 for hackers-outgoing; Wed, 15 Jan 1997 23:23:34 -0800 (PST) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id XAA07251 for ; Wed, 15 Jan 1997 23:23:31 -0800 (PST) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.8.4/8.8.4) with SMTP id XAA05537; Wed, 15 Jan 1997 23:19:06 -0800 (PST) Message-ID: <32DDD619.2781E494@whistle.com> Date: Wed, 15 Jan 1997 23:17:45 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0Gold (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: Brian Somers CC: "Daniel O'Callaghan" , Archie Cobbs , freebsd-hackers@FreeBSD.ORG Subject: Re: FreeBSD as an ISDN Router References: <199701160031.AAA15181@awfulhak.demon.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Brian Somers wrote: > > [.....] > > And some might want to run alias stuff over ethernet or other, and not > > want ppp at all. > > I agree completely - but the last time this was discussed (AFAIK) people > didn't really want to dirty the tcp stack. that's why divert(4) sockets exist.. they pass things OUT of the kernel for processing.. > > > > I think the best way to do this sort of thing would be to take advantage of > something like a firewall'ing hook, and writing an alias lkm that massaged the > packets at that level. That way, unless you "modload lkm_alias.o" and then > condition a few interfaces, the tcp stack will be pure. look at divert sockets and the 'divert' keywork in ipfw.. that's EXACTLY how it works..