Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jan 1997 13:49:29 -0800 (PST)
From:      Archie Cobbs <archie@whistle.com>
To:        brian@awfulhak.demon.co.uk (Brian Somers)
Cc:        jkh@time.cdrom.com, archie@whistle.com, julian@whistle.com, danny@panda.hilink.com.au, ejs@bfd.com, freebsd-hackers@freebsd.org
Subject:   Re: FreeBSD as an ISDN Router
Message-ID:  <199701162149.NAA26627@bubba.whistle.com>
In-Reply-To: <199701160445.EAA09303@awfulhak.demon.co.uk> from Brian Somers at "Jan 16, 97 04:45:08 am"

next in thread | previous in thread | raw e-mail | index | archive | help

> I'm happy to (and would prefer to) make the alias stuff use divert sockets... 
> but what are they ?  and would people be happy with the alias code at this 
> level ?

They allow you to add ipfw "divert" rules like this:

  1000 ipfw divert 1025 ip from any to 192.168.1.0/24

When a packet matches this divert rule, it pops out of the divert socket
bound to port 1025. You can also write a packet to a divert socket, which
injects it back into the kernel routing process.

There's a man page... divert(4).

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701162149.NAA26627>