From owner-freebsd-net Sat Jul 14 9:42: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from Awfulhak.org (gw.Awfulhak.org [217.204.245.18]) by hub.freebsd.org (Postfix) with ESMTP id B0E5337B616; Sat, 14 Jul 2001 09:41:56 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.4/8.11.4) with ESMTP id f6EGfVY19286; Sat, 14 Jul 2001 17:41:31 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.4/8.11.4) with ESMTP id f6EGhem72494; Sat, 14 Jul 2001 17:43:40 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200107141643.f6EGhem72494@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Makoto MATSUSHITA Cc: brian@FreeBSD.ORG, net@FreeBSD.ORG, brian@Awfulhak.org Subject: Re: [patch] supports 'protoX' notation for all IP protocol numbers In-Reply-To: Message from Makoto MATSUSHITA of "Sat, 14 Jul 2001 15:42:29 +0900." <20010714154229P.matusita@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 14 Jul 2001 17:43:40 +0100 From: Brian Somers Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hi, I'll look at merging this into my development sources. I've been working on abstracting NCP addresses so that IP6 functionality can be developed on ppp more easily. I'll hopefully have something worth committing in the next few days. Thanks. > I've sent following patch; > > matusita> This patch does teach ppp(8) about 'ipv6' protocol (protocol > matusita> number 41) to filter. This patch also fixes > matusita> not-initializing 'f_dstop' variable for other protocols. > > but some other guys says that "why not you make ppp to specify > protocol number directly, just like 'set filter out 0 permit 41' or whatever?" > It's good suggestion to me, so I've update my patch to support this. > > *** > > This patch allows to users to specify any IP protocol number in their > filter ruleset. For example, if you want to pass incoming L2TP > (protocol number 115) packet, > > set filter in 0 permit proto115 > > where 'proto115' means 'protocol number 115'. Since ppp(8) doesn't > know L2TP or any ppp(8) unsupported protocol, you can only specify > src/dst addresses to a filter rule of these unknown protocols > (specifying 'port' or whatever will not work). > > I hope this patch works as expected (I've tested with my ADSL line and > it seems working) and doesn't hurt any existing features, but if you > have a time, please review this patch. > > -- - > Makoto `MAR' MATSUSHITA [patch deleted] -- Brian http://www.freebsd-services.com/ Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message