From owner-freebsd-current@FreeBSD.ORG Mon Jun 12 22:51:51 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2046C16A41A; Mon, 12 Jun 2006 22:51:51 +0000 (UTC) (envelope-from vadimnuclight@tpu.ru) Received: from relay1.tpu.ru (relay1.tpu.ru [213.183.112.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7022D43D4C; Mon, 12 Jun 2006 22:51:41 +0000 (GMT) (envelope-from vadimnuclight@tpu.ru) Received: by relay1.tpu.ru (Postfix, from userid 501) id 087BA10D3AF; Tue, 13 Jun 2006 05:51:39 +0700 (NOVST) Received: from mail.main.tpu.ru (mail.main.tpu.ru [10.0.0.3]) by relay1.tpu.ru (Postfix) with ESMTP id 128E010D3AC; Tue, 13 Jun 2006 05:51:38 +0700 (NOVST) Received: from mail.tpu.ru ([213.183.112.105]) by mail.main.tpu.ru with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Jun 2006 03:32:00 +0700 Received: from nuclight.avtf.net ([82.117.64.107]) by mail.tpu.ru over TLS secured channel with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Jun 2006 03:32:00 +0700 Date: Tue, 13 Jun 2006 03:29:12 +0700 From: "Vadim Goncharov" To: "Ulrich Spoerlein" References: <70e8236f0606110836j38f7ca33wa3058eaecf386fb5@mail.gmail.com> <20060612185751.GB1226@roadrunner.aventurien.local> Organization: AVTF TPU Hostel Message-ID: In-Reply-To: <20060612185751.GB1226@roadrunner.aventurien.local> User-Agent: Opera M2/7.54 (Win32, build 3865) Content-Type: text/plain; format=flowed; delsp=yes; charset=koi8-r MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 12 Jun 2006 20:32:00.0430 (UTC) FILETIME=[41D73CE0:01C68E5F] X-Mailman-Approved-At: Mon, 12 Jun 2006 23:34:05 +0000 Cc: freebsd-isp@freebsd.org, freebsd-net@freebsd.org, freebsd-current@freebsd.org Subject: Re: [PATCH] ng_tag - new netgraph node, please test (L7 filtering possibility) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jun 2006 22:51:51 -0000 13.06.06 @ 01:57 Ulrich Spoerlein wrote: > Vadim Goncharov wrote: >> I hope that my explanation was helpful enough to understand :) Also, if >> you will be using >> 7.0, include BPF_JITTER in your kernel config as this will enable >> native code-compiling for >> bpf and ng_bpf - this will speed things up. > > Am I the only one, that thinks BPF_JITTER is a stupid name? It suggest > you add or enable jitter for the packet flow. No one wants jitter! It > sucks. Why isn't it called simply BPF_JIT? Everyone knows what JIT > stands for, JITTER on the other hand is to be avoided. I also think so, but that is not in my competence. But I, after two days of discussion, I must say another thing: WHERE ARE TESTERS ?! You all are wanting this node to be included into FreeBSD src tree, so that it will be available in standard distribution. But before this code should be tested and bugs fixed, if any. And I don't yet see any success stories / bug reports ! >> P.S. Here is quick-and-dirty primer how to convert ipp2p functions to >> ng_bpf(4) input expression for tcpdump(1). [...] >> "get_u32 == __constant_htonl()" means comparing 4-byte values at given >> offset. > > Great stuff, this should make it somewhere into /usr/share/examples! Good idea, but still to be worked for more P2P types examples, and BPF assembly language explanation, as I suspect some things can't be done but tcpdump expressions, though still possible on ng_bpf. Unfortunatelly I do not have much time for this. -- WBR, Vadim Goncharov