Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 2002 13:53:17 -0700 (PDT)
From:      Archie Cobbs <archie@dellroad.org>
To:        Bill Fenner <fenner@research.att.com>
Cc:        julian@elischer.org, arch@FreeBSD.ORG
Subject:   Re: Renumbering IPPROTO_DIVERT
Message-ID:  <200210262053.g9QKrHMd036105@arch20m.dellroad.org>
In-Reply-To: <200210260047.RAA01665@windsor.research.att.com> "from Bill Fenner at Oct 25, 2002 05:47:44 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
Bill Fenner writes:
> >I think though that there should be a "compat" shim that
> >does the right thing but is VERY NOISY.
> 
> What's the right thing?

How about just always returning an error?

Sure, this will prevent non-divert applications that want to speak
IP protocol #254 from working, but I don't think any really exist.
If they do, they didn't work on many FreeBSD kernels (the ones with
IPDIVERT) anyway.

By the way, thanks for doing this. The original divert patch was
written to be optimized for the shortest possible patchfile rather
than the most elegant implementation, hence some of the dumb stuff
like stealing an IP protocol number. It's my fault for not cleaning
it up first before it got committed.

-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




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